Skip to main content
Best answer

How to return value from sub-zap when one of the steps failed

  • June 19, 2025
  • 1 reply
  • 38 views

I have a sub-zap that is used to create a new sales receipt in QuickBooks. If the recipt reference number is not unique (race condition) the QuickBooks action fails. That is OK and is expected for us every once in a while. As far as I know, there is no way in the “create sales receipt” QuickBooks step to ignore the error. Ideally I would like to trigger an “email” step if there was an error. If that’s not possible I would like to, at least, be able to exit the sub-zap so that the parent zap can finish running and not be stuck in the “waiting” state. How do I achieve that?

Best answer by Troy Tessalone

Hi ​@stankovski 

Try adding an error handler: https://help.zapier.com/hc/en-us/articles/22495436062605-Set-up-custom-error-handling

This post has been closed for comments. Please create a new post if you need help or have a question about this topic.

1 reply

Troy Tessalone
Zapier Orchestrator & Solution Partner
Forum|alt.badge.img+14
  • Zapier Orchestrator & Solution Partner
  • Answer
  • June 19, 2025