Actions
Give AI assistants a scripted chat flow.
In the AI Assistants dashboard, the Actions tab is used to customise an assistant's scripted chat flow with triggers and actions. These triggers and actions can exist at the top level of the chat, or any nested level below other triggers and actions—visualised by a tree of clickthroughs or accordions.
Triggers
Triggers are defined by a system event or the person's intent. For example, if someone says, "let me talk to a human" in any abstract way, a trigger can recognize this and initiate a human handoff.
Chat Started
A permanent, top-level trigger that can initiate actions at the beginning of a new chat.
Chat Closed by Live Rep
Message Received
A person's message contains content (conversational intent) that approximately matches any of the defined training phrases, and does not match any excluded phrase.
Attachment Received
A person has sent an attachment, further distinguishable between images, videos, audio, or other files.
Fallback
If no other trigger is used in the current level (e.g. there's no match for the conversation intent), the Fallback trigger will be automatically fired.
Actions
Every action is initiated by a trigger and can be as simple as sending a stock reply, or provide real utility with things like takeovers and API messages.
Replies with one of the defined static messages.
Replies with a file attachment or link.
Replies with a carousel of interactive cards—for the Messenger, LINE, and Webchat channels only.
Replies with a survey or questions to collect feedback.
A permanent action in the 'Chat Closed by Live Rep' trigger, used to gather analytics on the person's experience.
Creates and sends the first email in a new ticket.
Transfers the chat to a user in Proto AICX, where the Inbox dashboard serves as a native helpdesk.
Transfers the chat to Zendesk or Bitrix24 if integrated.
Jumps to another spot in the chat flow.
Conditionally branches the chat flow.
Creates or modifies a chat variable.
Issues a custom API request with JSON key/value pairs in the header.
Configuration
Adding
To add a trigger at the top level, select Add Trigger above the table.
To add a trigger or action in a nested level, select Add Trigger or Add Action within the tree. Certain triggers and actions may only be available for some parents, depending on compatibility.
Settings
Select any trigger or action by its row in the tree to open its settings panel.
See individual trigger and action articles for details on their respective settings.
Localisation
Triggers used to assess a person's messages, and actions used to reply with text or attachments, can be localised to each of the AI assistant's languages—as defined in its General settings.
To switch languages while editing triggers and actions:
From the Actions tab, select a trigger by its row.
In the opened page of the trigger's nested levels, use the language dropdown on the top right.
Enabling/Disabling
Every trigger and action (except the mandatory Chat Started and Chat Closed by Live Rep triggers) can be enabled/disabled with the Enabled switch in its row.
Disabling will remove the trigger/action from the scripted flow.
Deleting
Last updated