Skip to main content
Best answer

Shopify order trigger creates excessive tasks and activates on new orders


Hi!

 

The Shopify Updated Order triggers on new orders (which makes sense to some extent), but also creates 4 tasks when a new order comes in. I tried filtering for timestamp (created at vs updated at) but this doesn’t work due to the weird timestamp that comes out of Shopify. Anyway, we’re running out of tasks because of this. Any help would be much appreciated. 

 

Thanks!

Best answer by ivan_bBest answer by ivan_b

I got this to work with a timestamp comparison, where the difference between created at and updated at is less than 100 seconds, the update will get filtered out.

View original
Did this topic help you find an answer to your question?

5 replies

Troy Tessalone
Forum|alt.badge.img+14

Hi @ivan_b 

Shopfiy can often have micro updates to Orders from other apps/integrations and behind the scenes subprocesses in Shopify.

For us to have more info, post screenshots with how your Zap steps are outlined and configured in EDIT mode.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7487 replies
  • October 9, 2024

Hi @ivan_b 👋

Not sure if you’ve already solved this but I wanted to suggest that it might be worth using a Formatter (Date/Time > Format) action to convert the timestamps into a better format for comparing the created at and updated at date/time values. Alternatively, you could use a Formatter (Date/Time > Compare Dates action). Like Filters, Formatter actions don’t count towards your task usage

You can learn more about how to use those types of Formatter actions here: 


Hope that helps. Please let us know if you have any questions or need any further assistance at all. 🙂


  • Author
  • New
  • 2 replies
  • October 10, 2024
SamB wrote:

Hi @ivan_b 👋

Not sure if you’ve already solved this but I wanted to suggest that it might be worth using a Formatter (Date/Time > Format) action to convert the timestamps into a better format for comparing the created at and updated at date/time values. Alternatively, you could use a Formatter (Date/Time > Compare Dates action). Like Filters, Formatter actions don’t count towards your task usage

You can learn more about how to use those types of Formatter actions here: 


Hope that helps. Please let us know if you have any questions or need any further assistance at all. 🙂

Thank you, I will give that a try. It seems like when there’s a new order created, Shopify does a bunch of updates very quickly in the background that triggers the updated order trigger. Comparing created at and updated at timestamps may work in this case but the updates seem to be coming in at slightly different timestamps.


  • Author
  • New
  • 2 replies
  • Answer
  • October 10, 2024

I got this to work with a timestamp comparison, where the difference between created at and updated at is less than 100 seconds, the update will get filtered out.


SamB
Community Manager
Forum|alt.badge.img+11
  • Community Manager
  • 7487 replies
  • October 10, 2024

Yay! That’s awesome news, @ivan_b! Really pleased that did the trick! 🎉

If you need any more help down the road please do reach out in the Community. We're here to help whenever you need! 😁