Send email via Gmail on workflow error

Nodes

b731c813-b526-4eb2-be63-9c3245ed6915

Tags

Created by

TrTrey

Last edited 15 days ago

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

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!