Log and resolve orchestrator errors with data tables and Notion
Ready for 3.0What this workflow does
This workflow has 15 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).
- Notion - Buscar fontes de dados (HTTP Request): calls an HTTP API (POST)
- Selecionar fontes de dados com título (Edit Fields (Set)): sets 1 field: data_sources
- Buscar registro da execução do participante (Data table): get
- Buscar registros de tarefas da execução (Data table): get
- Percorrer tarefas registradas (Loop Over Items (Split in Batches)): loops over the items in batches
- Reunir tarefas processadas (Aggregate): combines items into one
- O registro contém dados? (If): checks a condition and branches into true / false
- Notion - Ajustar status do participante (HTTP Request): calls an HTTP API (PATCH)
- Notion - Consultar tarefa (HTTP Request): calls an HTTP API
- Notion - Criar relatório da tarefa (HTTP Request): calls an HTTP API (POST)
…plus 4 more steps. See the full node list below.
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 (7)
- Error Trigger
n8n-nodes-base.errorTrigger - HTTP Request
n8n-nodes-base.httpRequest - Data table
n8n-nodes-base.dataTable - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Edit Fields (Set)
n8n-nodes-base.set - If
n8n-nodes-base.if - Aggregate
n8n-nodes-base.aggregate
From the author
Quick Overview This error-handling workflow triggers on a failed n8n execution, looks up related execution logs in n8n Data Tables, and updates Notion by creating a task report, marking each task as done or blocked, and setting the participant status based on…