Reference Intents in the Dialog Flow
You can reference intents directly from the dialog flow.
For dialog flows designed in Visual mode you define intent events in the Main Flow. see Map an Intent to a Flow.
For dialogs designed in YAML mode, you configure intents as action transitions for
the
System.Intent
component to navigate to appropriate state for the resolved
intent. For example, here's what the System.Intent
might like if you had
intents called OrderPizza and
CancelPizza: intent:
component: "System.Intent"
properties:
variable: "iResult"
transitions:
actions:
OrderPizza: "startOrder"
CancelPizza: "cancelorder"
unresolvedIntent: "unresolved"