Pushbuild

Choose which n8n executions to save, and for how long

n8n can already save or skip executions by type, per workflow or for the whole instance. Self-hosted instances can also control how long saved executions are kept.

Get a free written scope

We reply within 20 minutes with a written scope and a mockup of what we’d build.

At a glance

  1. Per workflowOpen the workflow menu, then Settings.
  2. Instance defaults (self-hosted)EXECUTIONS_DATA_SAVE_ON_ERROR and EXECUTIONS_DATA_SAVE_ON_SUCCESS take all or none.
  3. Pruning old executionsEXECUTIONS_DATA_PRUNE (default true) deletes past executions on a rolling basis.
  4. Keep sensitive data outWorkflow settings can also redact production or manual execution data, which hides each node's input and output.

Per workflow

  • Open the workflow menu, then Settings.
  • Save failed production executions and Save successful production executions apply to published workflows.
  • Save manual executions covers runs started from the editor.
  • Save execution progress saves data after each node so a run can resume after an error. n8n notes this can add latency.

Instance defaults (self-hosted)

  • EXECUTIONS_DATA_SAVE_ON_ERROR and EXECUTIONS_DATA_SAVE_ON_SUCCESS take all or none. Both default to all.
  • EXECUTIONS_DATA_SAVE_MANUAL_EXECUTIONS defaults to true. EXECUTIONS_DATA_SAVE_ON_PROGRESS defaults to false.

Pruning old executions

  • EXECUTIONS_DATA_PRUNE (default true) deletes past executions on a rolling basis.
  • EXECUTIONS_DATA_MAX_AGE sets the age in hours before deletion. The default is 336, which is 14 days.
  • EXECUTIONS_DATA_PRUNE_MAX_COUNT caps how many are kept. The default is 10000, and 0 means no limit.
  1. Per workflow
  2. Instance defaults (self-hosted)
  3. Pruning old executions
  4. Keep sensitive data out
The parts of this guide, in order.

Keep sensitive data out

  • Workflow settings can also redact production or manual execution data, which hides each node's input and output.

Updated 2026-11-05. General guidance, not advice for your situation; we scope each project in writing before any work starts.

What the sources say

“Whether n8n should save failed executions for published workflows.”

“Whether n8n should save executions for workflows started by the user in the editor.”

Self-hosted n8n deletes executions after 336 hours (14 days) by default and keeps at most 10,000 (EXECUTIONS_DATA_MAX_AGE and EXECUTIONS_DATA_PRUNE_MAX_COUNT, docs.n8n.io, as of 2026-11-09).

Sources

Questions people ask first

If I stop saving successful runs, can I still retry failures?

Yes, as long as failed production executions are still saved.

Does deleting a workflow keep its executions?

No. n8n deletes a workflow's execution history with it.

Tell us what you need built.

Tell us the process and the tools involved. We reply with questions or a written scope.

hello@pushbuild.com