ErrorTrigger Automate

ErrorTrigger Automate enables manual error tracking by sending detailed Gmail notifications when workflow failures occur. It captures essential error information, including the workflow name, error message, and execution URL, ensuring timely awareness and resolution of issues.

7/8/2025
2 nodes
Simple
manualsimpleerrortriggergmail
Categories:
Communication & MessagingManual TriggeredSimple Workflow
Integrations:
ErrorTriggerGmail

Target Audience

  • Developers: Those who work with n8n and need to monitor workflow executions for errors.
    - Business Analysts: Individuals who require immediate notifications on workflow failures to minimize downtime.
    - Project Managers: Professionals overseeing projects that rely on automated workflows and need to ensure reliability.
    - Support Teams: Teams that handle error management and need to be alerted promptly to resolve issues.
  • Problem Solved

    This workflow addresses the critical issue of automated error handling in n8n workflows by sending immediate email notifications via Gmail when an error occurs. It ensures that stakeholders are informed of workflow failures, enabling quick response times and reducing potential downtime.

    Workflow Steps

  • Error Trigger Activation: The workflow is manually triggered and begins monitoring for errors in the n8n execution process.
    2. Error Detection: When an error occurs, the Error Trigger node captures the details of the error, including the error message, the last executed node, the execution URL, and the stack trace.
    3. Email Notification: The Gmail node composes an email using the captured error information and sends it to the specified recipient. The email includes:
    - Workflow Name: Identifying the workflow that failed.
    - Error Message: A clear description of the error encountered.
    - Last Node Executed: Information on where the failure occurred in the workflow.
    - Execution URL: A direct link to the execution details for further investigation.
    - Stacktrace: Detailed error stack for debugging purposes.
  • Customization Guide

  • Change Recipient: Update the toList parameter in the Gmail node to direct notifications to a different email address.
    - Modify Email Content: Adjust the message and subject parameters to include additional context or change the wording as needed.
    - Add More Nodes: Integrate additional nodes for further actions upon error detection, such as logging errors to a database or triggering other workflows.
    - Customize Error Handling: Tailor the error message formatting or additional fields in the email to suit specific requirements or preferences.