How to Send Discount Codes via Instagram DM Automatically (Shopify Guide)

Automatically send unique Shopify discount codes via Instagram DM. Set up comment triggers, story replies and follow flows. Step-by-step. Free trial available.

How to Send Discount Codes via Instagram DM Automatically (Shopify Guide)

Automate Comments and DMs in 5 Minutes

Someone comments on your IG post. They get a DM instantly. You do nothing.

Trusted by 10K+ creators and SMBs

Table of content
Share this article
Twitter/XFacebookLinkedinPinterestTelegramWhatsapp

TL;DR

TL;DR

  • Inrō sends unique Shopify discount codes via Instagram DM automatically, triggered by comments, story replies and keywords in DMs
  • Each code is generated per user, preventing sharing or double-claiming, and is embedded in a pre-applied Shopify checkout link
  • Set up takes under 15 minutes with no developer required via Inrō's native Shopify integration
  • DM open rates for triggered discount messages average 70 to 85%, compared to 20 to 25% for email discount campaigns
  • Inrō operates through Meta's official Messaging API, making every discount flow fully compliant with Instagram's platform policies

What It Means to Send Discount Codes via Instagram DM Automatically

Sending discount codes via Instagram DM automatically means using a trigger-based system to detect a user action (a comment, a story reply, a keyword, or a follow) and immediately send that user a personalised Direct Message containing a discount code or a pre-applied checkout link, without any manual input from the brand.

This is not the same as posting a promo code in a caption or story. A public promo code can be shared, screenshot, and used by anyone. An automated DM discount is sent privately, tied to a specific user, and can be made unique per recipient. For Shopify brands, this means the code arrives as a pre-applied checkout URL: the customer clicks and lands directly at checkout with the discount already active, removing every friction point between the offer and the purchase.

The result is a conversion path that takes under 60 seconds from trigger to checkout, with no copy-pasting, no code memory required, and no opportunity for the customer to abandon the process mid-way.

How to Set Up Automated Discount DMs on Instagram with Inrō

Inrō connects to Instagram via Meta's official API and to Shopify via a native integration. The full setup process runs in under 15 minutes.

Step 1: Connect your Instagram account to Inrō

Log in to Inrō and connect your Instagram Professional account (Business or Creator) through the official Meta authentication flow. No password sharing required. Inrō uses OAuth, the same standard used by Meta Business Suite.

Step 2: Connect your Shopify store

Navigate to Inrō's integrations panel and authenticate your Shopify store. Once connected, Inrō can read your product catalogue, generate discount codes programmatically, and create pre-applied checkout URLs in real time.

Step 3: Choose your trigger type

Select the action that will fire the discount DM. Inrō supports four trigger types for discount flows:

  • Comment keyword trigger: a user comments a specific word on a post or Reel
  • Story reply trigger: a user replies to a specific story
  • DM keyword trigger: a user sends a specific word directly to your inbox
  • Story or post mention: someone mentions you in a story or a post

Step 4: Set up the discount parameters

Define the discount value (fixed amount or percentage), the applicable products or collections, the expiry window, and whether the code should be unique per user or a shared code. For most ecommerce use cases, unique per user is the recommended setting.

Step 5: Build the DM message

Write the DM copy using Inrō's message editor. Insert the personalisation variable for the user's first name and the dynamic Shopify link variable. Inrō replaces the link variable with a unique, pre-applied checkout URL at the moment the DM is sent.

Step 6: Set delivery rules and activate

Configure whether the flow fires once per user per post (Inrō's default), or once per user globally. Enable the flow. From this point, every qualifying trigger fires the DM automatically, 24 hours a day.

4 Discount DM Flows and When to Use Each

Inrō supports four distinct automated discount flows for Instagram. Each serves a different campaign objective.

Flow type Trigger Best use case Conversion stage
Comment-to-DM Keyword comment on post or Reel Product launches, flash sales, viral content BOF
Story reply Reply to a specific story frame Limited-time offers, countdown campaigns BOF
DM keyword User sends a keyword to your inbox Always-on discount for warm audience BOF
Mentions Someone mentions you in a story or a post Reward UGC, turn brand mentions into immediate purchase moment. BOF

Comment-to-DM discount is the highest-volume flow for most brands. A post caption instructs followers to comment a keyword ("Comment SAVE for 20% off"). The comment boosts the post's algorithmic reach while simultaneously triggering the DM. Inrō sends one DM per user per post by default, preventing spam and maintaining deliverability.

Story reply discount works best for time-sensitive campaigns. A story frame shows the offer and instructs viewers to reply with a word. Because story replies already feel like a private exchange, the discount DM that follows has very high perceived personalisation.

DM keyword discount is suited for always-on campaigns where a brand promotes a keyword across multiple touchpoints (bio, link-in-bio, ads). Any user who DMs the keyword at any time receives the discount automatically.

Mention-to-DM discount turns organic brand mentions into an immediate conversion moment. When a user mentions your account in their story or post, Inrō detects the mention and automatically sends them a DM with a discount reward. This flow works particularly well as a UGC incentive: customers who are already talking about your brand publicly receive a thank-you discount that brings them back to purchase, without any manual outreach from your team.

Why Unique Discount Codes per User Convert Better Than Shared Promo Codes

Unique per-user discount codes solve three problems that shared promo codes cannot.

The first is abuse prevention. A shared promo code posted publicly or sent in a DM can be screenshot, shared in group chats, or posted on discount aggregator sites. Once that happens, the offer reaches people outside the intended audience at full margin cost. Inrō generates a separate Shopify discount code for each user at the moment the DM fires, making the code functionally useless if shared because it is already tied to a Shopify checkout session.

The second is conversion rate. A pre-applied Shopify checkout link removes the copy-paste step that causes drop-off between receiving a discount and completing a purchase. Brands using Inrō's pre-applied link format report checkout initiation rates 30 to 40% higher than campaigns where the code needs to be manually entered.

The third is audience segmentation. Because each discount code is tied to a specific Instagram user, Inrō can track whether that user completed a purchase. This data feeds back into the CRM layer, enabling follow-up flows for users who received the discount but did not convert, and suppressing the offer for users who already purchased.

Why Inrō for Instagram Discount Automation

Inrō is the only Instagram DM automation platform built exclusively for Instagram through Meta's official Messaging API, with a native Shopify integration designed specifically for ecommerce discount flows.

Unlike generic chatbot builders adapted from Facebook Messenger, Inrō is built around Instagram's specific interaction model. The Shopify integration is native, which means real-time discount code generation and pre-applied checkout links work without additional setup or third-party connectors.

Inrō's unique-per-user code logic, one-DM-per-user-per-post default, and follow account age filters are features designed specifically for ecommerce brands running discount campaigns at volume, where abuse prevention and deliverability are as important as the conversion itself.

Your Story viewers are your warmest listeners. Stop letting them tap away to a link.

Set up Story reply automation in Inrō and send every episode link directly to their DMs. Under five minutes to configure.

FAQs

Can I send unique discount codes to each customer via Instagram DM automatically?

Yes. Inrō generates a separate Shopify discount code per user at the moment the DM is triggered. Each code is embedded in a pre-applied checkout URL, so the customer never needs to manually enter a code. This prevents sharing and ties each discount to a specific Instagram account.

How do I send a discount code via Instagram DM when someone comments on my post?

Set up a comment-to-DM flow in Inrō by defining a keyword trigger on a specific post or across all posts. When a user comments that keyword, Inrō automatically sends them a DM containing the discount. The full setup takes under 15 minutes and requires no developer work.

Is automated discount delivery via Instagram DM allowed by Meta?

Yes, provided the automation uses Meta's official Messaging API. Inrō operates exclusively through the official API, making every discount flow fully compliant with Instagram's platform policies. Automation tools that use unofficial API access or browser scripts are not compliant and risk account restriction.

How much does Inrō cost, and is there a free trial?

Inrō offers a free trial with no credit card required. Paid plans include access to comment-to-DM flows, the Shopify integration, unique discount code generation, and story reply triggers. Current pricing is available at inro.social.

What is the difference between a shared promo code and a unique per-user discount code?

A shared promo code is a single code (such as SAVE20) that any number of people can use. A unique per-user code is generated individually for each recipient and is tied to a specific Shopify checkout session. Unique codes prevent abuse, enable accurate attribution, and allow follow-up flows based on whether the recipient converted.

How do Instagram DM discount campaigns compare to email discount campaigns?

Instagram DM discount messages sent via triggered automation average 70 to 85% open rates, compared to 20 to 25% for email. Click-through rates on pre-applied checkout links in DMs typically run 15 to 30%, versus 2 to 5% for email. The gap is largest for time-sensitive campaigns where speed between delivery and action matters.

Can I use Inrō's discount DM flows with Shopify collections and specific product pages, not just store-wide discounts?

Yes. Inrō's Shopify integration allows discount codes to be scoped to specific products, collections, or order minimums. The pre-applied checkout link directs the user to the specific product or collection page with the discount already active, rather than the store homepage.

What happens if someone tries to use the same discount code twice?

Inrō's unique-per-user codes are generated as single-use codes in Shopify. Attempting to use the code a second time will show the standard Shopify invalid code message at checkout. Inrō also applies a one-DM-per-user-per-post default to prevent the same user from triggering the flow multiple times on a single post.

Join automations strategies and Instagram Insights weekly

Thank you! You have been susbcribed to our weekly insights!
Oops! Something went wrong while submitting the form.

By entering your email address above and clicking Subcribe, you consent to receive marketing communications (such as newsletters, blog posts, event invitations and new product updates), and targeted advertising from Inrō from time to time. You can unsubscribe from our marketing emails at anytime by clinking on the "Unsubscribe" link at the bottom of our emails. For more information about how we process personal information and what right you have on this respect, please see our Privacy Policy.

Last updated
April 28, 2026
Category
E-commerce

Related Articles

Try Inrō and leverage the power of Instagram marketing automation

Attract more leads, target them with DM marketing, and automate your interactions on Instagram!