Shopify logo icon sms icon

Create Unique Discount Codes for New Shopify Customers

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

Build customer loyalty and boost repeat sales with automated discount codes for new Shopify customers. This MESA workflow generates a unique 20% off code for first-time buyers and sends it via SMS, valid for 14 days. Welcoming new customers with a tailored incentive helps boost conversions and keeps them coming back to your store.

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.

A new customer is added

Trigger the workflow whenever a new customer account is created in Shopify.

When a new customer is created
Step 2.

Create a price rule

Using the Create Price Rule step, you can define the discount conditions. In this instance, we’re adding a code for 20% off the order.

Ceate a new Price Rule
Step 3.

Retrieve the price rule

Next, the Retrieve Price Rule step fetches the newly created price rule to use its ID in subsequent steps.

Retrieve the new Price Rule for it's ID value
Step 4.

Generate a unique discount code

From the Create Price Rule Discount Code step, you can now create a discount code specific to the new customer.

Create Discount Code
Step 5.

Tag the customer with the discount code

The Customer Add Tag step adds the unique discount code as a tag to the customer's profile.

Tag the customer
Step 6.

Verify customer phone number

The built-in Filter tool confirms that the customer's phone number is valid before sending an SMS.

Check if the customer has a phone number
Step 7.

Send SMS with discount code

Finally, the built-in SMS tool notifies the customer via SMS about their discount.

Send SMS message to the customer

Create Unique Discount Codes for New Shopify Customers

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: Chubbies
  • 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.