Engati - User Guide
...
Nodes
Process and Flow Nodes

Decision Node

4min

The Decision webpage allows users to create evaluation expressions using AND/OR. It also provides options to choose nodes to trigger based on expression result value. This can be useful for a variety of purposes, such as creating custom workflows, automating tasks, and making decisions based on data.

The Decision webpage can be used for a variety of purposes, such as:

  • Creating custom workflows: The Decision webpage can be used to create custom workflows that automate tasks and processes. For example, a user could create a workflow that automatically sends an email to a customer when their order is shipped.
  • Automating tasks: The Decision webpage can be used to automate tasks that are currently being done manually. For example, a user could create a task that automatically updates a customer’s contact information when they change their address.
  • Making decisions based on data: The Decision webpage can be used to make decisions based on data. For example, a user could create a decision that automatically approves a loan application if the applicant meets certain criteria.

How to Use?

Adding a decision is simple, just follow the steps below:

Step 1: In the builder, click "+Add Node".

Document image


Step 2: Select the Decision node under Process and Flow.

Step 3: Set up conditional logic to direct the flow.

Document image

  • Condition : This field allows users to create an evaluation expression. You can create multiple conditions, and for each condition, the fields to be filled are:
    • Attribute: This field allows users to select the attribute that they want to use to create the evaluation expression.
    • comparison operators: This field lets you apply different rules based on specific conditions, helping customize actions as needed.
    • Value: This field allows users to enter the value that they want to use to create the evaluation expression.
  • Add New Condition: This button allows users to add a new condition to the evaluation expression.
  • Evaluation Expression: This field displays the evaluation expression that has been created.
  • Node to Trigger On: This field allows users to trigger a node againt each field, the fields to be filled are:
    • True: This field allows users to connect to another node if the decision results as true.
    • False: This field allows users to connect to another node if the decision results as false.

Step 4: Click "Save" when done.

Evaluation Expression

In this field, you need to input the logical operation expression, allowing for operations like AND and OR. For a single attribute condition, input "A1" as the evaluation expression.

For example, if evaluating multiple conditions together, use expressions like "A1 AND A2," "A1 OR A2," and so forth.

Document image


The Decision node will evaluate the conditions and direct the user down the path that matches. This enables dynamic conversations that adapt based on user responses.

Decision nodes are great for personalization, segmentation, verification, and more!

If you face any issues or queries please reach out to us at [email protected].

Updated 08 Apr 2024
Doc contributor
Did this page help you?