Purge n8n Execution History
detail.loadingPreview
Automatically purges old execution history from your n8n database.
🚀Ready to Deploy This Workflow?
About This Workflow
Overview
This workflow automatically purges execution history data from your n8n instance's MySQL database that is older than a specified number of days. This helps to keep your database size manageable and improve performance.
Key Features
- Deletes execution history records older than 30 days.
- Configurable to run on a schedule (currently set to daily at 7 AM UTC).
- Includes error handling for robust operation.
How To Use
- Import this workflow into your n8n instance.
- Ensure the MySQL node is configured with your n8n database credentials.
- Adjust the
INTERVALin the MySQL query if you wish to purge history older than a different number of days. - The Cron node is set to run daily at 7 AM UTC. Adjust
triggerTimesif a different schedule is desired. - Enable the workflow.
Apps Used
Workflow JSON
{
"id": "cc85600c-72bf-42f8-afe2-e14e8a19d454",
"name": "Purge n8n Execution History",
"nodes": 0,
"category": "Database Management",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: cc85600c-72bf...
About the Author
Crypto_Watcher
Web3 Developer
Automated trading bots and blockchain monitoring workflows.
Statistics
Verification Info
Related Workflows
Discover more workflows you might like
Automate Competitor Tracking with Crunchbase & ClickUp
Streamline competitor analysis by automatically fetching data from Crunchbase and creating review tasks in ClickUp. Stay informed about market changes without manual effort.
Telegram Profanity & Toxicity Filter
This n8n workflow automatically monitors incoming Telegram messages for profanity and toxic language. It leverages Google's Perspective API to analyze message content, and if a message is deemed inappropriate, the workflow sends an automated warning response back to the sender.
Automate Shipment Tracking with Telegram and n8n
Streamline your logistics operations by automating shipment tracking with Telegram and n8n. This workflow allows drivers to easily share updates, and ensures timely notifications to your team.
Convert Any Webpage to PDF and Save Locally
This n8n workflow provides a simple way to convert any public webpage URL into a PDF document. Once converted, the PDF file is automatically saved to your local disk, making it easy to archive or share web content offline.
Universal CSV to JSON API Converter
Effortlessly transform CSV data into structured JSON with this versatile n8n workflow. Integrate it into any application as a custom API endpoint, supporting various input methods including file uploads and raw text.
Automate DOCX to PDF Conversion and Save Locally
This workflow automates the process of converting a Microsoft Word DOCX file to a PDF document. It downloads a source DOCX file, uses ConvertAPI to perform the conversion, and then saves the resulting PDF file directly to your local disk.