Use caseUpdated November 14, 2026
Send links in Instagram DMs automatically
Links are the reason most creators automate comments. Someone asks for the recipe, the product or the playlist, and the answer is a URL that is awkward to type in public. A comment-to-DM rule puts that link in their inbox, once, without you copying and pasting.
The workflow
- 01
Choose the post and the trigger
Pick the Reel or post where the link belongs. Use a keyword like LINK or GUIDE, or any-comment mode when every comment should get the link.
- 02
Write the DM around the link
Keep it short: one sentence of context, the URL, and one next step. Personalize with {{name}} so it does not read like a broadcast.
- 03
Add repeat protection
Set a window (24 hours, 3 days, 7 days or once ever) so the same person is not sent the same link every time they comment.
- 04
Test, then arm the rule
Comment on the post yourself, check the DM and the delivery log, then enable the rule for everyone. Keep the old manual workflow until the test passes.
Where this works
- A recipe creator sends the printable recipe to everyone who comments RECIPE on a Reel.
- A clothing store sends the size guide and product page when someone comments SIZE.
- A newsletter sends a signup link to comments on a lead-magnet post.
- A musician sends the pre-save link to comments on a teaser clip.
Why link delivery belongs in DMs
A public comment is a bad place for a URL. Links in comments are hard to tap, easy to lose among other replies and often buried by Instagram's ordering. A DM is private, persistent and measurable: you can see that it was sent, and the recipient can open the link whenever they want.
Comment-to-DM also protects the conversation. The public reply can stay short — "Sent you a DM" — while the actual link and any context live in the inbox. That keeps the comment section readable and gives you a place to answer follow-up questions.
Keyword triggers versus any-comment mode
A keyword trigger is the most predictable option. You tell people in the caption to comment LINK, the rule matches that word, and everyone who follows the instruction gets the link. Whole-word matching means LINK does not fire on hyperlink, which keeps common words safe.
Any-comment mode is broader: every eligible commenter on the chosen post receives the DM. It works well for small accounts and high-intent posts, but it can surprise people who commented something unrelated. If you use it, say so in the caption and keep repeat protection on.
- Keyword: highest intent, easiest to explain in a caption.
- Any comment: widest reach, needs a clear caption cue.
- Exact phrase or contains: useful for multi-word requests like "send link".
- Regex: for teams that need precise matching and are comfortable testing it.
What the DM should contain
The best link DMs feel like a reply, not a brochure. Lead with the thing the person asked for, put the URL on its own line, and stop. If the link needs context — a discount code, an expiry date, a login step — add one short line, not a paragraph.
Personalization tokens such as {{name}} and {{username}} are optional. Use them when they make the message warmer; skip them when the link is the whole point. Avoid URL shorteners that hide the destination, because people are rightly suspicious of unknown short links.
Deliverability and rate limits
CodAI AutoDM sends through Instagram's official API. The platform decides how fast messages can go out, and a burst of comments can queue replies rather than deliver them instantly. That is normal and safer than ignoring the limit.
Private replies to comments are allowed within Instagram's reply window, and standard messaging windows apply to ongoing conversations. If a comment is old, the API may refuse a private reply. Build campaigns around fresh posts rather than months-old content.
Measure the link, not just the automation
Add UTM parameters to the URL so your analytics can distinguish DM traffic from bio traffic. A simple utm_source=instagram, utm_medium=dm and utm_campaign=reel-link set is enough to start.
Watch three numbers: DMs sent, links clicked and conversions. If sends are high but clicks are low, the message or the link is wrong. If clicks are high but conversions are low, the landing page is the problem, not the automation.
Frequently asked questions
Can I send different links to different commenters?
Yes, by using separate rules with different keywords or post scopes. One rule sends one message template. If you need branching based on what someone comments, create a rule per keyword rather than trying to build a conversation tree.
Will Instagram block my account for sending links in DMs?
Sending a link to someone who commented first is a normal business workflow on the official API. No automation is risk-free: Meta can restrict any account for policy violations, including spammy behaviour. Keep triggers relevant, respect opt-outs and avoid sending the same link repeatedly.
Do links in Instagram DMs work for everyone?
Recipients can open links in DMs, but some accounts restrict links from people they do not follow. That is an Instagram setting, not something a tool can override. A short, recognizable message from your business account reduces the chance of being ignored.
How many links can one automation send?
There is no contact-based cap in CodAI AutoDM, but Instagram's platform rate limits still apply. During a spike, sends queue. No tool can honestly promise unlimited delivery.
Can I use this for affiliate links?
Yes, provided you disclose the affiliate relationship clearly and follow the affiliate program's rules. Put the disclosure in the DM or on the landing page, and avoid presenting an affiliate link as a neutral recommendation.
Related reading
Sources checked
Set this workflow up in a few minutes
Connect a professional Instagram account, write one rule, and let CodAI AutoDM answer the next comment.
Start free