Summarize this with
Preview of the DM automation 👇
TL;DR: An affiliate link flow via Instagram DM automatically sends every follower who comments a specific keyword your affiliate link as a clickable message, including click tracking for your commission. In this copy-paste guide you build the complete flow in under 5 minutes with replient.ai. GDPR-compliant, Meta-official, also runs on Facebook.
A few months ago I was sitting in the office with my brother Markus when a fitness creator from Hamburg called us. 47,000 followers, strong reels, and under every post the same question: “Which protein powder do you use?” Her answer? Manually replying to every single comment with a link-in-bio reference. “I'm losing commissions because I can't keep up,” she said. Afterwards Markus remarked: “She sends people to the bio, but 80% scroll on before they get there.” He was right. The solution: instead of the detour via the bio, the affiliate link straight into the inbox via DM. Automated, with click tracking, and within seconds after the comment.
Why affiliate links work better via DM than link-in-bio
Every creator knows the problem: Instagram doesn't allow clickable links in post captions. The standard solution, “link in bio,” has a decisive bottleneck: the follower has to leave the comment, navigate to the profile, find the right link, and only then click. At every step you lose people.
DMs eliminate this friction completely:
- 90% open rate for DMs vs. ~20% for emails. Whoever gets a DM reads it almost for sure (LeadResponse, 2026).
- 391% higher conversion when responding within one minute. An automation responds in seconds, no human can manage that with 200 comments at the same time (LeadResponse, 2026).
- Affiliate marketing keeps growing: According to Influencer Marketing Hub, the global affiliate marketing industry has grown to over 18.5 billion USD (2024). Creators who distribute their affiliate links actively and efficiently benefit disproportionately.
- Instagram has over 2 billion active users monthly (Backlinko, 2025), your followers are there, the only question is whether your link reaches them.
The trick: instead of “link in bio” you write in the caption “Comment LINK for direct access via DM.” The follower comments, gets the affiliate link immediately as a clickable message in their DMs, including tracking so you know who clicked.
The complete affiliate link flow: what we're building today
This flow is intentionally lean. Affiliate links do not need complex decision trees, the follower wants the link, and you want the commission. Three steps are enough:
- Trigger – Comment with a keyword (e.g. “LINK”, “PRODUCT”, “INFO”) under your post
- Send Message, Personalized welcome DM with product context
- Send Link, Clickable affiliate link with button and built-in click tracking
Optionally on top of that:
- Time Delay + Follow-up, Reminder after 24 hours for followers who haven't clicked yet
Building block 1: Trigger – keyword comment as the entry point
You post a reel or carousel about a product you recommend as an affiliate. In the caption you write: “Comment LINK and I'll send you the product link straight via DM.”
In the replient.ai Automation Builder:
- Trigger type: “Someone comments on your post”
- Keyword: “LINK” (or “PRODUCT”, “INFO” – depending on your niche)
- Scope: “Caption or comment contains keyword”
- Post selection: A specific post or all posts
The trigger fires as soon as a follower comments the keyword, whether at 2 PM or 3 AM.

Building block 2: Send Message – personal greeting
Before the link arrives, the follower gets a short, personal message. No cold link dump, it feels spammy and damages your relationship with the community.
Example message:
Hey {{username}}! 👋 Thanks for your interest in the product. Here’s the link. I have been using it myself for months and I’m convinced. Feel free to ask me if you have any questions!
The variable {{username}} is automatically replaced with the follower's Instagram username. This is not a generic bot, it feels personal.

Building block 3: Send Link – affiliate link with click tracking
This is where the magic happens. The Send Link step sends a clickable button directly into the follower's DM.
How to configure it:
- URL: Your affiliate link (e.g. Amazon PartnerNet, Digistore24, AWIN, or any other platform)
- Title: e.g. “The protein powder I use”
- Subtitle: e.g. “My top product for after training”
- Button text: e.g. “View now” or “To the product”
Click tracking is automatically enabled. replient.ai creates a tracking link that records every click, then redirects to your affiliate link. This lets you see exactly in the dashboard how many followers clicked, independent of your affiliate network's tracking. An additional data source for your commissions.
UTM parameters in your affiliate link are fully preserved. So you can append ?utm_source=replient_dm&utm_medium=instagram to your link and track the data in Google Analytics.

Building block 4 (optional): Follow-up after 24 hours
Not every follower clicks immediately. A gentle follow-up significantly increases click-through rate:
- Time Delay: 24 hours
- Send Message: “Hey {{username}}, have you already looked at the product? Here's the link again, the offer is only valid this week.”
Whether you use this step depends on your affiliate program. For time-limited deals (Amazon Lightning Deals, seasonal discounts) a follow-up definitely makes sense. For evergreen products you can skip it.
Who is this template for?
This template is for anyone who wants to monetize affiliate links on Instagram, whether as a main source of income or as side income:
- Content Creator with product recommendations (beauty, fitness, tech, food)
- Influencer with brand deals and affiliate partnerships
- Niche bloggers who promote Amazon affiliate links or Digistore24 products
- Coaches and consultants who recommend tools and books
- Musicians and artists who share merch or ticket links
Whether you have 5,000 or 500,000 followers, the flow scales automatically with your reach.
Why DM automation is better than the manual approach
Let's do the math. You post a reel about an affiliate product. 80 comments ask for the link.
Manual:
- Opening 80 DMs, typing, inserting the link: about 60 minutes
- No tracking of who clicked
- Comments from 11 PM remain until tomorrow, the follower has forgotten what it was about
With automation:
- One-time setup: 5 minutes
- All 80 DMs sent in seconds, with click tracking
- Even the comment at 3 AM gets its link immediately
Does this work on Facebook too?
Yes. This template uses only triggers and actions that work on Instagram and Facebook: Comment Trigger, Send Message, and Send Link are available on both platforms.
Three differences on Facebook:
- Page comments instead of profile comments. On Facebook, the flow is triggered by comments on your Facebook page (Page), not on your personal profile.
- Ad comments work as well. Are you running a Facebook ad for your affiliate product? Any comment containing your keyword triggers the flow. Especially effective with product comparison ads.
- 24-hour messaging window. Facebook has a 24h window for Messenger messages. The initial contact (Send Message + Send Link) always goes through. Follow-ups must be sent within 24h of the user's last interaction.
In replient.ai you create a single flow for both platforms, no duplicate setup required.
Labeling affiliate links: What you need to know
A brief note on GDPR and advertising disclosure obligations, because this topic is especially relevant for affiliate links:
- Advertising disclosure: In the caption and/or the Send Message text it should be clear that this is an affiliate link (e.g. label it “affiliate link” or “advertisement”). This is mandatory under German UWG (Act Against Unfair Competition) and the Interstate Media Treaty.
- GDPR: replient.ai processes data as a data processor on EU servers. A DPA (data processing agreement) is in place. The follower initiates contact themselves by commenting, the legal basis is Art. 6(1)(a)/(b) GDPR.
- Meta Business Partner: replient.ai uses the official Instagram Graph API. No scraping, no third-party hacks, no shadowban risk for your Instagram account.
Best practices: How to get the most out of your affiliate links
From our experience with hundreds of creator accounts, a few patterns have emerged:
- One keyword per product. Use “PROTEIN” for the protein powder and “MAT” for the yoga mat. That way you can automate a different affiliate product per post and never lose track.
- Don't forget the caption CTA. The flow only works if the follower knows what to comment. “Comment LINK and I'll send you the product link via DM” is crystal clear.
- Multiple affiliate links? Multiple flows. For each partner link create a separate automation. That keeps click tracking clean and tells you which product performs on which post.
- Use the dashboard. In the replient.ai Analytics dashboard you can see, per automation step, how many links were clicked. Compare different posts and products to see where your followers convert the most.
FAQ
Do I need a Business or Creator account for DM automation?
Yes. Instagram only allows DM automation via the official Graph API, and that is only available for Business and Creator accounts. Switching is free and takes 2 minutes in your Instagram settings.
Does this work with Amazon affiliate links?
Yes. You can use any link, Amazon PartnerNet, Digistore24, AWIN, ShareASale, CJ Affiliate, or direct partner links from brands. The URL is forwarded unchanged, including all tracking parameters.
How many different affiliate links can I automate?
Unlimited. Per automation you create a flow with one keyword and one link. You can run as many automations in parallel as you want, for different posts and different products.
Is it safe for my Instagram account?
Yes. replient.ai is an official Meta Business Partner and uses only the official Instagram Graph API. No scraping, no browser automation, no shadowban risk. Over 1,000 brands use replient.ai daily.
What does replient.ai cost?
There is a 14-day free trial. After that, plans start at affordable monthly rates, significantly less than you can earn in commission from a single well-placed affiliate link. Find the current prices here.
Does this template also work on my Facebook page?
Yes. Comment Trigger, Send Message and Send Link are available on Instagram and Facebook. You only need a connected Facebook page. The flow works identically, also for comments under Facebook ads.
Do I have to disclose affiliate links?
Yes. Under German law (UWG, Interstate Media Treaty) you must disclose affiliate links as advertising. Add a note like “affiliate link” or “advertisement” in your caption or the Send Message text.
Use this template
Want to set up the affiliate link flow right away? Here's how:
- Create a free replient.ai account (14-day free trial)
- Connect your Instagram Business or Creator account
- Go to DM Automations → Create new automation
- Build the flow as described above: Trigger -> Send Message -> Send Link
- Save your affiliate link in the link library with the desired button text
- Activate the automation, done
From now on, any follower who comments your keyword will automatically get your affiliate link via DM. Includes click tracking, 24/7, even while you sleep.
About the author

Thomas Danninger
Co-Founder, replient.ai
Thomas ist Co-Founder von replient.ai und Experte für KI-gestütztes Social Media Kommentar-Management. Er schreibt über Automatisierung, Community Management und effiziente Kommentar-Moderation für wachsende Brands.
