Templates / Access execution data from an error workflow

Access execution data from an error workflow

Ready for 3.0

by David Roberts ✓ · 2,317 views · created 2024-07-17 · DevOps

Ready 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).

  1. Get execution data (n8n): get (execution)
  2. 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)

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…

Excerpt from David Roberts's description on n8n.io.

View the original on n8n.io → Check your own copy

Get the weekly “what broke” email

New templates, newly broken ones, and n8n release changes. One short email a week.

Form not loading? Subscribe here.