Is it possible to not set a trigger condition on Flow? manual switch?

Elvin_s
Shopify Partner
10 0 1

I need to perform an action on all products in the store.

For example:

I need to tag each product with "Max"

 

is it possible ?

 

 

 

Replies 6 (6)

Elvin_s
Shopify Partner
10 0 1

Just like I open this workflow, it will automatically perform operations on all products in the store according to the set judgment conditions.

paul_n
Shopify Staff
1055 136 249

Do you want it to run against all existing products? What about future products? 


If it's just adding a tag to all products, you might want to just do that in the Admin via the Product list (bulk select and add the tag). If you want a bit more logic, Flow's a good way to do it. You could build a workflow with a product trigger (like Product added to store). And then you can connect conditions and actions (like Add Product Tag) to that action. Once you have build and activated a workflow, it will run against all new products. You can also go to the product list, bulk select products, choose "...", choose "Run Flow automation" and  then choose the workflow you want to run. FYI, it's only possible right now to run again the products on the page (so you might have to do this a few times)

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Elvin_s
Shopify Partner
10 0 1

Thank you, but I have too many products ‌🤣
So I need to execute flow on existing products, not new ones,  this seems impossible to achieve.

paul_n
Shopify Staff
1055 136 249

How many is too many? 

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.
Elvin_s
Shopify Partner
10 0 1

 More than 5000.

paul_n
Shopify Staff
1055 136 249

You could write a workflow that runs every hour and works through 100 at a time. Something like:

  • Scheduled time trigger - every hour
  • get product data (doesn't have tag "max")
  • for each (product)
  • add product tag (max)

That would take roughly 2 days to get through them all, but it would be not much effort for you

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.