Watchdog: Update All Workflows With Default Error Workflow

Nodes

7a48708c-bd3b-409b-837b-b599c5bcd7e6e6ae7503-2949-4cf6-8d11-9f146c34f723

Categories

Created by

DaDarien Kindlund

Last edited 38 days ago

Do you consistently forget to set a Default Error Workflow when creating new workflows? Then this helper workflow is for you!

When activated, this helper workflow will:

  • Scan ALL other workflows every 4 hours
  • Make sure ALL workflows have a default error workflow set (based on what Workflow ID you provide)
  • This helper will SKIP OVER any workflows that have the default_error:false tag set (make sure your default error workflow has the default_error:false tag set, so that you don't end up with recursive loops during errors)

Setup Nodes:

  • Once imported, edit the Set Vars node with your default_error_workflow_id value.
  • If you want to change the default_error:false tag to some other tag name, you can do so here as well.
  • You need to update the Set Default Error Workflow node with your PostgreSQL credentials to access the n8n database.

New to n8n?

Need help building new n8n workflows? Process automation for you or your company will save you time and money, and it's completely free!