Trigger block
The trigger block allows the chatbot to start a proactive chat with specific customers, depending on certain criteria. The criteria is determined via API integration with external websites, apps, databases, CRMs, etc.
To add a trigger block to a dialogue flow, click the green human button and select Trigger.

API code
Under the API tab, enter the API code that will enable the trigger and then click SAVE.
The API code will be used as the trigger_name
in the trigger message API and the triggerCode
in the Proto.sendTrigger('triggerCode')
script to allow the chatbot to target specific customers.

Human tags
The human message block can be set to only accept intents from customers that meet a specific criteria. For example, the criteria could be customers that bought your product in the last 24 hours.
To enable this functionality, you must first create the human profile for each user and create tags on their profile.
Once the tags are created, you can select the desired tag under the HUMANS tab in the human message block and set the value of the tags.

Updated 11 days ago