A transition route specifies a intent that can be matched and/or a data condition that can be evaluated during a session. When a specified transition is matched, the following actions are taken in order:
- If there is a
associated with the transition, it will be called.triggerFulfillment - If there is a
associated with the transition, the session will transition into the specified page.targetPage - If there is a
associated with the transition, the session will transition into the specified flow.targetFlow
| JSON representation |
|---|
{ "name": string, "description": string, "intent": string, "condition": string, "triggerFulfillment": { object ( |
| Fields | |
|---|---|
name |
Output only. The unique identifier of this transition route. |
description |
Optional. The description of the transition route. The maximum length is 500 characters. |
intent |
The unique identifier of an |
condition |
The condition to evaluate against See the conditions reference. At least one of |
triggerFulfillment |
The fulfillment to call when the condition is satisfied. At least one of |
Union field target. The target to transition to, either a page in the same host flow (the flow that owns this TransitionRoute), or another flow in the same agent. target can be only one of the following: |
|
targetPage |
The target page to transition to. Format: |
targetFlow |
The target flow to transition to. Format: |