Looks like it may not be possible to create discounts in flow. I could build out an automation template for you to do this using our app mesa if you're interested in that?
Hi @Kalen_Jordan . I asked for that from support also and it's not possible with Shopify Flow.
So does the MESA create the unique discount codes for each order?
Yes exactly - here's a template for it:
Instead of creating a unique discount code per client (which can potentially clutter your backend if you have many), you can use automatic discounts.
For example, here's how you can give Mike a 10% discount by combining Shopify Flow with my app, Regios Automatic Discounts:
First, create a workflow in Shopify Flow that adds a specific tag (ex. "BoughtProductX") to a customer, if the order line items contain a specific product. Here's a screenshot of a demo workflow:
Then, in Regios Automatic Discounts, use the "Customers with specific tags" option to give a 10% discount to all customers who have the "BoughtProductX" tag. Here's a screenshot of what it looks like to create a discount based on a tag:
Once you've turned on your workflow and saved your discount, any customer who buys Product X, will automatically receive a discount on the products you specify.
If you don't want to use an app, you can create your own discount using Shopify Functions.
If you have any questions, just reply, and I'll be happy to help you out in this thread.
Hi @tobebuilds & thank you.
This is a good way, but the only problem is that the discount code isn't unique.
The discount code should be i.e: Random digits + first name + random digits:
Do you have a solution for uniqueness?
We don't have a solution for uniqueness, as our app doesn't require you to create multiple discount codes.
The tag "BoughtProductX" in the example is on the customer's individual profile, so it will only ever apply to accounts you have tagged (whether manually, or via Shopify Flow).
That being said, the solution I outlined will result in customers with the "BoughtProductX" tag getting 10% off all future purchases.
If you need to limit the number of times a customer can use the discount, then unfortunately that's not possible right now.
There are some other apps that can generate discount codes in bulk, though.
Make the shift from discounts to donations, and witness your business not only thrive fina...By Holly Dec 4, 2023
On our Shopify Expert Marketplace, you can find many trusted third party developers and fr...By Arno Nov 27, 2023
You've downloaded the Search & Discovery app from the Shopify App store, and as you're ...By Skye Nov 8, 2023