Is it possible to create unique discount codes and email them to customers in Flows?

Solved

Is it possible to create unique discount codes and email them to customers in Flows?

jimmymacA50
Shopify Partner
1 0 0

I'd like to use Shopify Flow and Email to send unique, single-use abandoned cart and win-back discount codes rather than a generic code that can then be uploaded to coupon sites. Is this currently possibility? We're currently evaluating ESP's and looking for this feature because we've found our non-unique codes on coupon sites. 

Accepted Solution (1)

niccev
Shopify Staff
1 1 1

This is an accepted solution.

Shopify doesn't currently have the ability to generate unique discount codes for individual customers through Flow or Email. However, there are third party apps on the Shopify app store that can be used to help generate unique discount codes. You can also set usage limits or have time-limited codes.

View solution in original post

Replies 2 (2)

niccev
Shopify Staff
1 1 1

This is an accepted solution.

Shopify doesn't currently have the ability to generate unique discount codes for individual customers through Flow or Email. However, there are third party apps on the Shopify app store that can be used to help generate unique discount codes. You can also set usage limits or have time-limited codes.

anishable
Shopify Partner
1 0 0

Hey Jimmy,

I may try something like this.

- Create a flow with customer created trigger / Customer added to segment (abandoned cart) i guess
- In this, add a mutation to via Send Admin API (Shopify Action)
- Edit the Mutation field of "code" such that it can have a unique value like this
  - "SAMPLE-CODE-{customerID}"
- Everytime this will create a Discount with code which will be unique to each customer
- To send email to that customer, I think you can use some Email Service to send email to that customer or maybe Shopify email app but I think it sends emails to customers only I don't know exactly but you already have unique discount codes created

Let me know if this helps. Ciaoo!