How to access automatic discount code values with Flow?

JohnFederkins
Shopify Partner
15 1 12

Has anyone had any success with accessing automatic discount code values with Flow?
They make the codes available as a parameter, but the value returns <empty> even though they appear in the checkout and order details.  Manually entered discount codes are available, so I'm guessing Shopify has another bug and/or oversight in their documentation?

 

Their chat support is quite useless and quickly pointed out they won't help because I created the workflow myself, yet they have a template workflow that does the same thing called:

"Get notified when specific discount code is used"

 

See below.

HowFlowSucks.jpg

JohnFederkins_0-1699568164829.png

 

 

 

Replies 4 (4)

Kalen_Jordan
Shopify Partner
452 16 66

Not sure if you have any interest in using a 3rd party app, but if we so we could help you out with this. 

Kalen_Jordan
Shopify Partner
452 16 66

I put together an automation template for this just in case you might be interested:

https://blog.getmesa.com/automate-your-new-arrivals-product-collection-with-tags/

 

Screenshot 2023-12-08 at 8.25.25 AM.png

JohnFederkins
Shopify Partner
15 1 12

That link goes to a different workflow.
In the screenshot, is "TEST" an automatic or manual discount code?

Kalen_Jordan
Shopify Partner
452 16 66

Sorry wrong URL - here's the right one: https://www.getmesa.com/blog/get-notified-every-time-a-specific-coupon-code-is-used-in-shopify/

 

In this context, I figured you were wanting to use a manual code.