Decisions & Conditions
What is a decision/condition?
A decision is an activity that splits a flow into two or more paths. Each path has a condition attached to it, which is a rule that checks the data in the flow, such as the customer's intent, an order status, or whether a value exists. When the flow reaches a decision, it follows the path whose condition is met.
How to create a decision
- Go to Flows.
- Open the flow you want to update.
- Click Edit.
- Click the + button where you want to add the decision.
- Select Decision from the list of activities.
- Give the decision a clear name so it is easy to understand what the decision is checking.
- Add the conditions that should decide which branch the customer follows.
- Click Save in the flow editor to save your changes.
How to add a condition to a decision
- Click the Edit button.
- Click on the + button below the decision you want to update.
- Choose the value you want the condition to check.
- Choose the operator for the condition, such as whether the value equals, contains, or does not equal another value.
- Enter the value the condition should match.
- Repeat these steps if the decision needs more than one condition.
- Click Save in the flow editor to save your changes.
How to delete a condition from a decision
- Click the Edit button.
- Click on the condition you want to remove.
- Click the delete icon next to that condition.
- Check that the remaining conditions still route customers correctly.
- Click Save in the flow editor to save your changes.
How to delete a decision
- Click the Edit button.
- Click on the decision you want to delete.
- Click the delete icon for the decision.
- Confirm that you want to delete the decision when prompted.
- Check the surrounding flow steps to make sure the flow still connects correctly.
- Click Save in the flow editor to save your changes.
Updated 43 minutes ago
Did this page help you?
