Other
Last updated
Last updated
Use this block to create rules or action rule sets for the AI BOT
For example
Consider the scenario of giving preferential gifts when customers purchase a specific quantity. If the number of customers purchasing more than 3 will be given a voucher worth 1 million VND
Object | Response | Intent/Condition |
USER | So I will order 4 dishwashers | - intent: "agree_to_buy" - quantity = 4 |
AI BOT | You have reached the spending amount to receive a gift from EM&AI which is a purchase voucher worth $ 40. Gift voucher will be delivered with the product. | Response condition: quantity >3 |
According to the above scenario, the setting script will be as follows:
How to set up
(1) Drag and drop the Condition block into the Canvas & select the “Condition name” box to display the configuration interface [1]
(2) Enter the condition name [2]
(3) Choose to create Rules/Rule Sets depending on the scenario [3]
(4) Set conditions for rules [4]
And: All rules must be met
Or: Meets one of the rules
(5) Rule setting [5]
(6) Select Save to complete [6]
(7) Create connections with corresponding conditions/intents/action blocks
Use this block to create the end of a conversation flow.
How to set up
(1) Drag and drop the End conversation block onto the Canvas [1]
(2) Create a connection with the AI BOT intent/response block as the conversation endpoint [2]