Library / Code, Git & Developer Tools
Code, Git & Developer Tools
Prune Old n8n Execution History Automatically
On a schedule or manual run, old executions are listed through the n8n API and deleted to keep the database small.
The steps
- When clicking ‘Test workflow’
- n8n1
- n8n list execution
- If
- Schedule Trigger
- delete execution
- No Operation, do nothing
Similar automations
Code, Git & Developer ToolsPurge n8n Execution History Older Than 10 Days3 stepsCode, Git & Developer ToolsTake and Prune DigitalOcean Droplet Snapshots6 stepsCode, Git & Developer ToolsPurge n8n History Older Than 10 Days in MySQL4 stepsCode, Git & Developer ToolsBack Up n8n Workflows to Dropbox, Purging Old Copies15 steps