Guide · Ecommerce

Share coupon codes via Instagram DM automation

Turn every comment into a sale. Set up a keyword trigger so followers who comment on your post or reel instantly get a DM with your discount code — no manual replies, no missed leads.

How the comment-to-DM coupon workflow works

The workflow is simple and runs entirely on Instagram's official Messaging API:

  1. You post a reel, image, or carousel with a call to action: "Comment SALE for 20% off."
  2. A follower comments the keyword.
  3. EasyDM receives the webhook, matches the keyword, and sends that user a DM.
  4. The DM contains your coupon code and a button linking to the checkout or product page.
  5. Optionally, the automation also replies publicly to the comment ("Sent! Check your DMs 💌") to drive social proof.

Best use cases

Product launches

Push a launch-day discount to everyone who engages with your announcement reel.

Flash sales

Cap-limited coupons that expire in 24 hours — comments spike and drive urgency.

Giveaways & contests

Send a consolation coupon to non-winners to recover the drop-off.

Affiliate & creator drops

Give each creator a unique code and auto-DM it to their audience from your handle.

Unique codes vs one shared code

A single shared code (like INSTA20) is the fastest to set up — the same code goes to every commenter. It's ideal for launches, where reach matters more than attribution.

Unique codes per user are better when you want to track attribution, prevent sharing, or run creator-specific drops. Connect your Shopify (or any ecommerce) store to EasyDM and the automation will pull a fresh unused code from a pool for each DM.

Set it up in EasyDM in 4 steps

  1. Connect Instagram. Link your Instagram Business or Creator account (via the official Meta OAuth).
  2. Create an automation. Pick the post or reel, add trigger keywords (e.g. SALE, CODE, DISCOUNT).
  3. Write the DM. Paste your coupon code and a redemption link. Optionally add an image and a button.
  4. Turn it on. New comments matching the keyword get an instant DM. Track opens, clicks, and redemptions in the dashboard.

Tips for higher redemption rates

Frequently asked questions

Can I send coupon codes automatically through Instagram DMs?

Yes. Using the official Instagram Messaging API, tools like EasyDM detect a keyword comment on your post or reel and instantly send that user a DM containing your coupon code and a link to redeem it.

Should I use one shared coupon or unique codes per user?

A single shared code (e.g. INSTA20) is easiest and works well for launches. Unique codes are better for tracking attribution and preventing sharing — connect your Shopify or ecommerce store and EasyDM can pull one unique code per DM.

Is automating coupon DMs allowed by Instagram?

Yes, when the automation uses the official Instagram Graph API through an approved provider. EasyDM uses only the official API — no scraping or unofficial logins — so accounts stay safe.

What's a good keyword to use for the trigger?

Pick something short, memorable, and tied to the offer: SALE, CODE, DISCOUNT, or the product name. Tell followers exactly what to comment in your caption and first pinned comment.

How fast is the DM delivered?

Under a few seconds. EasyDM listens to Instagram webhooks in real time, so the coupon lands in the user's inbox almost immediately after they comment.

Start sending coupons on autopilot

Launch your first comment-to-DM coupon automation in under 5 minutes.

Try EasyDM free

Related: Instagram DM automation: how it works & best tools