Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Feature: Triggers

Info

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

...

  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 (Page Triggers):

Expand
titleClcik 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. 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