How it works
Follow these 9 simple steps to start generating unique product discount codes for new customers automatically
Customer Created
Customer Created
Create Price Rule
Create Price Rule
Retrieve Price Rule
Retrieve Price Rule
Create Price Rule Discount Code
Create Price Rule Discount Code
Customer Add Tag
Customer Add Tag
Retrieve Product
Retrieve Product
Retrieve Shop
Retrieve Shop
Filter: Phone Number Check
Filter: Phone Number Check
Send Message
Send Message
Make it your own
Customize this workflow even further:
Add email notification
Insert an email step (either replacing or supplementing SMS) that sends a welcome email with the discount code, product image, and call-to-action button, providing a richer notification experience.
Create tiered discounts
Add conditional logic that checks customer tags, order history, or other factors and varies discount amounts for different customer segments, creating VIP welcome offers.
Apply to product collections
Modify the price rule to use entitled_collection_ids instead of entitled_product_ids, allowing the discount to work on any product in a collection like "Welcome Collection" or "First Purchase Items".
Send reminder SMS
Create a companion workflow triggered by a schedule that checks for customers with welcome code tags who haven't placed orders and sends reminder texts before codes expire.
Frequently asked questions
Can customers share their discount codes?
No, the price rule is restricted to the specific customer's ID (prerequisite_customer_ids). Even if someone else obtains the code, it won't work for them. Only the customer who received it can use it.
What happens if a customer creates an account but doesn't provide a phone number?
They still receive the discount code and customer tag, they just won't get the SMS notification. Consider adding an email step to notify customers without phone numbers, or display the code on the post-signup page.
Can I change which product the discount applies to without recreating the workflow?
You'll need to update the configuration in the "Create Price Rule" step. Edit the entitled_product_ids field with the new product ID, and update the SMS message to reference the new product name.
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.
Are templates free?
Yes! Our entire library containing hundreds of templates are free to use and customize to your exact needs.
Ready to start generating unique product discount codes for new customers automatically?
Join thousands who've automated their work and saved an average of 3.5 hours every week.
Use this template — It's free7-day free trial • 17 min setup • Cancel anytime