Configuring Actions
Create, customize, enable, disable, and delete actions on an agent, and choose which channels each action runs on.
In your agent, go to Build > Actions.
Create an action
Open the action list
Select Create action. Use Search actions to find one quickly.
Add it
Select Create next to the action you want. Actions you’ve already added show Added.
Configure it
Open the action to set it up. Available settings depend on the action type.
You may also see:
- Connect Slack: the action needs an integration first. See Connecting Slack.
- Plan limit reached: this agent has used its shared Actions & Widgets per agent allowance. Disable a capability or upgrade before enabling another action. Widgets with their own When to show condition also use this allowance. See Plans and Pricing and how widgets use slots.
- Unavailable: the action isn’t available for your team.
Most actions can be added once per agent. Custom API can be added several times, once for each task. Each Custom API action calls an API through an API connection. It can also show an enabled widget after a successful JSON response. A new Custom API action starts disabled. When a slot is available, it turns on after you complete its required settings and save it. At capacity, you can still create and configure the action, but it stays disabled. Free a slot, then switch it on.
Edit an action
Select Customize on an action to open it. You can:
- Enabled: switch the action on or off without losing its settings.
- When to use: describe when the agent should use the action. For MCP Server, this optional text guides when the agent should use the server’s tools. See Trigger Conditions.
- Channels: choose where the action is available: Web widget, Public Chat, WhatsApp, and API (Custom API, MCP Server, Web Search, Slack Notification, and Collect Leads with smart lead collection). Not every action supports every channel; see Where actions run.
- Run again: whether the action can run more than once in the same conversation. See Run again.
- Restore default settings: go back to the action’s original settings (available on Collect Leads and Slack Notification).
Run again
Custom API, MCP Server, Slack Notification, and Collect Leads (in lead form mode) let you choose whether an action can run more than once in a conversation:
| Option | What it does | Good for |
|---|---|---|
| Every time | Can run whenever needed in the conversation. Default for Custom API and MCP Server. | Lookups, such as checking a second order. |
| Until it succeeds | Runs again only if the last run failed. Default for Slack Notification and the Collect Leads form. | One-time notifications, or creating something once with a retry if it failed. |
| Once | Runs at most once per conversation, even if it failed. | Strict one-time notifications or offers. |
- For MCP Server, Run again is set on the action and tracked separately for each tool.
- For Slack Notification, new actions default to Until it succeeds (one send per conversation, retrying only if the last send failed).
- For Collect Leads with the lead form (Smart lead collection off), the choices are Until it succeeds (default), where a dismissed form can show again if the visitor newly asks for follow-up, and Once, where a dismissed form stays dismissed. A submitted form never shows again. With Smart lead collection on, Run again isn’t shown because later details in the conversation update the same lead.
- Escalate to Human, Web Search, Salesforce: Add Lead, and Salesforce: Create Ticket have their own rules and don’t show Run again (Salesforce: Create Ticket creates at most one ticket per conversation).
- Attempts that don’t run because required inputs are missing don’t count as a run.
The Playground’s action steps show Already ran when this setting kept an action from running.
Delete an action
Open the action, select Delete action, and confirm. You can also use the menu on the action in the list. Deleting can’t be undone.