← All N8N workflows
Messaging & emailCodeError TriggerGmailHtmlIf

CV Evaluation - Error Handling

Configured with Error Trigger, Gmail, Html. Review the connections and setup before adapting this template.

Workflow preview
TriggerError TriggerError TriggerMessagingGmailGmailTransformMergeMergeTransformConfigEdit FieldsTransformConstantsEdit FieldsRoutingIfIfTransformHTML for ExecutionErrorHtmlTransformHTML for Trigger ErrorHtmlTransformKeepEitherOfHTMLsMergeCodeCodeCode

Node categories in this workflow

  • Trigger
  • Messaging
  • Transform
  • Routing
  • Code

Icons describe general node roles, inferred from node types. Inspect the parameters for the configured action.

Drag to pan; use + and − to zoom. Reconstructed from the exported node positions; nothing runs here. Dashed lines represent non-main connections. Full node names and notes appear below.

How it works

The exported workflow contains the following configured nodes. Their connections are shown above; inspect the JSON for the complete logic, expressions, and external actions.

Workflow node names, types, and operations
NodeCategoryTypeOperation
Error TriggerTriggerError TriggerSee node parameters
GmailMessagingGmailSee node parameters
MergeTransformMergeSee node parameters
ConfigTransformEdit FieldsSee node parameters
ConstantsTransformEdit FieldsSee node parameters
IfRoutingIfSee node parameters
HTML for Execution ErrorTransformHtmlSee node parameters
HTML for Trigger ErrorTransformHtmlSee node parameters
KeepEitherOfHTMLsTransformMergeSee node parameters
CodeCodeCodeSee node parameters

Setup

  1. Download the JSON and import it into an isolated n8n instance. Leave the workflow inactive.
  2. Connect your own credentials through n8n’s credential store. Replace REPLACE_WITH_* values with your resource identifiers.
  3. Inspect API destinations, Code nodes, database queries, file paths, and outbound actions.
  4. Run with synthetic data and harmless destinations. Enable triggers only after checking the actual outputs.

Requirements

An n8n instance with the listed node types and compatible versions. Service-connected workflows may require accounts, credentials, or paid APIs.

Credential types declared in the source

  • gmailOAuth2

Workflow notes

Config

Config

Define

  • your n8n app base url
  • notifications recipient email
  • sender name
Send email via Gmail on workflow error (execution and trigger-level errors)

Send email via Gmail on workflow error (execution and trigger-level errors)

This error handling workflow sends an email via Gmail on workflow errors with details.

It extends https://n8n.io/workflows/696-send-email-via-gmail-on-workflow-error/ by adding functionality covering also trigger-level errors.


Features

  • Get notifications on both main workflow trigger and execution time errors.
  • Subject line will have the failed workflow id, name, error source (execution or trigger), error message.
  • Body will contain links to both failed and error handling workflows as well as execution or trigger error details.
  • Body will also contain a machine readable and enriched JSON from Error Trigger describing the error.

Use this error handling workflow for as many workflows as you wish.


Configiration

  • Copy this workflow to your workspace and, optionally, move it under the project that contains your main workflow
  • In this error handling workflow settings, set This workflow can be called by as appropriate
  • In Config node, define your app url, notifications recipient email, and sender name (useful to build filters in your inbox)
  • In Gmail node, create and select credentials
  • In your main workflow settings, pick this error handling workflow in the Error Workflow field (How to...)

Related resources


Author

  • Reach out Olek on community.n8n.io
  • Olek on n8n creators hub
Gmail credentials

Gmail credentials

Setup your Gmail account credentials here.

CV Evaluation - Error Handling

CV Evaluation - Error Handling

Purpose and structure

This folder contains the CV Evaluation - Error Handling workflow. Its executable nodes use code, errorTrigger, gmail, html, if, merge, set. The table and connection map below are derived from the JSON, not an inferred guarantee of behavior.

Setup

Import inactive. Configure your own credentials and replace REPLACE_WITH_* values. Review external destinations and Code nodes before running.

Entry points

Error Trigger

Verification

Sanitized source candidate; not runtime-tested. This overview is generated from node metadata. Read the folder README for the connection map, credential types, and license.

Attribution

https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/workflows/Error/1991_Error_Code_Automation_Triggered.json MIT; preserve source notices.

More in Messaging & email