Skip to main content

Access execution data from an error workflow

Workflow preview

Access execution data from an error workflow preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

Overview

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