Skip to main content

Build a flow with your own assistant

You do not have to build a flow by hand. There are three ways to let ChatGPT, Claude, Gemini or another assistant do it:

ChatGPT pluginCopy and pasteConnect over MCP
SetupOne clickNoneOne time, see MCP Server
Works withChatGPTAny chat assistantAssistants that support MCP
You doJust describe what you wantCopy a prompt, paste the result backJust describe what you want
Best forFastest way with ChatGPTTrying it once, no technical skills neededBuilding and changing flows regularly

Whichever way you choose, you review the flow before anything goes live, and the assistant is told never to invent prices, links or policies.


Create directly in ChatGPT (One click)​

The fastest way to build flows is with the official AutoDM ChatGPT app. One link configures everything without manual server URLs or developer settings:

  1. Open AutoDM on ChatGPT.
  2. Authorize AutoDM when prompted so ChatGPT connects securely to your account.
  3. Tell ChatGPT what flow you want in plain words (for example: "Create an admission inquiry flow that asks for name, email, course preference, and sends a brochure link").
  4. ChatGPT checks your connected account, builds the flow steps, validates them, and saves the flow paused in your account.
  5. Open the flow in Flow Studio to inspect the canvas, test it in Preview, and click Save to go live.

Copy and paste​

  1. Open Automations > Flow Studio and choose Use your own assistant.
  2. Click Copy the prompt.
  3. Open ChatGPT, Claude or Gemini, paste the prompt and press enter.
  4. The assistant interviews you in plain language, one or two questions at a time:
    • what your business is and what you want from the flow
    • how it should start (which post, which keyword, or a DM) and the first message
    • the choices people get and what happens after each one
    • what to collect (name, email, phone, a date)
    • the final message, and whether to send a reminder later
  5. It summarises the flow in a short list and asks "Should I create it?". Say yes.
  6. It replies with a block of code. Copy all of it.
  7. Back in Flow Studio, paste it into Paste the code block here.
  8. AutoDM checks it straight away:
    • The flow is valid appears when it is ready. Tips about small improvements may be listed under it.
    • If something is wrong you get a numbered list of problems in plain words. Click Copy these for your assistant to fix, paste that into the same chat, and paste the corrected block back.
  9. Click Open in the editor. The flow appears on the canvas, nothing is saved yet.
  10. Read every message, replace anything that is wrong, run the Preview, then click Save.

You can also paste the code block into the editor later with Import in the toolbar.

Tips for a better result

  • Have your real details ready: prices, links, opening hours, the keyword you want.
  • Ask for changes in the same chat ("add a question about their budget") and paste the new block in. Each paste replaces the canvas.
  • Keep it small. Four to twelve steps covers most businesses, and the assistant is asked to stay in that range.

Connect an assistant over MCP​

With the AutoDM MCP server connected, your assistant can build flows directly in your account. Ask for what you want:

Create a flow for my gym. When someone comments GYM on my Reels, ask their goal (lose weight or build muscle), then collect their name and phone number and tag them as a lead.

The assistant can use these tools:

ToolWhat it does
get_flow_guideReads the flow format, Instagram's rules and the recommended workflow.
list_flow_templates, get_flow_templateBrowses the templates and fetches one to adapt.
validate_flowChecks a flow and explains every problem.
simulate_flowPlays a sample conversation through the flow without sending anything, so it can show you exactly what people would receive.
create_flow, create_flow_from_templateSaves a flow.
get_flow, update_flowReads and replaces the flow of an existing flow automation.
list_flow_contactsLists your leads, with their answers and tags, optionally filtered by tag or search text.

Safety rules built into the tools

  • Flows created by an assistant are saved paused. Review them in Flow Studio (the assistant is given the link), then activate them from the Automations list, or tell the assistant to do it.
  • Flows with placeholder text such as [YOUR_LINK_HERE] are refused until the real details are filled in.
  • A flow with problems is refused, with the list of problems returned to the assistant so it can fix them.
  • Changing a flow's trigger is done by updating the flow itself, because the Trigger step is the only place a flow's trigger lives.
  • A Carousel step, and the trigger's public reply, can point at your saved templates by id. Over MCP the assistant finds the ids with list_templates. With copy and paste the assistant cannot see your templates, so it won't use a carousel: add that step yourself in the editor afterwards.

The flow format​

You never need to read this to use Flow Studio. It is here for developers and for people who want to write or edit flows in a text editor. A flow is one JSON object with a list of steps (nodes) and a list of connections (edges). Positions are optional, the editor lays steps out for you.

{
"version": 2,
"name": "Callback request",
"channel": "instagram",
"nodes": [
{ "id": "start", "type": "TRIGGER", "data": { "triggerType": "DIRECT_MESSAGE", "keyword": "CALL", "matchType": "CONTAINS" } },
{ "id": "ask_name", "type": "ASK_QUESTION", "data": { "text": "Hi {{first_name}}! What is your name?", "variable": "full_name", "inputType": "text" } },
{ "id": "ask_phone", "type": "ASK_QUESTION", "data": { "text": "Thanks {{full_name}}. What is the best number to reach you on?", "variable": "phone", "inputType": "phone" } },
{ "id": "tag_lead", "type": "SET_TAG", "data": { "action": "add", "tag": "callback" } },
{ "id": "done", "type": "MESSAGE", "data": { "text": "Got it! We will call you on {{phone}} soon." } }
],
"edges": [
{ "id": "e1", "source": "start", "target": "ask_name" },
{ "id": "e2", "source": "ask_name", "target": "ask_phone" },
{ "id": "e3", "source": "ask_phone", "target": "tag_lead" },
{ "id": "e4", "source": "tag_lead", "target": "done" }
]
}
  • version must be 2. channel is instagram.
  • Step ids are short and unique (letters, numbers, _ and -). Step types are TRIGGER, MESSAGE, ASK_QUESTION, CONDITION, RANDOM_SPLIT, DELAY, SET_TAG, SET_VARIABLE, NOTIFY_OWNER, CAROUSEL, FOLLOW_GATE and GO_TO_FLOW.
  • A connection can name an exit with sourceHandle, for example btn:<buttonId>, qr:<quickReplyId>, yes, no or path:<pathId>. Without it, the connection leaves the step's default exit.
  • The full format, with every field and limit, is returned by the get_flow_guide tool and is built into the copy and paste prompt.

Paste a flow like this under Import and Flow Studio validates it the same way as one written by an assistant.