Need Help Understanding Workflow API Limitations

Solved

Need Help Understanding Workflow API Limitations

rdykes0715
New Member
4 0 0

I am on the "Shopify" tier plan. I am planning on using the workflow system in a variety of ways. But the main way is to do something when a new product is added to the store.

 

(This is just an example) let's say I have 300 different "check if X is true" things I want to happen if a product is added to a store. I think if I am reading this right, GraphQL has a standard limit of 100 points per second. There's also a limit of 40 requests per minute. I am also reading there is a GraphQL limit of 1000 points per minute.

 

I am hoping someone can offer insight into this. What is the limit of "check if X is true" different conditions I can have when a new product is added? Thank you.

Accepted Solution (1)

paul_n
Shopify Staff
1150 142 273

This is an accepted solution.

For that kind of thing, you don't need to worry about it in Flow. Flow has its own API key that doesn't affect your store's API limits. Flow also does optimization on our hydration queries. 

 

A few things to avoid:

  • Creating many workflows using a high volume trigger (like Inventory qty changed)...Flow can't optimize across workflows
  • Doing crazy loops in your conditions like products.collections.products.collections.title (this happens all the time)
  • Building workflows that result in an infinite loop (where you listen for an update and then update the same thing without any conditions to stop it from running forever)
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

Reply 1 (1)

paul_n
Shopify Staff
1150 142 273

This is an accepted solution.

For that kind of thing, you don't need to worry about it in Flow. Flow has its own API key that doesn't affect your store's API limits. Flow also does optimization on our hydration queries. 

 

A few things to avoid:

  • Creating many workflows using a high volume trigger (like Inventory qty changed)...Flow can't optimize across workflows
  • Doing crazy loops in your conditions like products.collections.products.collections.title (this happens all the time)
  • Building workflows that result in an infinite loop (where you listen for an update and then update the same thing without any conditions to stop it from running forever)
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.