Guide

How to auto-DM Instagram comments (the official-API way)

Keyword comment in, tracked link out — set up the whole loop in minutes.

By CommentFor · Published · Updated

"Comment LINK and I'll send it to you" gives readers a clear way to request a specific resource. A keyword comment can trigger delivery of that resource; it does not establish permission for unrelated ongoing messages. Answering them by hand is the part that doesn't scale. Here's how to automate it properly, using Meta's official API rather than the shortcuts that get accounts banned.

What you need

  • An Instagram professional account (Business or Creator — switching is free in the Instagram app, and the official API requires it).
  • A post or reel to attach the automation to, or a story on the paid plans.
  • The link you want delivered.

Step 1: Connect through Instagram login

A legitimate tool never asks for your Instagram password. With CommentFor you connect through Meta's official Instagram login: Meta issues the platform a scoped, revocable connection, and you can cut it off any time from your Instagram settings.

Step 2: Pick a trigger and a keyword

Choose a specific post or reel, apply the automation to every post, or arm it for the next post you publish. Then pick the keyword — "LINK", "GUIDE", "PRICE", anything short enough that people will actually type it. One keyword per campaign keeps your analytics clean.

Step 3: Write the DM

Keep it human: a one-liner plus the link. Starter templates cover the common plays — link delivery, lead magnet, waitlist, discount, content upgrade. The link goes out as a tracked short link, so every click is counted per campaign.

Step 4 (optional): Add gates

Two gates can sit between the comment and the link, both on the paid plans. The follow-gate asks the commenter to follow you first and delivers automatically once they do. The email gate asks for an email address in the DM, captures it (with Kit or Flodesk forwarding on the paid plans, and CSV export on the Agency plan), then sends the link. They chain: follow → email → link.

The platform rules your tool must respect

Instagram's private-reply rules are concrete, and a good tool enforces them for you so you never have to think about them:

  • One private reply per comment — you can't message the same comment twice.
  • A 7-day window — the reply must go out within 7 days of the comment.
  • 750 private replies per hour — the limit per professional account. CommentFor paces sends under it and queues bursts while the reply window remains open.

We wrote a deeper explainer on these limits: Instagram's private-reply limits, explained.

Already went viral? Rewind it.

If a post takes off before you set up the automation, Rewind messages the people who already commented — inside that same 7-day window, one reply per comment, exactly as the platform allows.

Measure, then repeat

Because every delivered link is tracked, you can see which post, keyword, and message actually earn clicks — and reuse what works with templates. That loop, run weekly, is the whole growth system.

A worked example: deliver a photography checklist

Choose one post that explains the checklist. Its caption can say, “Comment CHECKLIST and I’ll send you the shoot-planning guide.” Configure CHECKLIST as the trigger and use a DM such as, “Here’s the guide you asked for: [your link]. Start with the equipment checklist before your next shoot.” Replace the placeholder with the actual guide address.

In this example the comment, keyword, message, and destination all describe the same resource. You do not need a more complex conversation to deliver one useful link. If you add email capture or a follow gate on a paid plan, explain that requirement before the person comments.

Test before promoting the post

  1. Confirm the selected post belongs to the connected account.
  2. Save the final message and confirm the campaign is active.
  3. Have a second account leave a fresh matching comment.
  4. Check the received DM and message requests.
  5. Open the link on a phone and complete the promised action.

Do not reuse a comment that has already received a private reply as your test. If the first test does not work, follow the delivery troubleshooting checklist. It separates trigger problems from queues and destination problems.

Keep the promise and the measurement separate

A tracked click tells you someone opened the link; a download or sale must be measured at the destination. Add a campaign identifier to the destination using the UTM tracking workflow, then compare defined actions instead of treating every DM as a conversion.

For more message examples, see 12 keyword-triggered DM templates. For platform requirements, consult Meta’s private-replies documentation.