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

Can a Flow Activate when something is true, not by a trigger

Can a Flow Activate when something is true, not by a trigger

QDD
Shopify Partner
344 0 55

It appears to me that Flow only works when a change is detected.   Something has to happen after the flow is created.

 

Can a flow work something when something is true?

 

If the product inventory is 0 then it will be removed from the online store.

 

Right now I only see that you can create a flow that reacts if the inventory goes from a value other than 0 to 0.   Then the flow will activate.

 

Flow doesn't see to apply to current inventory.  Only future inventory.

 

Can anyone dispute this?   

 

Also i have created a number of "flows" that don't work and shopify has yet to tell me what is wrong with my flow.

 

Does flow work, or does flow work sometimes?   

Replies 17 (17)

AiTrillion
Shopify Partner
4265 250 754

Hi @QDD ,

1.) Yes, the flow works whenever the event occures.
2.) Yes, the workflow works when something is true.
3.) You can use the below workflow available on SS

AiTrillion_0-1751467820737.png

4.) Yes, the flow will only apply for future inventory and all the apps works similarly because we can't be able to check the events happened in the past.

Additonally, the flow doesn't gets stop working automatically. There must be some reason to to get deactivated. 

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.
QDD
Shopify Partner
344 0 55

Shopify says that it only applies to new inventory or changes.  That it doesn't apply to existing inventory.  

QDD
Shopify Partner
344 0 55

what should this flow do?Screenshot (56).png

QDD
Shopify Partner
344 0 55

When it says "Collections title"

 

Does it refer to any product in that collection?  

AiTrillion
Shopify Partner
4265 250 754

No collection title means - the collection name. Whenever the product is added to collection, the tag will be added to the product.

AiTrillion_0-1751468736447.png

 

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.
AiTrillion
Shopify Partner
4265 250 754

@QDD Whenever Product is created, the flow checks if collection title is equals to Best Collection ever and if it is equals than the Product tag is added FlowSucks

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.
QDD
Shopify Partner
344 0 55

First of all thank you.   Specifics are essential in flow.  One wrong assumption and it doesn't work.

 

What I want to happen is this

 

1. When I create any new product

2. Check to see if it meets the criteria for this collection "Best Collection Ever"

3. If it meets the criteria.   Meaning if you searched the items in that collection and a new product is part of "Best Collection Ever"

4. Then you add tag "1234" to the new product

 

So if I create a new product and it meets the criteria for "Best Collection Ever" it will get tag 1234

 

Does my flow do what I want it to do?

 

If your are answer is yes, it doesn't work.

 

If your answer is no, can you kindly tell me where I have gone wrong?

AiTrillion
Shopify Partner
4265 250 754

@QDD Can you please confirm the Product created means whenever product is added? Like there are various things like Varient is added or Product is back in stock. I just want to confirm.

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.
QDD
Shopify Partner
344 0 55

This is the trigger

 

 

Product created
·
Shopify TRIGGER
Formerly called Product added to store, this trigger starts when a new product is created
 
 
AiTrillion
Shopify Partner
4265 250 754

@QDD The below trigger will work 
First add to collection

AiTrillion_1-1751470233818.png

 

Check if it includes the collection 

AiTrillion_0-1751470202288.png

And the tag will be automatically gets added.

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.
QDD
Shopify Partner
344 0 55

If I am going to manually add the collection, why wouldn't I just add the tag?

You don't need flow for your example.   That's just adding details to a product.

 

 

QDD
Shopify Partner
344 0 55

Im all for letting experts flex their muscles and show everyone what they know, but time and time again the experts change the game and answer a question they know the answer to.   I'm not trying to argue or make anyone look foolish.

 

I'm trying to give you a chance to show people what you know.

 

 

AiTrillion
Shopify Partner
4265 250 754

@QDD How will you perform the 2nd step -- 

2. Check to see if it meets the criteria for this collection, "Best Collection Ever" -- If you won't add the collection manually? Why it would check that the product exist in Best Collection Ever if you won't add it to any collection?

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.
AiTrillion
Shopify Partner
4265 250 754

@QDD I didn't understood. I think the flow works according to your requirement right? The only thing you need to change is includes instead of is. I hope you understood what I was saying.

I think you need this 

AiTrillion_0-1751472768189.png

 

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.
QDD
Shopify Partner
344 0 55

No that doesn't work.

 

This will add any product to the collection.

 

 

I don't think you understand the issue at hand.

 

 

AiTrillion
Shopify Partner
4265 250 754

@QDD Yes, it will apply to new inventory. As I said the code can't be able to check the past events. I hope you understand. There is no history available for the flow to run it.

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.

paul_n
Shopify Staff
1828 199 435

The below conversation is confusing. Some answers:

A workflow starts when something happens, like an inventory change. 

But...
- For some triggers, you can run the workflows manually from the Admin on your existing products. https://help.shopify.com/en/manual/shopify-flow/manage/manual
In this case, I might recommend using "Product created" or a variant based trigger.

Or, you can use a scheduled time trigger, which can run your workflow on a single or recurring schedule. WIth that, you would need to use "Get product data" or "Get product variant data" to fetch the resources you care about. 

There are templates available in Flow's template library that show these patterns.

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.