Tags Item Empty

Solved

Tags Item Empty

rdykes0715
New Member
7 0 0

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:

rdykes0715_0-1725566508457.png

 

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.

Accepted Solution (1)
joshbeckman
Shopify Staff
32 5 9

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.

View solution in original post

Replies 4 (4)

joshbeckman
Shopify Staff
32 5 9

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.

rdykes0715
New Member
7 0 0

The trigger is for the flow to run when a product is created, which is what happens here.

joshbeckman
Shopify Staff
32 5 9

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.

rdykes0715
New Member
7 0 0

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.