This workflow follows the Error Trigger → Gmail recipe pattern — see all workflows that pair these two integrations.
The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"updatedAt": "2025-11-30T22:13:26.000Z",
"createdAt": "2025-11-27T18:42:08.968Z",
"id": "Ph7rWTcOFLES84kd",
"name": "Practica 4 - Ejemplo",
"description": null,
"active": true,
"isArchived": false,
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.errorTrigger",
"typeVersion": 1,
"position": [
-64,
0
],
"id": "41c55b4b-0a51-45f6-bb9d-7647e508f728",
"name": "Error Trigger"
},
{
"parameters": {
"operation": "append",
"documentId": {
"__rl": true,
"value": "1d1MblCB7zmj7xMxB_ga00r4aw-sn0om4AIYxhf4XNZY",
"mode": "list",
"cachedResultName": "Manejo de errores",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d1MblCB7zmj7xMxB_ga00r4aw-sn0om4AIYxhf4XNZY/edit?usp=drivesdk"
},
"sheetName": {
"__rl": true,
"value": "gid=0",
"mode": "list",
"cachedResultName": "Hoja 1",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1d1MblCB7zmj7xMxB_ga00r4aw-sn0om4AIYxhf4XNZY/edit#gid=0"
},
"columns": {
"mappingMode": "defineBelow",
"value": {
"Timestamp": "={{ $now }}",
"Workflow Fallido": "={{ $json.workflow.name }}",
"Nodo Fallido": "={{ $json.execution.lastNodeExecuted }}",
"Mensaje de Error": "={{ $json.execution.error.message }}",
"URL de Ejecuci\u00f3n": "={{ $json.execution.url }}"
},
"matchingColumns": [],
"schema": [
{
"id": "Timestamp",
"displayName": "Timestamp",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Workflow Fallido",
"displayName": "Workflow Fallido",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Nodo Fallido",
"displayName": "Nodo Fallido",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "Mensaje de Error",
"displayName": "Mensaje de Error",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
},
{
"id": "URL de Ejecuci\u00f3n",
"displayName": "URL de Ejecuci\u00f3n",
"required": false,
"defaultMatch": false,
"display": true,
"type": "string",
"canBeUsedToMatch": true
}
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {}
},
"type": "n8n-nodes-base.googleSheets",
"typeVersion": 4.7,
"position": [
288,
0
],
"id": "db3b662d-bde9-461b-be04-bc64222455df",
"name": "Append row in sheet",
"credentials": {
"googleSheetsOAuth2Api": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"sendTo": "bezzaza4@gmail.com",
"subject": "=Alerta de Error en n8n!: {{ $json.workflow.name }}",
"message": "=Hola,\n\nEl flujo \"{{ $json.workflow.name }}\" ha fallado.\n\nDetalles:\n- Nodo: {{ $json.execution.lastNodeExecuted }}\n- Error: {{ $json.execution.error.message }}\n- Link: {{ $json.execution.url }}\n\nFecha: {{ $now }}",
"options": {}
},
"type": "n8n-nodes-base.gmail",
"typeVersion": 2.1,
"position": [
288,
176
],
"id": "71ca2146-f8b6-4ba7-b6e5-0633c4ea31c4",
"name": "Send a message",
"credentials": {
"gmailOAuth2": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Error Trigger": {
"main": [
[
{
"node": "Append row in sheet",
"type": "main",
"index": 0
},
{
"node": "Send a message",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {
"executionOrder": "v1"
},
"staticData": null,
"meta": {
"templateCredsSetupCompleted": true
},
"versionId": "8c81da46-d95a-47ca-9465-6107d6f48d28",
"activeVersionId": "8c81da46-d95a-47ca-9465-6107d6f48d28",
"versionCounter": 7,
"triggerCount": 0,
"tags": [],
"shared": [
{
"updatedAt": "2025-11-27T18:42:08.976Z",
"createdAt": "2025-11-27T18:42:08.976Z",
"role": "workflow:owner",
"workflowId": "Ph7rWTcOFLES84kd",
"projectId": "jEpZT8mLa3eTbWzT",
"project": {
"updatedAt": "2025-11-07T16:30:44.943Z",
"createdAt": "2025-11-07T16:25:40.556Z",
"id": "jEpZT8mLa3eTbWzT",
"name": "Anass El Jabiry <aek676@inlumine.ual.es>",
"type": "personal",
"icon": null,
"description": null,
"creatorId": "685a70bc-7fcf-484c-be50-a33cd8a1716e"
}
}
]
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
gmailOAuth2googleSheetsOAuth2Api
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Practica 4 - Ejemplo. Uses errorTrigger, googleSheets, gmail. Event-driven trigger; 3 nodes.
Source: https://github.com/aek676/itsi-2026/blob/main/workflows/Ph7rWTcOFLES84kd.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
This workflow creates a comprehensive error monitoring system for your n8n instance by automatically capturing workflow failures, logging them to Google Sheets, and sending immediate email notificatio
Error Workflow. Uses gmail, googleSheets, httpRequest, errorTrigger. Event-driven trigger; 7 nodes.
This n8n workflow provides a robust error handling and notification system for your n8n workflows. When an error occurs, it automatically logs the error details to Google Sheets, sends a notification
error-handler. Uses errorTrigger, gmail, slack, googleSheets. Event-driven trigger; 5 nodes.
Sync your Google Calendar events with Google Sheets and get daily Slack summaries with meeting statistics. FEATURES: