# Send a discount code automatically on Instagram DM

Ask people to comment a keyword, and SuperProfile DMs them a discount code with a button to your payment page.

[Start for free](https://superprofile.bio/signup)

## How it works
- **Trigger:** A keyword comment, Story reply, Live comment or DM
- **The DM:** A text message with your discount code and a button to your SuperProfile payment page
- **Then:** Follow-ups can run when the product was or was not bought, when the link was not clicked, or when there is no reply
![Sample Reel comment with the keyword SAVE next to the DM the commenter receives with a discount code and a Shop now button](https://superprofile.bio/seo-img/use-case-discount-code.webp)

Sample data. The keyword comment triggers a DM with the discount code as text and a button to the payment page.

## How do I set it up?

1. Create a discount code on your SuperProfile payment page: a percentage or fixed amount off, with an optional expiry.
2. Create an automation with the keyword trigger.
3. Write the DM with the code as text, and add a button to the payment page.
4. Publish, and mention the keyword in your Reel or Story.

## Where does the discount code come from?
A SuperProfile payment page can carry one or more discount codes (a percentage or a fixed amount off, with an optional expiry), checked by exact code match at checkout; there is no per-buyer unique code and no way to see which DM or automation a redemption came from.

## Does each commenter get a different code?
No. The code is written into the message text, so one automation always sends the same code; it is not generated per person. A DM message is text the creator writes once; the only dynamic insertions are Name, Email and FollowerCount, filled in from the person who messaged — there is no discount-code or coupon variable, so a code is fixed in the message text rather than generated per recipient. If you want different codes for different audiences, run separate automations, each with its own keyword and its own code.

## Can an AI assistant set this up?
Yes. Connect the [SuperProfile MCP server](https://superprofile.bio/mcp) to Claude, ChatGPT or another assistant and ask: “Create a draft automation for my latest Reel: when someone comments SAVE, DM them the code SAVE15 with a button to my payment page.” A new automation starts as a draft you review before it goes live. [Auto-DM with an AI assistant](https://superprofile.bio/mcp/instagram-auto-dm).

## Things to know
Meta's messaging windows and rules apply to all messages; a follow-up's delay counts from when the primary DM goes out, not from the person's message, and can be set up to 23 hours. Auto-DM on Stories and Lives, ask-to-follow, email collection and follow-ups need a paid plan; see [superprofile.bio](https://superprofile.bio/) for plans.

## Frequently asked questions

### Does every commenter get a different code?
No. A DM message is text the creator writes once; the only dynamic insertions are Name, Email and FollowerCount, filled in from the person who messaged — there is no discount-code or coupon variable, so a code is fixed in the message text rather than generated per recipient.

### Is there a limit on how many times the code can be used?
No. A payment-page discount code has no cap on how many times it can be used; give it an optional expiry date if you want it to end. A SuperProfile payment page can carry one or more discount codes (a percentage or a fixed amount off, with an optional expiry), checked by exact code match at checkout; there is no per-buyer unique code and no way to see which DM or automation a redemption came from.

### Is there a free plan?
Yes: Auto-DM on Instagram posts and Reels, one keyword per automation, text-and-button DMs that end with a short "Sent via" line naming SuperProfile's Instagram account; the free plan sets no cap on contacts or DMs; Meta's messaging limits still apply. Auto-DM on Stories and Lives, ask-to-follow, email collection and follow-ups need a paid plan.

## More Auto-DM use cases

- [Instagram auto DMs: how Auto-DM works](https://superprofile.bio/auto-dm)
- [All Auto-DM use cases](https://superprofile.bio/auto-dm/use-cases)
- [Instagram comment automation: send a DM when someone comments](https://superprofile.bio/auto-dm/use-cases/comment-to-dm)
- [Grow followers with a follow request in the DM](https://superprofile.bio/auto-dm/use-cases/grow-followers)
- [Collect emails from Instagram comments and DMs](https://superprofile.bio/auto-dm/use-cases/collect-emails)
- [Sell your products from Instagram DMs](https://superprofile.bio/auto-dm/use-cases/sell-products)
- [Automate Facebook Messenger replies](https://superprofile.bio/auto-dm/use-cases/messenger)

Last updated 20 November 2026.

Source: https://superprofile.bio/auto-dm/use-cases/discount-code
