AI Help
How do I find which item failed in a batch n8n execution?
Carry a stable record ID through the workflow and inspect the failed node's input and error output for that ID.
Steps to follow
- Start from the saved execution and locate the first node whose output differs from expectations.
- Compare item counts and identifiers immediately before and after the node. Preserve IDs even when the payload is transformed.
- Collect failed IDs into a retry list and reconcile successful downstream writes before rerunning those records.
Example in practice
Illustrative example. An enrichment run with 200 leads reports lead-087 as failed, allowing that item to be reviewed without resending the other 199.
Related AI help
- How do I pass a PDF attachment from a webhook to an n8n AI step?
- How do I test an AI workflow in n8n with sample data before activating it?