--- 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 --- # Error Trigger node 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} ../../../../_snippets/flow-logic/create-set-error-workflow.md ``` Note the following: * If a workflow uses the Error Trigger node, you don't have to publish the workflow. * 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 ## Related resources You can use the [Stop And Error](/08-0-0-Workflow/integrations/builtin/core-nodes/n8n-nodes-base.stopanderror.md) node to send custom messages to the Error Trigger. Read more about [Error workflows](/08-0-0-Workflow/flow-logic/error-handling.md) in n8n workflows. ## Error data ```{include} ../../../../_snippets/integrations/builtin/core-nodes/error-trigger/error-data.md ```