DEV Community

BuzzWire for BuzzWire

Posted on

Instagram comment-to-DM automation: build it on the API, or ship it today for free

Sooner or later a client, a marketing team or a creator friend asks you: "Can we do the thing where people comment GUIDE and get the link in their DMs?"

Yes, you can. It runs on Meta's official Instagram API, and this post shows exactly how it works. It also shows the shortcut: BuzzWire, the comment-to-DM tool we build, which does all of it on the official API and is free for unlimited DMs on one account.

How comment-to-DM works under the hood

Four pieces of Meta's official API, no scraping:

  1. Login and token. The creator connects their Instagram professional account on Meta's own login screen. The app gets an access token, never a password.
  2. Webhook. Instagram notifies the app the moment someone comments, replies to a story or sends a DM.
  3. Keyword match. The app checks the comment against the creator's keywords.
  4. Private reply. One call sends the DM, referencing the comment.

Here's the private-reply request from Meta's docs:

curl -X POST "https://graph.instagram.com/v24.0/<IG_ID>/messages" \
  -H "Authorization: Bearer <INSTAGRAM_USER_ACCESS_TOKEN>" \
  -H "Content-Type: application/json" \
  -d '{
        "recipient": { "comment_id": "<COMMENT_ID>" },
        "message":   { "text": "Here you go: https://example.com/guide" }
      }'
Enter fullscreen mode Exit fullscreen mode

And the platform rules that shape every good flow:

  • One private reply per comment, within 7 days, so the link belongs in that first DM
  • A 24-hour messaging window opens when someone replies or messages, which is where follow-ups and email capture happen
  • Consent first: every DM goes to someone who commented, replied or messaged, so audiences welcome these messages

What building it yourself involves

The API calls are the easy part. A production comment-to-DM setup also needs:

  • A Meta app through App Review with Advanced Access to the comments and messaging permissions, so it can serve accounts beyond your own test accounts
  • Webhook infrastructure that verifies Meta's signatures, responds fast and handles every event exactly once
  • Token management for each connected account
  • Keyword matching people can trust: whole words, any capitalization, emoji, common misspellings, different keywords per post
  • Pacing and message variety so automated replies feel like a creator replying
  • A dashboard a non-technical creator can use, with a preview of the DM before it goes live

That's a real product. If your goal is the result rather than the build, there's a faster path.

The shortcut: BuzzWire

BuzzWire is a comment-to-DM tool on Meta's official Instagram API. BuzzWire is a Verified Meta Tech Provider, and it connects through Meta's login, never a password.

Set up in three steps:

  1. Connect the Instagram professional account through Meta's login
  2. Pick a keyword (like GUIDE) and write the DM with your link, with a live iPhone preview
  3. Post your Reel with "Comment GUIDE for the link". Every matching comment gets the DM automatically

Free forever, on one Instagram account:

  • Unlimited DMs and unlimited automations
  • All three triggers: comment keywords on posts and Reels, story replies, and DM keywords
  • An optional public reply under the comment ("Sent! Check your DMs")
  • Message variations, so no two DMs read exactly alike
  • Replies and buttons in any language

Pro, $9.99/month or $79/year:

  • Follow Gate: invite people to follow you as part of the DM, with gentle reminders: people who go quiet get one nudge, then their link
  • In-DM lead capture: collect names and emails right in the chat and export them as a CSV to the email tool you already use
  • Image-card DMs that make the link stand out
  • Priority support

Every new account starts with 14 days of Pro, no card needed.

Who uses it

  • Creators who say "comment LINK" on Reels and want every commenter answered in seconds
  • Brands and online stores turning product comments into link clicks and email leads
  • Developers and freelancers setting it up for clients without maintaining a Meta app

Try it

Start free on BuzzWire: connect an account, set a keyword and have your first automated DM live in a few minutes.

Want the full non-technical walkthrough to share with a client? It's on our blog: How Instagram DM automation works, step by step.

Sources

BuzzWire is a Verified Meta Tech Provider. It isn't affiliated with or endorsed by Meta or Instagram.

Top comments (0)