Shopify Flow is an ecommerce automation platform that enables you to automate tasks and processes within your store and across your apps.
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi, I need to draft certain products at a specific time but I can't get the flow to work. I either want to filter by product title or tag. See attached. Any idea where I'm going wrong?
Solved! Go to the solution
This is an accepted solution.
Hi @formandfold,
It's hard to diagnose what might be happening without more information about what is not working.
One thing to check is in the Get product data action, the default number of items returned is 10. You can set this as up to 100. See the attached screenshot for where to edit that. If you have over 100 products, they will not work.
It would also be worth looking into the Shopify API Search Syntax to write an Advanced query to filter the product data based on the Product API spec. As a tip, this is the same syntax that is used on the product list in the Admin when you enter a custom query. So you can test your query logic to see what products get returned. Based on what I see in your example, it could be worth replacing the condition with a query like:
title:*Pool*
That example uses the Product's title field, but your logic may vary. Here's how it could look in a Workflow:
Hope that helps!
This is an accepted solution.
Hi @formandfold,
It's hard to diagnose what might be happening without more information about what is not working.
One thing to check is in the Get product data action, the default number of items returned is 10. You can set this as up to 100. See the attached screenshot for where to edit that. If you have over 100 products, they will not work.
It would also be worth looking into the Shopify API Search Syntax to write an Advanced query to filter the product data based on the Product API spec. As a tip, this is the same syntax that is used on the product list in the Admin when you enter a custom query. So you can test your query logic to see what products get returned. Based on what I see in your example, it could be worth replacing the condition with a query like:
title:*Pool*
That example uses the Product's title field, but your logic may vary. Here's how it could look in a Workflow:
Hope that helps!