Skip to end of metadata
Go to start of metadata
You are viewing an old version of this content. View the current version.
Compare with Current
View Version History
« Previous
Version 2
Next »
Feature: Triggers
There are two types of triggers:
Input: Check if the flag exists in the end user’s message. For example, if the user sends “Hi, How can I schedule a call?” and “Call” is a flag, then this triggers it.
Page: Check if the flag exists in the URL. Eg: ”https://www.await.ai/home” and “home” is a flag, then this triggers it.
Click to expand
Go to the agent's tab and click on an agent you have created

Once inside your agent panel click triggers

3. Click Create

For input triggers, Flags are the keywords that when found in the user input (message), a button will show up; the button will have the text from the Text field, and then when clicked, it’ll open the link from the Link field

Click “Save”
When the user sends an input that includes the flag, “Schedule” in this case, a button that says “Schedule a call” appears.


When clicked, it opens the link from the link field, Google, in this case

Instructions (Page Triggers):
Clcik to expand
Go to the agent's tab and click on an agent you have created

Once inside your agent panel click triggers

For the Page type of triggers, Fill in the fields, Flags are the keywords that when found in the page URL a button will show up, the button will have the text from the Text field, and when clicked, it’ll open the link from the Link field

Click “Save”
Since the URL “https://preview-html5.playcode.io/” Contains the word “playcode” the button shows up at the top

When the button is clicked, the link from the link field is opened
