Access execution data from an error workflow

Go to Workflow
1,939 views
Built by David Roberts David Roberts
Created on July 17, 2024

Description

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
Use the 'n8n' node to fetch the data of the failed execution
Parse that data to find webhook nodes and extract the data of the one that was executed

This workflow was created by David Roberts and shared publicly on the n8n community template library. n8nFind indexes it for discovery — the workflow remains the property of its original creator.

Nodes Used (1)

Code
n8n-nodes-base.code