DM flows: guided conversations with buttons
Build guided flows with text, images, voice, video, cards and carousels, copy steps, link flows together, and tell the AI what each flow offers.
A flow is a small guided conversation: a trigger starts it, then each step sends one or more messages (optionally with buttons) and moves the customer to the next step.
Create a flow
- Open Automations > New automation > Instagram Message, then start from a template or Start blank.
- Enter a Name and keep Enabled on ("Active - customers can trigger this flow").
- Under Trigger, add one or more triggers: a word or phrase and a match type.
- Under Steps, choose Add step and build the conversation (see below).
- Choose Save. The flow shows Flow created.
Triggers and match types
| Match type | A message triggers the flow when it... |
|---|---|
| Exact match | is exactly the phrase |
| Starts with | begins with the phrase |
| Contains | includes the phrase |
| Any keyword | includes any of the listed keywords |
| Regex | matches a regular expression (advanced; up to 500 characters) |
| Any message | is any message |
Only one flow answers a message. When several triggers could match, the most specific match type wins (Exact, then Starts with, then Contains and keywords, then Regex, then Any message), and the other flows do not reply.
If a trigger word is already used by this flow, by one of its steps or by another enabled flow, the editor shows a warning under it: "Also used by: … Only one automation answers a message." You can still save, but use a different word if each automation should reply.
Start a flow from a specific step
A step can have its own trigger, so a customer's message opens the flow directly at that step instead of at the first step. This lets one flow answer several topics without repeating content.
- Open a step (not the first step) and expand Advanced.
- Turn on Start from this step. It is off by default.
- Add one or more triggers: a word or phrase and a match type, as above.
- Choose Done, then Save.
Step triggers follow the same rules as the flow's triggers and work only when a conversation is not already in a flow. While a customer is inside a flow, their messages go to the flow's buttons and replies, not to triggers.
Example: a "Courses" flow has a step that lists the German courses (basketball and tennis, each with a More information button) and a step for each course. Add the trigger germany to the list step and tennis to the tennis step. A customer who writes "germany" sees the list; one who writes "tennis" goes straight to the tennis course. Each course is built once.
Steps
Each step has at least one message. The first step is the entry point. The step's name (its key), If nothing matches and Start from this step are under Advanced in the step editor. Each message has a type:
- Text: a message (up to 1,024 characters).
- Image: an image with an optional caption.
- Voice / audio: one uploaded audio file, up to 16 MB.
- Video: one uploaded MP4 video, up to 16 MB.
- Card: a title, optional subtitle and image, with buttons.
- Carousel: up to 10 cards.
For images in Image, Card and Carousel steps, a square (1:1) image of 1080 × 1080 px is suggested. Other sizes are accepted. Images can be JPEG, PNG, GIF or WebP, up to 8 MB.
Text, Image and Card steps can have buttons; each Carousel card has its own buttons. The editor offers up to 3 buttons per step or card; the flow API accepts up to 6, and Instagram delivers the first 3. Each button has a Button label (up to 20 characters) and one of: Go to step (choose the Target step), Go to flow (continue in another flow, see below) or Open URL. A flow can have up to 50 steps and button labels must be unique within a step.
Voice / audio and Video steps send one attachment without a caption or buttons. Use Text, Image or Card steps when you need those fields. Their If nothing matches setting still controls what happens when the customer replies.
Send several messages in one step
A step can send up to 5 messages together, in order. For example, a flow can open with a voice message, then a card, then a text.
- Open a step. Its first message is Message 1.
- Choose Add message (next to Add button under the last message) to add another message, then choose its type.
- Use Move up and Move down to change the order, or Remove message to delete one.
- Choose Done, then Save.
The messages are sent one after another with a short pause, so they arrive in the order you built them. The last message's buttons decide what happens next: only the last message can have Go to step buttons. Earlier messages can have Open URL buttons. If nothing matches applies to the customer's reply after the last message.
In the Diagram tab, a step with several messages shows an icon for each message type.
Use the List tab to edit, or the Diagram tab to see the flow as a map: click a card to edit it, drag it to move it, or drag the dot on its edge to link it to another step (drop on empty space to create and link a new one). The diagram warns about steps that cannot be reached from the entry step.
Continue in another flow
A Go to flow button moves the customer into another flow, so you can build shared parts once (for example a sign-up or contact flow) and reuse them from many flows.
- Open a step and choose Add button.
- Set the button type to Go to flow and choose the flow in Choose flow.
- Optionally choose where it starts in Start at. First step is the default.
- Choose Done, then Save.
When the customer taps the button (or types its number or label), the other flow's step is sent and the conversation continues in that flow. It does not return to the first flow automatically; add a Go to flow button back if you need one. In the Diagram tab these buttons show a flow icon and draw no line, because the target is in another flow.
If the chosen flow is turned off or deleted, tapping the button uses the step's If nothing matches setting instead. The editor marks a turned-off flow with "(off)". Like Go to step, a Go to flow button can only be on a step's last message.
Copy a step
Open a step and choose Duplicate. The copy is added right after the original with a new name (for example tennis_copy) and opens for editing. It keeps the messages and buttons but not the step's Start from this step triggers, so the same words do not start two steps. Choose Save to keep it.
Upload voice or video
- Open a step and choose Voice / audio or Video from the type selector.
- Choose a file. Audio accepts MP3, OGG or M4A; video accepts MP4. The maximum is 16 MB per file.
- Use the playback controls to preview your selection. Choose Remove file to replace it.
- Choose Done, then Save to upload the file and save the flow.
You can upload audio in any of these formats; BaTimo converts it when you save. Each audio file is stored as M4A, which plays on Instagram and in website chat, plus a voice-note copy that WhatsApp (QR code) sends as a voice note. Converted audio is mono and stripped of file details such as title and artist. If a file cannot be converted, or the converted audio is over 16 MB, the upload is refused and you can choose another file. MP4 video with H.264 video and AAC audio is recommended; video keeps its original format.
Audio and video must be uploaded in the Console for the current company; a pasted web address is not accepted for these steps. You can open the Console editor from Home > Automations in the mobile app.
Record voice in the editor
- Open a Voice / audio step and choose Record voice.
- Allow microphone access when your browser asks. A timer shows that recording is active.
- Choose Stop, or let recording stop at the 3-minute limit.
- Listen using the playback controls. Choose Record again to retry, Discard to remove the take, or Use recording to attach it to the step.
- Choose Done, then Save to upload the recording and save the flow.
Cancel stops an active recording without using it. Closing the step also releases the microphone and discards any take you have not chosen to use. The microphone is released when you stop recording; choosing Use recording does not send a message to a customer.
Recordings have the same 16 MB upload limit as other audio files. If recording is unavailable, microphone access is denied, or no microphone is found, you can still choose an existing audio file. Recordings are converted the same way as uploaded audio, so they also arrive as a voice note on WhatsApp (QR code).
If nothing matches
Each step has If nothing matches under Advanced (what to do when the customer's reply does not match a button or phrase):
| Option | Result |
|---|---|
| Hand off to AI | The flow ends and the assistant answers |
| Repeat this step | The same step is shown again |
| Restart the flow | Goes back to the first step |
| Show a message | Shows a fixed message and stays on the step |
| End the conversation | The flow ends with no AI reply |
When a trigger or button matches, the AI is never called for that message. Fixed flow steps continue even if AI conversation quota is exhausted; an AI handoff requires available quota. Flow replies appear in the Inbox with the Automation label and flow name. New replies preserve text, images, audio, video, cards, carousels and button labels in both web and mobile history. Flow options in the Inbox are read-only; URL buttons open their links. Older replies saved as plain text are not converted into rich previews.
Summary for AI and letting the AI start a flow
Every flow has a Summary for AI: a short description of what the flow offers and when it fits. It is shown only to the AI assistant, never to the customer, and holds up to 500 characters. If you leave it empty, BaTimo builds one from the flow's triggers, first message and buttons, and keeps it up to date when you save. The editor then shows this Automatic summary under the box, so you can see what the AI knows; choose Edit this text to start your own summary from it.
The assistant always knows your turned-on flows through these summaries. When a customer asks about something a flow covers, even without using a trigger word, the assistant reads that flow's steps and buttons and answers from them. It can share the flow's link buttons, such as a WhatsApp chat or a website page. It never tells customers your trigger words or mentions the automation. Put important details such as prices and schedules in text, card titles or captions: the assistant cannot read text inside an image.
Let AI start this flow is a separate switch. When it is on, the assistant can also start the flow itself, instead of answering, when a customer's message clearly fits the summary. When it is off, the assistant still uses the summary and details to answer, but never starts the flow.
When a flow hands off to the AI (If nothing matches > Hand off to AI), the assistant also sees what the current step showed and its options.
How it appears on each channel
- Instagram: image, audio and video steps send attachments. Buttons, cards and carousels use Instagram's tappable formats.
- Website chat: images, cards and buttons appear in the widget; audio and video have playback controls.
- WhatsApp (QR code): image, audio and video steps send media. Audio is sent as a voice note. Buttons, cards and carousels use numbered text options; customers reply with the number or label.
- WhatsApp Business: image, audio and video steps send media attachments. This does not add native flow buttons or carousels to that channel.
Example: FAQ flow
Trigger: Any keyword shipping, returns, hours. Step menu: text "What would you like to know?" with buttons Shipping, Returns, Opening hours, each going to its own text step. On each answer step add a Back to menu button, set If nothing matches to Repeat this step.
Tips
- Keep button labels short and verb-first.
- End branches with an action ("Open URL" to your booking page) or a Hand off to AI exit.
- Use the Lead capture template for qualifying interested customers.
Troubleshooting
- A flow never fires: check it is enabled, its trigger matches the customer's wording, and the channel is connected.
- "Give the first step a key": the first step needs a key; it is the entry point. Set it under Advanced in the step editor.
- The wrong flow or step answers: another trigger probably uses the same word. Look for the "Also used by" warning under your triggers and change one of the words.
- Cannot save: every button must target an existing step, and every Go to flow button needs a flow ("Choose a flow for every Go to flow button.").
- A Go to flow button does nothing: the target flow is turned off or was deleted. Turn it on or choose another flow.
- A step cannot save because of its buttons: the error "Only the last message of a step can have 'Go to step' buttons" means an earlier message has a Go to step button. Move it to the step's last message, or change it to Open URL.
- An audio or video step cannot save: choose a supported file up to 16 MB, uploaded for your current company, and remove any caption or buttons from that step.
- "Could not process this audio file": the file is damaged or not really MP3, OGG or M4A. Export it again from your audio app and upload it.
- A file previews but fails on the customer's channel: check its format and encoding. The Console preview does not confirm that a channel can deliver it.
- Recording does not start: allow microphone access in your browser settings, check that a microphone is connected, and try again. If your browser does not support recording, choose an audio file instead.
Limitations
- Maximum 5 messages per step, 3 buttons per message or card in the editor (6 through the flow API), 10 cards per carousel, 50 steps per flow. Voice / audio and Video steps have no buttons or captions.
- On Instagram only the first 3 buttons of a step or card are sent, and message text that accompanies buttons is cut at 640 characters (a limit of the Instagram messaging format). WhatsApp (QR code) lists all options as numbered text.
- Flows count toward your plan's enabled automation limit.
Learn more
Last updated on
Automations: instant replies without AI
Create, copy, export and import automations, update them from a file, set them up with an AI chat, and understand plan limits.
Instagram comment automations: reply and DM
Reply publicly to Instagram comments and send the commenter a private DM or start a flow, for all posts or specific posts and reels.