Skip to content
dimmiDocs

dimmi agent

Connect actions to your systems

Let the dimmi agent read data and make changes in your API or MCP server, with customer confirmation and team approval.

An action lets the dimmi agent call your API or MCP server during a conversation. Instead of telling a customer to check another page, the agent can look up an order or cancel a subscription on the spot.

Admins create actions in Settings → Actions. For the exact headers and payloads your server receives, see Let the dimmi agent call your API.

A connection holds the base URL and secret shared by a group of actions. dimmi encrypts the secret, and the AI model never sees it.

  • REST API: give dimmi an HTTPS base URL, then define each action’s method, path, query, and body.
  • MCP server: connect a remote server over Streamable HTTP. Click Sync tools to import each tool as a draft action.

For safety, synced MCP tools start as actions that change data and ask the customer to confirm first, no matter how the server labels them.

Actions that only read data behave differently from actions that make changes.

Only reads data Changes data
When it runs Right away. Only after the approvals you pick.
Channels Messenger, Email, API. Messenger only.
Retries Retries once after a 502, 503, or 504. Never retries.

For an action that changes data, use Before it runs and Approval to decide who must say yes:

  • Customer confirms first: the customer sees a card with Confirm and Cancel. The card expires after 15 minutes.
  • A teammate approves: an approval request appears in the inbox thread, and any teammate can approve or decline it.
  • An admin approves: only an admin can approve or decline it.

If you turn on both, the customer confirms before your team gets asked. If no one decides within the time limit (1 hour by default), the agent lets the customer know and hands over with high priority.

The AI model never picks which customer an action runs on. dimmi fills {contact.external_id}, {contact.email}, and {contact.attr.<key>} from the customer’s verified identity.

dimmi only offers the action when it knows who the customer is:

  • In the messenger: when the session passed identity verification.
  • Through the API: in conversations started by your server.

An action that only uses {contact.email} also works for a signed-out visitor in the messenger. dimmi emails them a 6-digit code first. The code lasts 10 minutes, and the verified session lasts 24 hours.

Every action goes through a safe test step before customers see it:

  • Dry run: builds the request and shows it to you without sending anything.
  • Live test: sends the request as the customer you enter so you can inspect the real response.
  • Publish: the agent only runs the published version. Later edits stay in draft until you click Publish changes.
  • Used by: tick Operator if you want Operator to use the same action.

The agent receives up to 20 actions in a conversation, picked alphabetically by tool name. Every action call is recorded in the conversation timeline.