Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I trigger a flow automatically when a product's price changes?

Solved

How can I trigger a flow automatically when a product's price changes?

peterspina
Tourist
8 1 3

So we have our products prices synced up to Channel Advisor, which is set up to auto-change the price. So sometimes the product automatically goes on sale.

 

What i'm trying to do is set up a flow that automatically puts a product into our "For Sale" collection if the price is less than the compared at price.

 

I have the flow set up and it works, however the trigger for it is "Product Status Updated" which only works if I manually go in and change the product status. 

 

Does anyone know of a trigger that would automatically trigger the flow if the price changes. Or if there is a timing trigger to start the flow?

Accepted Solution (1)

Tomas_Baena
Shopify Staff
6 2 3

This is an accepted solution.

Hey!
This would require a product updated trigger which we unfortunately don't have at the moment. We are however working on a new trigger that's based on scheduled times as well as a data fetch action. So in the near future you'll be able to trigger a workflow at a predefined interval (daily at 9am for example) and have a data fetch for specific products which you could then apply tags to.

To learn more visit the Shopify Help Center or the Community Blog.

View solution in original post

Replies 11 (11)

gary07
Excursionist
65 0 11

Hi

 

I am looking for same solution if we do find please can you let me know as well

 

 

Tomas_Baena
Shopify Staff
6 2 3

This is an accepted solution.

Hey!
This would require a product updated trigger which we unfortunately don't have at the moment. We are however working on a new trigger that's based on scheduled times as well as a data fetch action. So in the near future you'll be able to trigger a workflow at a predefined interval (daily at 9am for example) and have a data fetch for specific products which you could then apply tags to.

To learn more visit the Shopify Help Center or the Community Blog.

CDavies
Tourist
10 0 2

Also very keen for this update. Any ETA or timeline?

Currently interested in automation with Flow
DaveMcV
Shopify Staff
104 31 29

Hi CDavies,

 

The Schedule Trigger is available in a limited release for Plus merchants right now. If you're a Plus merchant, you can reach out to an MSM to request access.

 

The feature will be released widely to all Flow merchants in Q1 2023.

DaveMcV | Flow Development 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.
stone_i_am
Tourist
5 0 1

We have the scheduled triggers on our account.  However, (unless I am missing it), I do not see how to create a trigger based on price to add a tag.  We are trying to add tags automatically for "finalsale" to products when the price/compare price <= 50%.  suggestions?

stone.i.am
gary07
Excursionist
65 0 11

scheduled Trigger does not support it and still has some limitation

 

You can make the start condition Inventory change as a trigger

paul_n
Shopify Staff
1433 157 332

If you are trying to get products that were updated in a certain time frame and then do something based on the prices, the workflow would look something like:

  • Every day
  • Get products that were updated in last day and have a certain price or maybe is_priced_reduced (see docs on the query)
  • For each product
    • Check condition (prices)
    • If true, Add product tag

 

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.
specklefarms
Excursionist
37 1 11

Is there any solution to this yet?

 

I'm able to fetch the data, but I cannot filter out updated prices. It returns updated products. This includes updated inventory, so I can only filter out so much.

admin-gh
Shopify Partner
6 0 0

Is there an ETA for this trigger? I find it quite weird this is is not something that is available in flow.

paul_n
Shopify Staff
1433 157 332

There is no Shopify event for "price updated". You can watch the API change log (https://shopify.dev/changelog)...when such an event becomes available Flow be among the first apps to make use of it. 

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.

FilipeZA
Shopify Partner
1 0 3

I'm trying to create same flow. May I ask what flow/conditions you used to get this working?