I’m working with n8n and have created two separate workflows:
-
Main Workflow: This workflow fetches emails, parses them, and stores the data in a MySQL database.
-
Error Handling Workflow: This workflow is supposed to send an email notification when an error occurs in the main workflow.
I’ve linked the Error Handling Workflow to the Main Workflow using the “Error Workflow” setting in the workflow settings. When I manually trigger the Error Handling Workflow, the email notification is sent correctly, which confirms that the Error Handling Workflow itself is functioning.
However, when an error actually occurs in the Main Workflow, the Error Handling Workflow is not triggered as expected. I can see the error in the execution history of the Main Workflow, but it does not seem to activate the Error Handling Workflow.
Steps I’ve Taken:
-
Double-checked that the Error Handling Workflow is correctly set as the Error Workflow in the Main Workflow’s settings.
-
Verified that the Main Workflow is indeed failing (e.g., by forcing an error).
-
Manually tested the Error Handling Workflow to ensure it sends emails correctly.
What could be causing the Error Handling Workflow to not trigger automatically when an error occurs in the Main Workflow? How can I fix this issue?
Any help or guidance would be greatly appreciated!