Condition Component
The Condition Component allows you to set your AI concierge to behave differently in different scenarios in the course of the same flow. For example, you may want your customers to see one message when they ask about discounts throughout the year, but see a totally different one when they do it during the Holidays.
There are many conditions you can choose to differentiate between scenarios:
- Different dates;
- Customer country of origin;
- New customer vs. returning customer;
- Product already viewed by customer vs. no product has been viewed yet by customer.
And many more...
All of the possible cases are pre-defined in the system. Click on your Condition Component, then on Add case on the left. and on the "When" bar to see them:
Addressing the different scenarios
After choosing your cases, you can configure your AI concierge's behavior when they occur. There are two possible ways to do that:
1. Using the "Continue to flow" option - click on the Condition Component, then click on the "Continue to flow" bar you see on the left:
A list of all your existing Flows and Components will open up. You can select the one you'd like to show in the specific case.
2. Linking newly created Components to it - in addition to the previous way, you can create a new Component inside the Flow you're editing, then connect them to each other.
This can be done by hovering over the small green dot you see on your Condition Component, clicking on it, and stretching a line between it and the Component you want to connect to it:
Note: make sure there's always a Flow/Component connected to the None of the cases match/Default option (It can create an error if it is not connected so make sure to connect it to a component):
What you connect to it will be invoked if a specific scenario does not match your chosen cases.
Click on the links below to continue reading about the different Components: