Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
Hi, and thanks in advance for any guidance.
An agent at my business created an order in the Shopify backend from a draft. It was paid, and triggered the below Flow:
This Flow handles orders that are created in Shopify itself, and not those from connected 3rd party marketplaces. It has been adding tags and reaching the end of the Flow when a sale has been created by the online store. This is the first order from draft, and the first time I have seen this error.
Here are the tags I'm trying to add:
{{order.riskLevel}}
{{order.customer.id}}
{{order.app.name}}
{{order.discountCode}}
{{order.note}}
I'm interested to know if it's a particular tag that is throwing the error, the order object being incompatible with drafts, or perhaps something else.
I would expect that if one of the values that I'm trying to pass in as a tag is not present, then the tag would be null and not be created.
Would be very grateful for advice.
Many thanks,
Solved! Go to the solution
This is an accepted solution.
A tip - put those variables into a Log output action to see what values they contain.
I think that at least one of them contains invalid characters for tags (def the id field, but note probably is too long)
This is an accepted solution.
A tip - put those variables into a Log output action to see what values they contain.
I think that at least one of them contains invalid characters for tags (def the id field, but note probably is too long)
Hi Paul,
Thank you very much for your helpful reply. In this particular instance, the {{order.note}} was the culprit; it would explain why Flow worked in some cases but not others.
Noted on the invalid characters; I will use Liquid to strip or replace them.
All the best!
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024