Developers and Data Engineers: Those who manage complex workflows and need a robust error handling mechanism to ensure smooth operations.
Business Analysts: Users who want to receive immediate notifications about workflow failures to take timely actions.
IT Support Teams: Teams responsible for monitoring and maintaining system integrity, ensuring that any issues are promptly addressed.
Project Managers: Individuals overseeing project workflows who need to ensure that all processes run smoothly and can react quickly to failures.
This workflow addresses the following issues:
Error Notifications: It automatically sends email notifications when a workflow encounters errors, whether at execution or trigger level.
Detailed Error Reporting: Provides comprehensive details about the error, including execution IDs, error messages, and stack traces, enabling quicker troubleshooting.
Centralized Error Management: Consolidates error handling for multiple workflows, allowing users to manage errors from a single point efficiently.
This workflow consists of the following steps:
Error Trigger: The workflow begins when an error is triggered in the main workflow.
Configuration Setup: It sets up necessary configurations, including the application URL and email recipient details.
Constants Assignment: Assigns important constants like workflow URLs and error handling workflow IDs for use in notifications.
Conditional Check: Evaluates if the error is due to execution or trigger failure using an 'If' node.
HTML Generation: Depending on the error type, it generates detailed HTML reports that include error specifics.
Merge HTMLs: Combines the generated HTML reports for execution and trigger errors.
Email Notification: Sends an email via Gmail to the specified recipient with all error details and links to the relevant workflows.