Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Triggers are buttons that show up when they’re triggered by their flags; they have text and, when clicked, open a new link.

There are two types of triggers:

  1. 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.

  2. Page: Check if the flag exists in the URL. Eg: ”https://www.await.ai/home” and “home” is a flag, then this triggers it.

Instructions (Input Triggers):

 Click to expand
  1. Go to the agent's tab and click on an agent you have created

    image-20240424-185813.png
  2. Once inside your agent panel click triggers

    image-20240702-022857.png

    3. Click Create

    Screenshot 2024-06-21 at 7.15.46 PM.png
  3. 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

    Screenshot 2024-06-21 at 10.52.13 PM.png
  4. Click “Save”

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

    Screenshot 2024-06-21 at 10.58.13 PM.pngScreenshot 2024-06-21 at 10.59.30 PM.png
  6. When clicked, it opens the link from the link field, Google, in this case

    Screenshot 2024-06-21 at 11.00.36 PM.png

Instructions (Page Triggers):

 Clcik to expand
  1. Go to the agent's tab and click on an agent you have created

    image-20240424-185813.png
  2. Once inside your agent panel click triggers

    image-20240702-022857.png
  3. 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

    Screenshot 2024-06-21 at 11.02.48 PM.png
  4. Click “Save”

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

    Screenshot 2024-06-21 at 11.05.55 PM.png
  6. When the button is clicked, the link from the link field is opened

    Screenshot 2024-06-21 at 11.18.10 PM.png
  • No labels