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

TriggerWhen it fires
KeywordThe message contains the words you set
First messageThe very first time someone writes, once
Instagram message / Facebook message / Telegram messageAny 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

  1. Automation → New automation

    Choose the channel.

  2. Pick «A direct message»

    On a Telegram bot there's also The bot was started (/start).

  3. Which messages?

    Specific keywords or Any message.

  4. Write the reply

    Text, media and at most 3 buttons — the message block.

  5. Connect the buttons to the next blocks

    An unconnected button is tapped and does nothing.

  6. Start it

    A draft doesn't run.

The link t.me/yourbot?start=catalogue sends the bot the message "/start catalogue". So:

  1. give the flow the Keyword trigger;
  2. set catalogue as the keyword;
  3. 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:

WhoWhat
The automationExact keywords, button paths, tags — 0 credits
The AI agentOpen 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

SymptomCause
Nothing sends on /start"First message" was chosen — the /start trigger is needed
The deep link doesn't workThe parameter isn't set as a keyword
The bot doesn't reply at allA wrong token, or a plan below Lite
The button does nothingIt isn't connected to the next block
An exact keyword doesn't workAn "any message" automation sits above it
Nothing arrived after the delayThe 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).

Was this page useful?

Related guides