Access execution data from an error workflow
Ready for 3.0Ready for 3.0. This template uses no nodes that n8n 3.0 removes. No removed nodes, versions or helpers found. Static check, last run 2026-10-19.
What this workflow does
This workflow has 3 nodes and runs when another workflow fails (error workflow). It uses only n8n's built-in nodes.
How it runs
Trigger: When another workflow fails (error workflow).
- Get execution data (n8n): get (execution)
- Extract webhook data (Code): runs custom JavaScript code
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (3)
- Error Trigger
n8n-nodes-base.errorTrigger - Code
n8n-nodes-base.code - n8n
n8n-nodes-base.n8n
From the author
Sometimes you want to take a different action in your error workflow based on the data that was flowing through it. This template illustrates how you can do that (more specifically, how you can retrieve the data of a webhook node). How it works 1. Use the…