How the flow works
- CommentSomeone writes "scan" under your post.
- WebhookMeta sends the comment to the tool.
- MatchThe tool finds the keyword as a whole word.
- Private replyOne DM to that comment, with a tracked link.
- App StoreThe link opens your App Store page with ct=ig-dm.
- The last slide and the caption say: "Comment SCAN and I will send you the link."
- Someone comments "scan". Meta sends the comment to the tool through a webhook.
- The tool sees the keyword and sends a private reply to that comment: a DM with your link.
- Optional: a short public reply ("Sent! Check your DMs") so others see it works.
What Meta allows
| Rule | Limit |
|---|---|
| Replies per comment | One private reply |
| Time window | Within 7 days of the comment |
| Follow-ups | Only after the person answers, within 24 hours of their answer |
| Rate | 750 private replies per hour per account |
| DM length | 1,000 characters |
| Where it lands | Primary inbox if they follow you, otherwise Message Requests |
| Account setting | "Allow access to messages" must be on in the Instagram app |
Meta has no keyword feature in the API. The tool reads each comment and decides. That means it can match whole words only, so "scanner" does not trigger "scan", and it can skip your own comments.
Write a DM people open
- Say it is automatic. Some places (Meta names California and Germany) require automated chats to say so at the start. It is good manners everywhere: "Automated reply from @receiptly:".
- Link first, then one line. "Here is the link: … It scans a receipt in about two seconds."
- One link. A tracked short link so you can count clicks, pointing at your App Store campaign link.
- No pressure. No countdowns, no fake scarcity.
Automated reply from @receiptly: here is the link you asked for.
{link}
It is free to try on iPhone. Reply here if you have a question and a person will answer.Pick a good keyword
- One short word in capitals on the slide: SCAN, LIST, PLAN.
- Not a word people use anyway ("yes", "love", "app").
- One keyword per post, so you know which post brought the click.
- Say it on the last slide and in the caption. The hooks guide covers the first slide; the last one asks for the comment.
Comment-to-DM in hookflock
In hookflock you set a keyword rule for all posts, some posts or one draft, pick a tracked link and write the message. The server watches new comments, sends one private reply per matching comment within Meta's window, and retries with backoff when Instagram is busy. Click counts are daily totals, with no IP addresses stored.
Auto-DM is rolling out once Meta approves hookflock's messaging permission. Until then you can set up rules and tracked links in the app.
The link in the DM should be the same kind of tracked App Store link you use in your bio. See link in bio for apps.
Questions
- Is comment-to-DM allowed on Instagram?
- Yes, through Meta's Private Replies API: one private reply per comment, within 7 days of the comment, from a professional account that allows access to messages.
- Why did my auto-DM not arrive?
- Common reasons: the comment is older than 7 days, the person was already sent a reply, "Allow access to messages" is off, or the DM went to Message Requests because they do not follow you.
- Can I send more than one DM?
- Only after the person replies, and only within 24 hours of their reply.
Sources
Facts checked against these pages on . Meta changes its docs often; tell us at hookflock@ascodelabs.com if something is out of date.