Skip to content

Guide: DM keywords

How to auto reply when someone DMs you a keyword

In Shatla.io, click "New Automation" and choose "Direct messages". Add the keywords, for example PLAN, write the answer and add a link button, then click "Save automation". When someone sends you a DM with that word, they get your answer at once. It works on every plan, on Instagram and Facebook Pages.

Key takeaways

  • A DM keyword automation has two steps: the keywords and the DM.
  • The person messaged you first, so the answer is always inside Meta's messaging window.
  • Every DM automation whose keyword matches sends its reply.
  • "Any keyword" answers every DM, so use it with care.
  • It is on every plan, on Instagram and Facebook Pages.

By · Updated

What you need first

  • An Instagram professional account or a Facebook Page connected to Shatla.io through Meta's official sign-in.
  • Any plan: DM keyword automations are on the Free plan; the follow-up message needs Pro or Business.
  • The keyword you will ask people to send, said in your video or written in your caption or bio.

How do you set up a DM keyword automation?

The editor has two numbered steps for a DM trigger. Labels are quoted as they appear in English.

  1. Step 1: Choose "Direct messages"

    Open "Automations", then "Social media automations", click "New Automation" and choose "Direct messages": "Reply automatically when someone DMs you a keyword."

    Over MCP: list_accounts, create_automation (triggerType DM).

  2. Step 2: Set up the keywords

    Under "Setup Keywords", type each keyword and press Enter, up to 10. A DM that contains any one of them as a whole word starts the automation; upper and lower case both match.

    Over MCP: create_automation (keywords, or matchAnyWord:true).

    A DM keyword automation in Shatla.io: when someone sends PLAN in a direct message, they get the course link. Example account and example numbers.
    Real screenshot of the product, taken , from a placeholder store. Example account and example numbers.
  3. Step 3: Write the answer

    Under "Send a DM", write the "Message" and use {username} for the person's name. Click "Add link button", fill in the "Button title" and paste the "Link URL", for example your course page.

    Over MCP: create_automation (dmMessage, trackedDestinationUrl and linkButtonLabel).

  4. Step 4: Save and test

    Check that the switch at the top shows "Live" and click "Save automation". Send the keyword from another account and check the answer.

    Over MCP: activate_automation, list_dm_logs (activate it after your go-ahead, then read what was sent).

What do you see after you save?

The list shows the automation as "When user DMs PLAN" (or "When user DMs any keyword"), with its "Runs", "Clicks", "CTR" and "Failed" numbers. The "DM" filter shows only DM automations.

Each message the automation sent, with its status, is in "Send logs" under "Automations". You can read and answer the conversation by hand in the inbox.

Why do two answers sometimes arrive?

Every DM automation whose keyword matches sends its own reply; it is not first match only. If one automation listens for PLAN and another answers any keyword, a DM that says PLAN gets both answers.

Keep one automation per keyword, and keep "Any keyword" off unless you want every DM answered. The editor warns: "Every DM gets this reply. Use with care."

Which keywords work in DMs?

Short words that people cannot misspell work best: PLAN, PRICE, GUIDE. Matching looks for whole words, so PLAN answers "plan please" but not "planner". Arabic spelling variants and diacritics are matched automatically.

Can your AI assistant do this for you?

An AI assistant connected over MCP can create the DM automation, show you the wording, and activate it after you agree. It can also read the logs to see what was sent. Shatla.io's instructions tell your assistant to ask you first.

MCP tools for this task: list_accounts, create_automation, activate_automation, list_dm_logs.

Where this stops

  • Instagram and Facebook Pages only; there are no TikTok DMs in Shatla.io.
  • Follow first works on Instagram only, not on Facebook Pages.
  • Up to 10 keywords and up to 2 link buttons per automation.
  • Later messages, such as the follow-up, stay inside Meta's messaging window, which the person's DM opens and which lasts 24 hours for most actions.

Questions and answers

Does a DM keyword automation work on Facebook Pages?

Yes. It answers Messenger messages sent to your Facebook Page the same way, with your link button. There is no follow-first option on a Page.

Can someone get the answer twice?

Yes, if two of your DM automations match the same message, because each one replies. Give each automation its own keyword to avoid it.

Is there a limit on how many DMs it answers?

No. Automatic replies are unlimited on every plan. Meta's own rate limits still apply to every account.

Start on the Free plan

The Free plan is free forever and needs no card. Connect one account through the platform's official sign-in; Shatla.io never asks for your password.

Start free