--- title: Error Trigger node documentation description: >- Learn how to use the Error Trigger node in n8n. Follow technical documentation to integrate Error Trigger node into your workflows. contentType: - integration - reference priority: medium nodeTitle: Error Trigger node documentation originalFilePath: integrations/builtin/core-nodes/n8n-nodes-base.errortrigger.md originalUrl: >- https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.errortrigger url: >- https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.errortrigger layout: description: visible: false --- # Error Trigger node When an automatic workflow run fails, the **Error Trigger** node starts the error workflow selected in that workflow's settings and passes it details about the failure. You can use the Error Trigger node to create error workflows. When another linked workflow fails, this node gets details about the failed workflow and the errors, and runs the error workflow. ## Usage {% include "https://app.gitbook.com/s/GixZThfitWP21x2gQFpD/~/reusable/odStQfuU7M0KPowwye9k/" %} Note the following: * You have to publish the workflow that uses the **Error Trigger** node. * If a workflow contains the Error Trigger node, by default, the workflow uses itself as the error workflow. * You can't test error workflows when running workflows manually. The Error Trigger only runs when an automatic workflow errors. ## Templates and examples [Browse Error Trigger node documentation integration templates](https://n8n.io/integrations/error-trigger) or [search all templates](https://n8n.io/workflows/) ## Related resources You can use the [Stop And Error](n8n-nodes-base.stopanderror.md) node to send custom messages to the Error Trigger. Read more about [Error workflows](https://app.gitbook.com/s/rPN1zU5jaYNvwH7RzxqA/flow-logic/handle-errors-gracefully) in n8n workflows. ## Error data {% include "https://app.gitbook.com/s/GixZThfitWP21x2gQFpD/~/reusable/rAiMowL1bA7C4GcH8FyS/" %}