Skip to main content
The try node provides structured error handling, similar to try/catch/finally in programming languages. Use it to gracefully handle errors and ensure cleanup code runs.

Configuration

Config Fields

Execution Flow

  1. Execute all nodes in try
  2. If error occurs, execute catch nodes
  3. Always execute finally nodes
  4. Continue with flow

Output

On Success

On Error

Error Context

In the catch block, error information is available:

Examples

Basic Error Handling

With Cleanup

Logging Errors

API Call with Fallback Response

Conditional Error Response

Nested Try Blocks

Try nodes can be nested for granular error handling:

Use Cases

API Resilience

Wrap external API calls to handle failures gracefully:

Transaction Safety

Ensure rollback happens if processing fails:

Resource Cleanup

Always release resources regardless of success/failure:

Error Propagation

  • If catch handles the error, the flow continues normally
  • If catch itself fails, the error propagates up
  • finally always runs, even if catch fails