FM
FlowMarket
Email & Outreach Intermediate ⚡ 13 n8n Nodes

Error handling Send email via Gmail on execution or trigger lev

This error handling workflow emails detailed notifications on workflow execution and trigger errors. It extends Send email via Gmail on workflow error templa...

🔌 Nodes & Integrations Used (3)

Error Trigger Gmail Html

📖 Implementation & Setup Guide

This error handling workflow emails detailed notifications on workflow execution and trigger errors.

It extends [Send email via Gmail on workflow error](https://n8n.io/workflows/696-send-email-via-gmail-on-workflow-error/) template by covering trigger-level errors.

---

Features - Get notifications on both main workflow trigger and execution time errors. - Subject line will have 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-level 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 need.

---

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...](https://docs.n8n.io/flow-logic/error-handling/#create-and-set-an-error-workflow))

---

Related resources - [n8n Error Trigger](https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.errortrigger/) documentation.

---

Author - Reach out [Olek](https://community.n8n.io/u/olek/summary) on community.n8n.io

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Error_handling_Send_email_via_Gmail_on_execution_or_trigger_lev.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related Email & Outreach Workflows

View All in Email & Outreach →