Keyflow

Search Keyflow

Find a shortcut, workflow, MCP server or skill

Automatically prune n8n execution history

n8n template #2646
Automated Execution Pruning This workflow is designed to help you manage and optimize your n8n instance by automatically pruning old workflow executions, ensuring a cleaner environment and improved performance. You can customize the retention period to suit your needs. Key Features: Configurable Retention Period: The workflow is preconfigured to delete workflow executions older than 10 days. You can easily adjust this duration by modifying the condition in the If node. Daily Automation: Using the Schedule Trigger, the workflow runs daily at the specified time (default: 4:44 AM), retrieving all workflow executions and identifying those that are older than the defined retention period. On-Dema

Hand off to your agent

Prompt

Help me set up the n8n workflow "Automatically prune n8n execution history" (https://n8n.io/workflows/2646). It uses: . Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.

Paste into Claude Code and it will do the rest.

Apps and nodes

Buy me a coffee