Automated E-mail with Discount Code to specific Customer Segments for code to have an expiry date

Automated E-mail with Discount Code to specific Customer Segments for code to have an expiry date

onyx_au
Explorer
68 1 22

Hello,

I have an automated e-mail that sends out to customers that haven't purchased for more than than 90 days and in that e-mail has a discount code.

Since the discount code does NOT have an expiry date, how can I make the discount code have an expiry date every-time a customer gets the email?

For example:
Customer 1 gets the automated email on 1st January but I need the code to end 30 days later to customer 1. Code will end 30th January


Customer 2 gets the same e-mail on 5th January with the same code, but that code for customer 2 should end 30 days later from the e-mail sent on February 4th.

How can I set up the discount code like this?

Replies 5 (5)
onyx_au
Explorer
68 1 22

Hello,

 

Klaviyo automations does not have advance coupon settings.

 

I need the coupon to expire at a certain day period when the email is sent. I can't have the same end date for a coupon. I need the coupon to end, for example, 30 days when an automated e-mail is sent to the customer.

Kalen_Jordan
Shopify Partner
521 17 77

If you're open to a 3rd party app, I can build out a workflow automation using our app mesa to do this for you.

Kalen_Jordan
Shopify Partner
521 17 77

I built out a workflow automation demo for this use case. 

https://www.getmesa.com/blog/generate-auto-expiring-customer-specific-coupon-codes-demo/?_thumbnail_...

 

Screenshot 2024-01-23 at 8.25.17 AM.png

I'm not sure how you're sending the email, but note that it wouldn't be possible to pull a variable from a flow into Shopify Email. So even though we could trigger this from flow and generate the coupon code, you wouldn't be able to pull it into an email.

 

We can send an email directly using mesa if that's of interest though, and should be able to integrate with any ESP if it's possible to do so via their API/integrations.

 

Also interesting to note that while Klaviyo does allow you to ping a webhook from within an automated flow, they don't allow you to read any of the data that the webhook returns in order to use it in the flow.

OneMobile
Shopify Partner
169 16 34

Hi @onyx_au 

 

I recommend using couponcarrier.io in conjunction with your email platform for this task. For instance, as I know, you can integrate Coupon Carrier with Zapier to create and send your customers unique time-sensitive discounts.

 

You can check out more information about the integration here: https://zapier.com/apps/coupon-carrier/integrations/email

 

I hope that this helps!

If you find my answer helpful, please hit the Like button or Mark as solution to show me some encouragement.
OneMobile: The #1 Mobile App Builder For Shopify Merchants
Pick ready-made themes & customize with drag-n-drop editor.

tobebuilds
Shopify Partner
324 19 89

Hi Onyx_au,

 

You could potentially:

 

  • Generate a unique discount code for each customer that receives this email
  • Set the expiry date on the discount to 30 days after it was created

That being said, this would be time-consuming to do by hand, so I would recommend looking for a software-based solution for this.

 

I'm not sure if there are any apps on the App Store that do this, but you could probably find a developer to help you build this as a custom app.

 

Depending on your email provider, you might also be able to generate unique discount codes directly in the email service itself.

 

Best,

Tobe