Error Trigger

Trigger node for error-handling branches that receive error data when the agent's own run fails.

Written By Philippe

Last updated About 4 hours ago

Error Trigger

βœ… Verified β€” Tested, confirmed working on indie.money

What It Does

The entry point for an in-workflow error-handling branch. When the agent's own run fails during execution, this trigger's branch receives the error details β€” including the error message, which node failed, and the execution ID.

How It Works

  1. Add an Error Trigger node to your agent's own workflow
  2. The agent runs and encounters an error (e.g., a Stop and Error node, or an API failure)
  3. The platform detects the failure and runs the Error Trigger's branch within the same execution
  4. The Error Trigger branch receives the error payload
  5. Your agent processes the error (send notification, log it, retry, etc.)

Error Payload

The Error Trigger receives this data structure:

FieldDescription
execution.idThe failed execution's ID
execution.error.messageThe error message
execution.error.stackStack trace (if available)
execution.lastNodeExecutedName of the node that failed
execution.modeHow the run was triggered
workflow.idThe agent's service ID
workflow.nameThe agent's name

Setting Up an Error Workflow

  1. Add an Error Trigger node to your agent's workflow
  2. Add processing nodes off the Error Trigger (e.g., send a Slack message, log to a spreadsheet)
  3. Publish and activate the agent

Compatibility

FeatureStatus
Receive error payload when the agent's own run failsSupported
Error message and stack traceSupported
Failed node identificationSupported
Loop prevention (error workflows don't trigger error workflows)Built-in
One Error Trigger per agentRequired

Tips

  • The error branch runs within the same execution as the agent that failed β€” no separate budget; its cost is inherited into the parent run
  • Error workflows do not trigger their own error workflows, preventing infinite loops
  • Use the error payload fields in expressions to build informative notifications
  • Combine with the HTTP Request node to send error alerts to external services

Status

This integration is fully tested and verified on indie.money.