How to trigger the Error Workflow

Describe the problem/error/question

I want Error Workflow should trigger on certain error occurrred, example: Payload error occurred and after that it should perform something and trigger Error Worfklow too where Error Trigger node is being used in the EWF.

What is the error message (if any)?

Please share your workflow

Share the output returned by the last node

From first workflow after that next workflow it should work, right now it DIDN’t trigger the EWF(Error Trigger node]

Information on your n8n setup

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

Hey @Gouravdev

In the setting, you need to select the workflow,


Then it should send errors to this trigger node.

Samuel

Yes, this setting is already being enabled.

1 Like

@Gouravdev

Okay, and on the 2nd workflow under execution history do you see anything there? I think you mentioned not, and are using running this in production mode ie schduled trigger, not within the gui workflow.

See above, the node http request settings has error route enabled and attached a stop and error. and this works (tested)

This is my trigger workflow

If using like this in GUI, and not using active ie production

It won’t trigger the workflow but only display an error in the GUI.
more details here

and https://youtu.be/XEUVl3bbMhI?si=nUyaME5kyxe6daGO and https://youtu.be/77Ewdaby47M?si=6YRlC4nMgG4hVQPV

So from what I can see the main issue is, it’s not running in production mode, and being executed within the GUI which won’t send error but only display in the GUI

This should then work for you,

Samuel

1 Like