How do trigger keywords match in Instagram comment automation?

Answered by Sanjay, founder of InstantDM (official Meta Business Partner) ·Last checked

Short answer

In InstantDM, trigger keywords match regardless of capitals and accents, and a keyword fires when any word in the comment starts with it: 'link' matches 'send the LINK', 'links' and 'linkedin'. Emoji keywords match anywhere. With several keywords, any one is enough. Exact match (the whole comment must be only the keyword) exists only in the Flow builder. To answer every comment, use an any-comment trigger.

Ask an AI with this answer: Ask ChatGPT Ask Claude Plain text version

Why keywords fire too often or not at all

Instagram sends your tool the full text of each comment. The tool decides whether it matches your keyword, so matching rules differ from tool to tool. Most tools ignore capital letters. Few explain the rest, which is why a keyword can fire on comments you didn't expect, or miss ones you did.

One trap is the same in every tool: copy-pasted keywords. Text copied from a document, website or chat can carry invisible characters, and an emoji can be copied as a different Unicode version of the "same" emoji. The keyword looks right on screen and never matches. If the keyword is right and still nothing is sent, see comment-to-DM not sending.

How to make your trigger keyword match

  1. Retype the keyword. Delete it and type it again, emojis included. Don't paste.
  2. Pick a short, uncommon word. Matching works on the start of words, so "hi" or "in" fire on many comments. A word like GUIDE or PDF is safer.
  3. Add the spellings people use. Several keywords per automation are fine, and any one of them is enough.
  4. Use exact match when you need it. Open the automation in Flow Automation and tick Match exact word only. The comment must then be only the keyword, ignoring capitals and spaces around it. "book" fires; "how can I book" doesn't.
  5. Want to answer every comment? Use an any-comment trigger instead of a keyword. See DM everyone who comments. If a post has more than one automation, see which automation runs.

How InstantDM matches keywords

The matching rules, checked against InstantDM's code:

Comment (keyword: link) Matches?
link, LINK, Link Yes. Capitals don't matter
please send the link Yes. The word can be anywhere
links, linkedin Yes. The word starts with "link"
blink No. The word must start with "link"
  • Accents are ignored: "cafe" matches "café".
  • Emoji keywords match anywhere in the comment, even inside other text. ❤️ and ❤ count as the same.
  • Several keywords: any one is enough. Multi-word phrases match as phrases.
  • Exact match is only in the Flow builder. Quick Automation (per post and All Posts) has no exact mode.
  • Any comment: available in Quick Automation, in flows, and as an all-posts automation.
  • Replies inside a comment thread never trigger.
  • On Free, each automation can have up to 3 keywords.

The same keywords work on ad comments; see comment-to-DM on ads.

If you use another tool

ManyChat and other tools have their own match modes. If a keyword works in a test but not for followers, check whether the tool matches whole words, word starts or anything containing the text, and retype the keyword to rule out hidden characters.

Questions people also ask

Are trigger words case-sensitive?

No. 'LINK', 'Link' and 'link' all match. InstantDM has no case-sensitive option.

Why does my keyword fire on other words?

A keyword matches any word that starts with it, so 'cat' also fires on 'category'. Pick a short, uncommon word, or use exact match in the Flow builder.

My emoji keyword doesn't work. Why?

A copy-pasted emoji can be a slightly different character. Delete it and type the emoji from your keyboard instead.

Does punctuation matter?

In normal matching, 'link!' still matches 'link'. With exact match on, punctuation counts, so 'link!' won't match.

What happens if a comment contains two of my keywords?

Within one automation, any one keyword is enough and the DM is sent once for that comment.

Related questions

Step-by-step guides