Actions overview
Learn what actions are, how to add one to an agent, and how the agent decides when to use it, with links to every action type you can turn on.
Working draft. These docs are illustrative: names, endpoints and examples describe the intended behaviour and can change before launch.
Actions are the things an agent can do beyond answering from its sources: ask for details, look up an order, book a meeting, post to Slack or hand the conversation to a person. Open the Actions tab inside an agent to see which ones are on.
How an action works
Each action has a name, a short description and its own settings. The description matters most. The agent reads it to decide when the action fits, so write it as a rule: "Use this when the customer asks where their order is and has given an order number."
Actions work together with procedures. A procedure says what to do ("If the order shipped, show tracking"), and an action is the tool the procedure calls on.
Add an action
- Open the agent and select Actions.
- Select Add action and choose a type.
- Fill in the name, the description and the settings for that type.
- Turn the action on and select Save.
- Open Test > Playground and ask something that should trigger it.
You should see the action appear in the Playground trace with the values it used.
Action types
| Group | Actions |
|---|---|
| Gather information | Collect data, Collect leads, Suggested messages |
| Do something in the chat | Custom button, Web search |
| Hand over to people | Escalate to human, Live chat handoff, Transfer to phone |
| Connected systems | Custom action, Shopify, Stripe, Salesforce, Slack, WhatsApp catalog |
| Scheduling | Book a meeting with Cal or Calendly |
Pages in this section
- Collect data: ask for structured details.
- Collect leads: capture contact details from interested visitors.
- Custom action: call your own API with an HTTP request.
- Custom button: show a button that opens a link.
- Escalate to human: send a conversation to the Helpdesk.
- Live chat: let a team member continue in the same chat.
- Suggested messages: offer quick replies.
- Web search: let the agent look things up online.
- Shopify actions: orders and products.
- Stripe action: customers, subscriptions and invoices.
- Salesforce actions: leads, contacts and cases.
- Slack: post a message to your team.
Cal, Calendly, Freshchat live chat, Transfer to phone and WhatsApp catalog each have a page in the sidebar of this section.
Tip: Turn on only the actions an agent needs. A short list of well described actions is easier for the agent to choose from than a long one.