Guide

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

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

Published 21 August 2026 · 6 min read

"Comment LINK and I'll send it to you" is one of the most effective calls to action on Instagram — every comment pushes your post further, and every commenter has explicitly asked to hear from you. 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, reel, or story to attach the automation to.
  • 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. 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 CSV export and Kit or Flodesk forwarding), 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 platform-wide rate limit. commentfor paces every send safely under it and queues bursts, so a viral spike gets handled instead of dropped.

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.