Automation Designer: Split Flow Component

The Split Flow component defines the possible ramifications that a conversation may follow.

Adding a Split Flow Component

Screenshot 2024-04-10 at 16.23.33.png

1. Select an Autopilot model from the list [1], then choose Automation Designer [2].

VA_Split_Flow.png

2. You will be taken to the Automation Designer tab inside the Builder app, where the flow configuration will take place. 

3. Under “General”, select the Split Flow component [3] and then drag it to a canvas on your right side [4].

4. Double-click the component. Then, the component settings panel [5] will appear.

5. Provide the required details of the component.

    • “Component name” [6]: The name of the Split Flow component. The name can only contain letters, numbers (except as a first character), and underscores, and can be as long as 30 characters.
    • “If variable” [7]: Enter a variable for validations so that the flow can be split into different branches. It must be a variable defined in an Ask or Execute Action component. Spaces are not allowed. Under the “If variable” field, you can define a list of ramifications (that is, validations or exits) with each containing its name (for example, > and =), type (Number or String), and a variable value for validation comparison. If the type is “Number”, you must enter a valid number. If the type is “String”, make sure the string value matches the value set in the Ask or Execute Action component. To compare the intent captured in the Ask component, the type should be “String” and the value should exactly match the intent name.

6. Click Fallback exit [8] to add an exit option. You must define at least one exit option. Besides, you can define a default path when none of the conditions defined is matched. On the Split Flow component node, you can see that the Default exit is displayed with other exit options.

7. Click Save [9].

8. After the component is created, you can connect it with another component. For each validation defined, there must be an outgoing arrow connecting it to at least one component node. Keep in mind that if the component is not directly or indirectly connected to a Flow Trigger component, it will be ignored when the flow runs.

Note: A red exclamation mark will appear on the component node if any required field is invalid. Hover over it to see further details.

 

Deleting a Split Flow Component

image3.png

On your canvas, click the Split Flow component you want to delete, and then press the backspace key (Windows) or the delete key (Mac) on your keyboard. Alternatively, you can double-click the component and select Delete in the side panel that appears.

All Articles ""
Please sign in to submit a request.