Skip to content

Discount code DM template

Shoppers comment a word on your post, and Alto sends their code by DM with a link to your shop. Ask for an email on the way and your Klaviyo list grows too.

Best for
Online shops
Runs on
InstagramFacebook
Built on
Auto Comment to DM
Works with
Klaviyo

How it works. Comment for a code. Shop in one tap.

  1. They comment for the code

    Post a product and ask people to comment a word like SOCKS for money off.

  2. The code arrives by DM

    Alto sends it in a message with a button that opens your shop.

  3. Their email goes to Klaviyo

    Ask before the code goes out, and new subscribers join your Klaviyo list.

  4. Posts and ads alike

    Point it at your ads as well as your posts, so ad comments turn into shoppers.

Every message, ready to copy. Pick a tone. Swap the brackets for yours.

  1. Caption

    In your post or ad

    Comment [KEYWORD] and we’ll DM you [discount] off your first order 💌

  2. Public reply

    Under their comment

    Check your DMs for your code 💌

  3. Opening DM

    First DM, with a button

    Thanks for your comment! Tap below and we’ll send your code.

    ButtonSend my code

  4. Email ask

    Before the code

    Want first look at new arrivals? Pop your email below and your code comes right after.

  5. The code

    With a link to your shop

    Here’s [discount] off your first order: [CODE]. Enjoy!

    ButtonShop now

  6. Follow-up

    If the shop link isn’t opened

    Your code [CODE] is waiting above, ready when you are.

Make it yours. Name the offer, set the code, grow your list.

  • A keyword that names the product

    Shoppers know exactly what they’ll get, and the comments read like demand.

    • SOCKS
    • CODE
    • DROP
    • SALE
  • An offer worth commenting for

    Use a code you’ve already set up in your store, then paste it into the message.

    • 15% off
    • Free shipping
    • Early access
  • Subscribers in Klaviyo

    Ask for an email before the code and every new subscriber is ready for your next campaign.

    • KlaviyoKlaviyo
  • What to watch

    Total clicks and click-through rate show how many people went from the DM to your shop.

    • Total clicks
    • Click-through rate
    • Emails collected

Discount code DM FAQs

Have something else in mind?
Talk to the Alto team.

How do I send a discount code by DM automatically?

Create the code in your store, then paste it into this template’s code message. When someone comments your keyword, Alto sends it by DM with a button to your shop.

Can I run it on Instagram and Facebook ads?

Yes. Point the template at your ads as well as your posts, and people who comment on the ad get the code too.

Can I collect emails for Klaviyo?

Yes. Turn on the email ask and new subscribers go straight to your Klaviyo list before the code goes out.

Is it free?

Yes. Comment-to-DM campaigns, the email ask and sending subscribers to Klaviyo are all on Alto’s Free plan.

Can the AI agent share discounts instead?

Yes, on Pro. The AI DM Agent can share discounts you’ve approved in Shopify while it answers shoppers’ questions.

More templates. Workflows that pair well with this one.

Grow your list

Comment-to-DM lead magnet

People comment a keyword, get your freebie by DM, and their email lands on your list.

InstagramFacebookCreators & coaches
Grow your list

DM keyword auto-reply

Say “DM me a word” in a Reel, podcast or video, and Alto sends the freebie and collects the email.

InstagramFacebookTikTokWhatsAppCreators & coaches
Grow your list

Giveaway entries

Everyone who comments gets a DM confirming their entry, and lands on one list you can pick a winner from.

InstagramFacebookEcommerce