AI agent
An AI that chats in DMs and works through the tools joined to it.
The AI agent (formerly the Codm Agent) is the AI component of a workflow. It chats in Instagram DMs in the voice you describe, and it works through tools: the components joined to its ◆. It stays on the conversation until one of its actions fits, and then the flow carries on along that action's line.
Add one
- In a workflow, add AI agent from the palette's AI group and connect it, usually right after Start.
- It arrives with a Send DM joined to its ◆. That is its voice: without it, nothing it writes reaches the customer.
- In its settings, start from a template or write the instructions: who it is, what you sell, how it talks, what it must never do. Press Improve with AI to have them tidied up.
- Add actions for what an answer cannot settle, each with a description of when to take it:
TALK_TO_HUMANwhen they ask for a person,BUYwhen they want to order. Each action is a line out of the step; connect what should happen next. - Add more tools with Add a tool in its settings (or drag a component's ◆ to the agent's ◆).
Tools
| Join | The agent can |
|---|---|
| Send DM | reply (its voice) and read the conversation |
| Ask in DM | ask a question with quick-reply buttons and wait for the answer |
| Public reply | answer the comment in public once |
| Catalogue | search your catalogue, read an item, quote policies, send product cards and photos |
| FAQ | read your FAQ and answer from it |
| Media | pick a file from your media library and send it |
| HTTP API | call your own system with values it fills in ({ai.order_number}) |
| DataMold, CalendarBook, HelloCall, Gmail, Email | work with your connected apps |
| Notify on WhatsApp | alert your team |
Select a joined step to choose its filter (one FAQ tag, one catalogue category, one media tag…) and switch individual tools on or off. The tool names the agent sees are shown in grey; they end with the filter, so you can join, say, two FAQ steps (Returns and Delivery) to one agent.
How it chats
- Chat in DMs on (the default): it answers every DM, waiting for the next one, until an action fits or the turn limit is reached; then end.
- Off: it answers once, keeps the answer in
{reply}, and the flow continues along answer. - It understands photos, voice notes, shared posts, story replies and mentions.
- A bare "thanks" or "ok" gets no reply.
- When a person replies by hand (in Codm's Inbox or in the Instagram app), the agent steps back for a few minutes.
Safety
- It quotes only what your catalogue, FAQ and tools return, and says a person will confirm anything else.
- It never sees other customers' chats or bookings.
- E-mail tools write only to your own address, calls are limited to one per message, and the HTTP API reaches public
https://addresses only.
Agents from before November 2026
An agent saved before tools existed keeps working as it did: it answers by itself, and a Catalog connected to its old Catalog input is now drawn as a joined Catalogue step. Add tools to it the same way.
Test it
The walkthrough (▶) shows where the agent chats and lets you pick how the chat ends. The Try it tab of Content → Catalogue shows how the AI answers questions about what you sell.
Something unclear or out of date? Tell us and we will fix the page.