Error Handler

Learn how to use Error Handler to gracefully deal with workflow errors.

Overview

Alloy Embedded's Error Handler helps reduce friction when workflow errors occur. Use Error Handler to define logic rules for when a connector fails.

How to Handle Errors in a Response

Let's assume we have a workflow that creates a cash record in NetSuite every time an order is triggered via Custom Event. When faced with errors, Error Handler will halt the workflow and return an error. We've configured Error Handler to send out a Slack message to our internal Slack each time the NetSuite action fails with error 401.

Error Handler acts much like the branch connector, allowing you to define multiple paths depending on an API's status code response.

Wrapping Up

In this article, we took a look at how to use Error Handler to gracefully address errors in workflows.