The idea is:
When configuring an Error Workflow, provide an optional section for defining custom fields that will be passed to the Error Workflow execution.
The configuration experience could be similar to the Set (Edit Fields) node, allowing users to define custom metadata such as:
-
Workflow owner name
-
Workflow owner email
-
Team name
-
Environment (Production, Staging, Development)
-
Project identifier
-
Any other custom fields
These values would then be available in the Error Workflow payload alongside the existing error information.
My use case:
I use centralized Error Workflows to handle failures across multiple workflows.
When a workflow fails, I often need additional context to determine who should be notified or which team owns the workflow.
Being able to pass metadata such as owner email, owner name, team, or environment directly from the workflow configuration would make centralized error handling much easier and more maintainable.
I think it would be beneficial to add this because:
-
It would simplify centralized error management.
-
It would enable more informative Slack, email, or incident notifications.
-
It would reduce duplication and hardcoded logic.
-
It would improve support for teams managing many workflows.
-
It would make Error Workflows more flexible and reusable.
For example, a single Error Workflow could automatically know who owns the failed workflow and who should receive notifications, without requiring additional lookups.
Any resources to support this?
No specific resources. This request is based on practical experience building centralized monitoring and alerting workflows in n8n.
Are you willing to work on this?
I would be happy to discuss the implementation and provide feedback on the UX and expected behavior.