Error Handling in Zenphi

Zenphi provides a range of tools and techniques to handle errors effectively in your automated workflows. Here’s how you can manage errors at both the action and flow levels, as well as implement advanced error-handling strategies:

1. Action-Level Error Handling

Each action in your flow has customizable error-handling settings:

  • Access Point: Click the gear icon next to any action in the flow > go to the Error Handling tab.

  • Settings:

    • Retries: Define how many times the action should retry if it encounters an error.

    • Behavior on Error: Decide whether the flow should fault (terminate the flow), or continue to the next step if the error persists.

2. Global Flow Error Handling

You can configure flow-level error handling through Zenphi’s global settings:

  • Access Point: Open the Zenphi panel (gear icon in the bottom-left corner) > go to Flow Error Handling.

  • Settings:

    • Configure who gets notified when an error occurs.

    • Add multiple emails for notifications to ensure the right stakeholders are informed.


3. Advanced Error Management

For more detailed error handling, Zenphi offers advanced options:

  • Using Boolean Outputs:
    If you set the action to continue to the next step in its error-handling settings, a boolean field will be included in the action's output. This field indicates whether the action succeeded (ture for error).



  • Use this boolean in an If Condition to branch your workflow based on whether an error occurred.

  • Configure specific operations or notifications for the error case.

  • Zenphi Mail Trigger:
    The new Zenphi Mail trigger starts a flow whenever an email is received.

    • You can set up this trigger to listen for error notifications (sent to a specific email).

    • Configure a separate flow to handle errors, such as logging the error details, sending additional notifications, or taking corrective actions.

    • For a detailed guide on using the Zenphi Mail trigger for error handling, check out this community post: #Error Handling in Zenphi