DM and keyword flows
An automatic reply to an incoming message: keyword, first-message and /start triggers, button paths, and Telegram deep links.
Last updated: November 9, 2026
An automatic reply to an incoming message — it works on Instagram Direct, Facebook Messenger and a Telegram bot.
Which trigger to choose
| Trigger | When it fires |
|---|---|
| Keyword | The message contains the words you set |
| First message | The very first time someone writes, once |
| Instagram message / Facebook message / Telegram message | Any incoming message |
| The bot was started (/start) | Someone opens the bot and taps Start |
First message does not work for /start. It fires once, on the very first message, and stays silent when someone taps Start again. Choose The bot was started (/start) instead — it also fires on a repeat tap.
Creating it
Automation → New automation
Choose the channel.
Pick «A direct message»
On a Telegram bot there's also The bot was started (/start).
Which messages?
Specific keywords or Any message.
Write the reply
Text, media and at most 3 buttons — the message block.
Connect the buttons to the next blocks
An unconnected button is tapped and does nothing.
Start it
A draft doesn't run.
Telegram deep links
The link t.me/yourbot?start=catalogue sends the bot the message
"/start catalogue". So:
- give the flow the Keyword trigger;
- set
catalogueas the keyword; - put the link in your bio, a post or an ad.
That's how one bot gets several entry points — each link leads into its own flow. Which link someone came from is shown by automation insights.
Building a button path
Example — Lola Store
Keyword: price
Reply: "Which category are you after?" — buttons:
Dresses · Trousers · Accessories
Each button is connected to its own message, each with a price and an "Order" button. After the order button comes Collect contact data — name and phone — and the tag "lead".
On Telegram the buttons have colours and "Remove the buttons" set, so the old ones don't linger after a choice.
A warning about "Any message"
Choose Any message and this automation answers every message on that channel, while the others stop working — because only the first matching automation runs. Use it only as the very last fallback reply.
Alongside the AI agent
The two work separately — the agent isn't a block on the canvas. A practical split:
| Who | What |
|---|---|
| The automation | Exact keywords, button paths, tags — 0 credits |
| The AI agent | Open questions, advice, orders — 2 credits per reply |
The time limit
On Instagram and Messenger a message arrives within 24 hours of the customer's last message. Telegram has no such limit.
Troubleshooting
| Symptom | Cause |
|---|---|
| Nothing sends on /start | "First message" was chosen — the /start trigger is needed |
| The deep link doesn't work | The parameter isn't set as a keyword |
| The bot doesn't reply at all | A wrong token, or a plan below Lite |
| The button does nothing | It isn't connected to the next block |
| An exact keyword doesn't work | An "any message" automation sits above it |
| Nothing arrived after the delay | The 24-hour window passed |
Questions
What's the difference between First message and Keyword?
First message fires once, only on the very first message — for a greeting. Keyword fires every time that word is written. So /start needs its own trigger, not First message.
How does a Telegram deep link work?
t.me/yourbot?start=catalogue sends the bot the message "/start catalogue". So "catalogue" has to be set as a keyword — then whoever taps the link lands in the right flow.
How many buttons per message?
Three. If you need more options, offer the rest in the next message after the first tap.
What happens if I choose Any message?
This automation answers every message on that channel and the others stop working — because only the first matching automation runs. Keep it as a last-resort fallback.
Can I use it together with the AI agent?
Yes, but they work separately: the agent isn't a block on the canvas. Usually the automation takes the exact keywords (free) and the agent answers the open-ended questions (2 credits per reply).
Related guides
- Automation basicsWhat an automation flow is, how to create one, and why only one automation answers a given message. Automation messages cost no credits.
- The message block and buttonsA message in a flow: text, image, video, PDF and voice blocks, formatting, up to three buttons, Telegram button colours and what happens after a tap.
- How to Connect Telegram to FlowreCreate a bot in BotFather and connect it to Flowre: token, webhook and your first test message. A five-minute walkthrough.