Question on NODES_ERROR_TRIGGER_TYPE

Hi,

I am studying all the environment variables.
I think I underestimated the value to review it until now…

I don’t understand the variable “NODES_ERROR_TRIGGER_TYPE”.
What is the behavior of this variable ?
What type of values is waited ?

Thank you

It looks like your topic is missing some important information. Could you provide the following if applicable.

  • n8n version:
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app):
  • Operating system:

Is it a automatic message ?
Because, I talk about the documentation :smiley:, not relative to a specific server.

Yes that is an automatic message

As it says in the description, it is specifying a node to trigger on errors. The default value for it is the default error trigger node.

I have never changed this, not sure what use cases would be out there for this but there must be something. I’m not sure the exact behavior here but I would guess you could make another trigger also function as an error trigger. Not sure why you would do that though since you can have multiple triggers

1 Like

I think that option is only needed if you have (or building by yourself) a custom error trigger node

Thank for your answer.

If I understand well, I can setup a default error trigger for all my workflows ?
I am note sure how to fill the value.

Do you know you to specify an existing wf ?

You don’t need to change this environment variable. It’s for the ones who build their own nodes.

There is already a node built in called “Error Trigger”, you don’t need to change any variables for that

If you configure the workflow settings like but match the workflow with the error trigger then that workflow will be triggered with the error

1 Like

Ok.

That’s not to define a default error workflow?

My idea was to catch all errors for my workflow if I forget to set one in the workflow’s settings.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.