How to get the channel status change in shopify flow?

Solved
stoneqduc
Shopify Partner
15 0 0

Hello,

 

I would like to monitor the status changes of channels in the Shopify flow.
When I detect a change in the channel status, I want to automatically update the product status in the flow.

For instance:
If the online channel status of a product changes from "true" to "false" manually,
then the product's status should automatically change from "active" to "draft" in the flow.

 

Thank you for your attention.

Accepted Solution (1)
paul_n
Shopify Staff
Shopify Staff
589 97 154

This is an accepted solution.

There isn't a way to do this currently. No event exits for it that Flow can use and you cannot query products by their channel/publication. You could potentially look for recently updated products and check if their a channel was missing but you would need to store that prior status in a tag or a metafield. 

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.

View solution in original post

Replies 2 (2)
paul_n
Shopify Staff
Shopify Staff
589 97 154

This is an accepted solution.

There isn't a way to do this currently. No event exits for it that Flow can use and you cannot query products by their channel/publication. You could potentially look for recently updated products and check if their a channel was missing but you would need to store that prior status in a tag or a metafield. 

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.
stoneqduc
Shopify Partner
15 0 0

Thank you very much.