Step 4. - Managing Flow Scenarios

Let´s create a simple Flow scenario!

In this tutorial, we'll create a straightforward answer node equipped with two intents, presented as selectable options via buttons:

  • YES: Represents a positive response; the customer seeks additional information or has another query.

  • NO: Indicates the call will conclude immediately.

While using keywords is helpful, leveraging generative AI based on meaning can often yield better outcomes and simplify processes.

Step-by-step guide:
  1. Create a simple 'Answer' node following the 'Help' message node.

  2. Generate a "YES" intent using generative AI and assign it as the primary chat button.

  3. Develop a "NO" intent using keywords (for demonstration purposes only; you can utilize Generative AI instead).

  4. Designate the "NO" intent as the secondary chat button.

The sequence of intents, variables, and entities within nodes is critical. Visualize this as an SQL case function where the system progresses through ordered parameters until no matches are met. This functions as a fallback action or, in SQL terms, an "else" statement.

Determine the priority flow by assigning primary colors to intents for primary objectives and secondary colors for alternate objectives.

Last updated