Say loaf.and.co wants “Comment LOAF for the recipe” on her Reels and she's handy with n8n. Here's everything Meta asks for before her first DM goes out.
The 5-step build
Make a Meta app with Instagram Login
Instagram Login works for professional accounts with no Facebook Page. Ask for these permissions. The account has to be public, or comments never reach you.
instagram_business_basicinstagram_business_manage_commentsinstagram_business_manage_messagesGet Advanced Access
Comment webhooks need it, even for your own account. That means App Review plus Business Verification, so you need a business Meta can verify.
App ReviewBusiness VerificationApp mode: LiveStand up an HTTPS webhook
A real TLS certificate (self-signed is refused). Echo back
hub.challenge, check theX-Hub-Signature-256header with your app secret, and subscribe tocomments.hub.challengeX-Hub-Signature-256commentsMatch the keyword, send one private reply
Every comment arrives, not just keyword ones. Filter, then make this call:
POST /<IG_ID>/messagesrecipient.comment_idKeep it alive
Refresh the token before day 60. Save comment IDs you've answered, since Meta retries and batches up to 1,000 updates. Stay under 750 private replies an hour.
refresh_access_token750 / hourdedupe
POST https://graph.instagram.com/<API_VERSION>/<IG_ID>/messages
Authorization: Bearer <ACCESS_TOKEN>
{
"recipient": { "comment_id": "<COMMENT_ID>" },
"message": { "text": "Here's the recipe 👇 example.com/loaf" }
}Meta's fine print
Comment webhooks need Advanced Access
Meta says soAdvanced Access is required for comments and live_comments notifications.
Meta, Set up WebhooksAdvanced Access needs App Review and Business Verification
Meta says soThis access level requires App Review and Business Verification.
Meta, Instagram Platform overviewYour app has to be Live
Meta says soYour app must be published or Live to receive notifications
Meta, Set up WebhooksPrivate accounts get no comment webhooks
Meta says soPrivate accounts do not receive comment or mention notifications.
Meta, Set up WebhooksOne DM per comment, within 7 days
Meta says soOnly one message can be sent to the commenter.
Meta, Private RepliesMissed webhooks are gone after 36 hours
Meta says soUnacknowledged responses will be dropped after 36 hours.
Meta, Set up WebhooksHow long App Review takes
Not in Meta's docsMeta's App Review page gives no turnaround time.Meta, App Review
One developer waited 13+ days on these permissions
Third-party onlyWe submitted an App Review request 13 days ago
Meta developer forum
The clocks you run on
Five timers, and your build breaks quietly if it misses any of them:
| Clock | Length | Meta page |
|---|---|---|
| Login code | 1 hour | Business Login |
| Messaging window | 24 hours | Messaging API |
| Webhook retries | 36 hours | Set up Webhooks |
| Private reply deadline | 7 days | Private Replies |
| Long-lived token | 60 days | Business Login |
Doing it in n8n
n8n's Facebook Trigger node has an Instagram Comments event. Turn on Include Values or it fails. n8n's docs don't show a node that sends the private reply, so you'd make the call above with an HTTP Request node.
n8n doesn't skip any of Meta's steps. You still need your own Meta app and its review. Same goes for GitHub projects: each one runs on whatever Meta app you bring.
n8n Cloud bills by workflow run. Starter is 20€ a month billed yearly for 2,500 runs. Pro is 50€ for 10,000. Every comment fires the webhook, keyword or not, so that's up to one run per comment. A busy Reel can use up Starter on its own.
DIY vs a tool
| Feature | n8n Cloud | Self-hosted n8n | Your own code | A DM tool |
|---|---|---|---|---|
| Software cost a month | From 20€ (yearly) | Your server | $0, or $5 on Workers Paid | Plan price |
| Included volume | 2,500 runs | Your server's | 100,000 requests a day free | Per plan |
| Meta app, App Review, Business Verification | ||||
| Token refresh and webhook retries | ||||
| Keyword matching and duplicates | ||||
| Build timeOur estimate, for someone who's used webhooks before. App Review wait not included. | 1–2 days | 2–3 days | 3–5 days | Under an hour |
DMFa.st is one of those tools. Its Free plan is $0 with 200 auto-DMs a month, and sign-up is invite-only right now. Compare other free plans in our free-tools roundup.
Should you build it?
Four questions. Slide in your monthly comments to see which n8n plan you'd need.
Try it: should you build it yourself?
DIY can work
One account, one DM per comment, and you can run it. That's the simplest build there is.
On n8n Cloud, up to one run per comment means Starter (2,500 runs, 20€/mo billed yearly).
DIY makes sense when it's one account, you already run servers, and you want the data on your own machine. If you're building it for clients, you're building a product. New to the words above? The DM automation glossary defines each one.
FAQ
Can I do Instagram comment to DM automation with n8n?
Yes. Use the Facebook Trigger's Instagram Comments event and an HTTP Request to Meta's messages endpoint.
Is there an Instagram comment to DM GitHub project I can use?
You'll find open-source ones. Each still needs your own Meta app with Advanced Access before comments come in.
Do I need App Review for my own Instagram account?
For comment webhooks, yes. Meta requires Advanced Access, which needs App Review and Business Verification.
How many comment DMs can I send per hour?
750 private replies an hour per account, per Meta. More in Instagram DM limits.
Why did my webhook stop getting comments?
Check three things: the account went private, the app left Live mode, or the token passed 60 days.
Sources
Checked against the live pages on .
- Meta for Developers: Instagram Platform overview (access levels, rate limits)
- Meta for Developers: Set up Instagram Webhooks
- Meta for Developers: Instagram webhook fields and permissions
- Meta for Developers: Private Replies
- Meta for Developers: Business Login for Instagram (tokens, scopes)
- Meta for Developers: Messaging API (Instagram Login)
- Meta for Developers: App Review
- Meta developer forum: “App Review stuck at 13 days”
- n8n docs: Facebook Trigger node, Instagram object
- n8n: Pricing
- Cloudflare: Workers pricing
Written by the DMFa.st team. We build on Meta's official Instagram API and check every platform rule in this post against Meta's developer documentation. Spotted something out of date? Tell us.