Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
I have some flows that are setup based on tags. I am publishing products from a third-party (in my case, Printify).
I have all of the tag information saved in Printify. As one example, I have a tag called "Round Crewneck" saved under the product in my account, ready to publish. The flow is that the app checks if a tag equals "Round Crewneck", then it updates a metafield value for the product, which helps with search filtering.
I noticed the metafield didn't have the value that is supposed to be updated when the flow runs. I see this:
If I am reading this right the Tags Item should not be empty, I have the values saved on the Printify side.
When I look at the published product in my Shopify account I see that all the tags I specified are there.
Was hoping someone could help explain what's going on. Is it because it took some time for Shopify to receive all the tag information, and meanwhile the flow ran? Would it help to add a delay to the flow? Or some other explanation?
Any insight is appreciated. Thank you. I used to use another printing service and I never saw this happen until now. Edit: Also I should add that the trigger is for the flow to run when a product is created, which is what happens here.
Solved! Go to the solution
This is an accepted solution.
Ok. That screenshot tells me that Flow asked for the tags on the product at the time of the workflow run and none were present. So I bet the product was created without tags and then (maybe immediately, maybe later, but definitely *after* the workflow ran) the tags were added to the product.
You could try adding a Wait step (for a minute or something short) to the workflow after the trigger event to wait for tags to be added before progressing through the rest of the logic.
To learn more visit the Shopify Help Center or the Community Blog.
What is the trigger you have specified in the workflow? Maybe the trigger is firing (and the workflow is running) before Printify has added the tags to the product.
To learn more visit the Shopify Help Center or the Community Blog.
The trigger is for the flow to run when a product is created, which is what happens here.
This is an accepted solution.
Ok. That screenshot tells me that Flow asked for the tags on the product at the time of the workflow run and none were present. So I bet the product was created without tags and then (maybe immediately, maybe later, but definitely *after* the workflow ran) the tags were added to the product.
You could try adding a Wait step (for a minute or something short) to the workflow after the trigger event to wait for tags to be added before progressing through the rest of the logic.
To learn more visit the Shopify Help Center or the Community Blog.
Okay, thank you for your help. I don't really understand why it didn't publish together in one...payload I think it's called? But I guess that is probably a Printify question.
By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024