/
Flow-wide Transitions

Flow-wide Transitions

onReceive

You can define an onReceive instruction that will always be executed before every node's onReceive.

To define new Flow-wide On Receive actions:

    1. Navigate to the relevant flow.
    2. Double-click anywhere to show the Flow Properties.

      You can also click the links at the top left corner of the flow editor.


    3. Under the On Receive section, click the Add Action button to add a new action.


onNext

A Flow-wide onNext instruction allows you to override node transitions when the condition is successful.

Examples

  • Authentication Gate: Re-route the user to the login flow if they are not authenticated.
  • Sentiment Analysis: Re-route the user to the human fallback node if the conversation is degrading
  • Matching flow-wide intents such as "cancel" etc.








Related content

Flow Lifecyle
Flow Lifecyle
More like this
Content - Carousel
Content - Carousel
More like this
Content - Carousel
Content - Carousel
More like this
API Call
More like this
Actions
More like this
Entities
More like this