A merchant is trying to use Shopify Flow to automatically tag orders with discount codes applied by the Honeycomb Upsell app. The challenge is that these discounts appear as line item entries on orders but don’t populate Shopify’s standard discount code field, making them unsearchable.
Key Technical Suggestions:
Check if Honeycomb uses cart attributes or metafields that Flow can access
Use Flow’s discountAllocations or discountApplications environment values to detect applied discounts
For line-item discounts specifically: Order > lineItems > discountAllocations > discountApplication > DiscountCodeApplication > code
Consider using Flow’s “Send Admin API Request” action to query order data directly
Line item custom attributes might contain the discount information
Scalability Concern:
One user questioned whether the suggested Flow approach requires creating separate conditions for each discount code, or if it can dynamically tag orders based on any discount detected. The response suggests using shop metafields or metaobjects for more flexible, staff-manageable configuration, though this adds complexity.
The merchant noted budget constraints for hiring Flow specialists. Multiple experts (Kalen Jordan, PaulNewton) offered to help or provide guidance.
Summarized with AI on October 26.
AI used: claude-sonnet-4-5-20250929.
I am not quite experienced enough to find a way to get FLOW to add order tags (dynamically named the same as the dicoucnt code used) where the discounts on products in an order have been added by a thrid party app (Honeycomb Upsell).
The discount codes appears on the order under the SKU on each line entry but the overall Discount Code field on the order is empty! These are highlighted in yellow on the screenshot
The issue is that these discount codes are read by the app (to check they exist) and are then applied to to the order, but Shopify itself does not register those discount codes having been used, as they took place within the app at the point of checkout.
A workaround to check if these have been used is to add them as an order tag and then I can search for them in the order search bar. The discount tag entries under each line item do not pull up on the search on the order list.
However I have been unable to get a Flow working to achieve this.
Adding order tags is easy with Flow, but since you’re using dynamic data from the discount app, it’s a lot more complex. I recommend you contact Kalen at flow-helper.com. His work circles around the Shopify Flow app, so he’s very good at it and I bet he’ll be able to help you. If you happen to contact him, tell him I said "Hi "
Unfortunately i can’t actually afford Kalen’s rates.
As far as I can see, the info is added by the Honeycomb app and it exists within a field under the SKU on the order page.
But the info is there and part of the final order, and I would have thought this info is accessible as some kind of line item information that can be read by SHopify?
I believe you can still ask him for information regarding how to get that information from the line item then how to apply it to the order - without having to pay. He’s really friendly and open to talk if he’s not busy with his clients.
Try sending him an email, if he pitches you with his service, you can kindly decline, there’s no pressure. If he replies with directions but still pitches his service, give him a thanks and kindly decline. Sending a short email will still be a win for you since you’ll get directions you can work with.
He’s really the only guy I know who’s open to talks about Flow in the community.
As for your question, I’m so sorry man. I’m really not good with Flow and my experience really just revolves around the store theme. I honestly wish I could help.
Hi @JAMES86 Contact the third party and confirm if A) the app can just already tag orders by itself B) they use cart attributes, or any metafields to add or reference on the order.
It’s important that important business process have some definition of what they are doing documented for your business, otherwise you lack any way to create critical redundancy.
If the app uses any of the above then use those in the flow, or make a feature request to that developer with your use case of what you need access too.
Otherwise use one of the other deeper automation apps to tie things together.
The send-admin-api-request action can now also get data BACK
So query the order and do the parsing on the response.
If you need automation like that explored you can contact me.
Contact info in forum signature.
ALWAYS please provide context, examples: store url, theme name, post url(s) , or any further detail in ALL correspondence.
So that flow though is looking for a specific discount code and then applying a specific tag, is there anyway to make this more dynamic, so add a tag (based on discount allocation title) if any exist. Else you would need to make a condition for every specific discount code that exists?
In that flow yes, the simplest modification to avoid constantly touching the flow is setup custom-data in shop metafields or metaobject. Then it’s the custom-data that staff can interact with on the daily.
Otherwise waay more complex to query and process the discount api and THEN do the logic for tagging.