Shopify logo icon sms icon

Generate Unique Discount Codes for New Shopify Customers on Specific Products

Use this template
  • Contains Premium usage steps
  • 100% fully customizable
  • Includes 7-day free trial
  • Live chat, email support
  • Setup services available

Drive repeat purchases by offering new customers a unique discount code for a specific product. This MESA workflow template automatically generates a 20% off discount code when a new customer is created in Shopify, sending it to them via SMS for use within 14 days. Customize the discount and target product to create urgency and turn first-time buyers into loyal customers, enhancing customer retention and driving future sales.

Frequently asked questions:

What is a template?

Templates are pre-made workflows by our team of experts. Instead of building a workflow from scratch, these have all the steps needed to complete the task.

Can I personalize a template?

Yes! Every step can be customized to meet your exact requirements. Additionally, you can even add more steps and make it more sophisticated.

Can MESA handle the setup for me?

Yes, check out our Expert Workflow Setup. We'll collaborate with you to craft the perfect workflow so you're up and running with confidence.

How this template works:

Step 1.

New customer created in Shopify

Trigger the workflow when a new customer account is created, initiating the discount process.

New customer created in Shopify
Step 2.

Create a unique discount code for 20% off a specific product

Generate a price rule in Shopify offering a 20% discount on a specific product. The rule is valid for 14 days and targeted specifically at the new customer.

Step 3.

Retrieve price rule

Fetch the details of the newly created price rule to prepare for generating a discount code.

Step 4.

Generate unique discount code

Create a personalized discount code tied to the price rule, allowing the customer to claim their offer.

Step 5.

Tag customer with discount code

Add a tag to the customer's Shopify profile with the unique discount code for easy tracking and reference.

Step 6.

Retrieve product details

Fetch details of the targeted product included in the discount to personalize the notification message.

Step 7.

Filter for phone number

Ensure the customer has a valid phone number before proceeding to send an SMS.

Step 8.

Send discount code via SMS

Send a text message to the customer with the discount code, product details, and a thank-you message, encouraging them to make a purchase within the 14-day window.

Generate Unique Discount Codes for New Shopify Customers on Specific Products

100% customizable. No code required.

Rated 4.8 out of 5 stars on the Shopify App Store

Use this template

Loved by 3k+ brands using Shopify & Shopify Plus.

  • Logo: GLDN
  • Logo: MUD/WTR
  • Logo: Bartesian
  • Logo: Allure
  • Logo: Made In Cookware
  • Logo: Rothy's
  • Logo: Jackie Smith
  • Logo: Full Focus
  • Logo: Car Living
  • icon star orange
  • icon star orange
  • icon star orange
  • icon star orange
  • icon star orange

Fully supported by Shopify experts.

Get help from our team of Shopify experts and industry partners, who are dedicated to ensuring your MESA experience is smooth, efficient, and tailored to your exact business needs.

icon support docs

Knowledge Base

Training guides, tutorials, and platform documentation.

icon partners

Service Partners

Consult on automation strategy to build your workflow.

icon support team

Contact us

5-star customer support and live chat for automations.

MESA is the most customizable Shopify automation app.