How to global set workflow settings to save failed executions only?

Describe the problem/error/question

Is there a way to global set all workflow settings to save only failed executions? instead of manually setting them individually

What is the error message (if any)?

Please share your workflow

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

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

Hi @Ruriko, welcome!

There isn’t a direct way to do it directly afaik, but there is a solution,

The solution is in the JSON object of each workflow, specifically under settings,

There you’ll find the properties you need to either modify or create:

So you’ll need to create a workflow that interacts with the n8n API, fetches all workflows, and then updates or adds the properties you need in the settings object,

I think it would be a fun and nice workflow to build..

1 Like

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