What this template does Sends you an email (via Gmail) whenever any workflow that references this one fails. The message includes the workflow name/ID, execution URL, last node executed, and the error message. Why it’s useful Centralizes error notifications so you notice failures immediately and can jump straight to the failed execution. Prerequisites A Gmail account connected through n8n’s Gmail node credentials. This workflow set as the Error Workflow inside the workflows you want to monitor. How it works Error Trigger starts this workflow whenever a linked workflow fails. Gmail (Send → Message) composes and sends an email using details from the Error Trigger. Notes Error workflows don’t need to be activated to work. You can’t test them by running manually—errors must occur in an automatically run workflow (cron, webhook, etc.).
Tags
Related workflows
See all Gmail→Set automated labels in Gmail
Explore this workflow on its official n8n template page.
Send email via Gmail on workflow error
Send an email via Gmail when a workflow error occurs. The email subject line will contain the workflow name; the message body will contain the following information: Workflow name Error message Last node executed Execution URL Stacktrace Error workflows do not need to be activated in order to be used, but they do need to be selected in the Settings menu of whatever workflows you want to use it. To use this workflow, you'll need to: Create and select credentials in the Gmail node Choose the email recipient(s) in the Gmail node Save and select the created workflow as the "Error Workflow" in the Settings menu of whatever workflows you want to email on error
Get an mp4 attachment from Gmail to Google Drive
This simple workflow allows you to get an mp4 attachment from gmail email and then upload it to Google Drive to get attachment webview link.