Log Workflow Errors to Google Sheets and Slack
The outcome: After this challenge, every error across all your n8n workflows will be automatically logged to a spreadsheet and trigger instant Slack alerts.
Why this matters: Production workflows fail silently. Without monitoring, you might not know something broke until a customer complains. A centralized error logging system catches failures across all workflows and creates a searchable audit trail for debugging.
The Error Trigger node fires whenever any workflow in your n8n instance encounters an error. By connecting it to Google Sheets and Slack, you build workflow observability that catches every failure automatically.
What you'll learn:
- Error Trigger node - catches failures from any workflow
- Google Sheets logging - creates a searchable error history
- Slack notifications - instant alerts when things break
Your Task
- 1Copy the exercise below
- 2Paste into your n8n editor (Ctrl+V)
- 3Solve it — use hints if you get stuck
- 4Check the solution when done
Build an error logging workflow that captures failures from any workflow and:
- Add an Error Trigger node to start the workflow when any error occurs
- Add a Google Sheets node to log errors with these columns:
- Timestamp
- Workflow name
- Execution URL
- Node that failed
- Error message
- Add a Slack node to send a notification with the error details
Setup required:
- Create a Google Sheet with columns: Timestamp, Workflow, URL, Node, Error Message
- Choose a Slack channel for error notifications
Test it: Create a simple workflow with a node that intentionally errors (like an HTTP Request to a non-existent URL), then activate both workflows and run the failing one.
Get the exercise workflow
Create a free account to copy exercises into your n8n editor.