Automate stability with this essential n8n workflow. It runs hourly using the n8n trigger to find failed executions, handles internal API login, and automatically retries the runs, boosting reliability.
Download this n8n workflow template and start using it instantly.
Maintaining high reliability in complex automation environments is challenging. When an n8n workflow fails due to a temporary external API outage, network glitch, or intermittent server load, manually finding and retrying hundreds of executions can be tedious and slow. This robust n8n workflow solves this critical problem by creating an automated, hourly error recovery engine.
This is one of the most practical n8n templates available, designed to monitor your entire n8n instance. It utilizes an n8n trigger (schedule) to wake up hourly, securely logs into the n8n platform via API to fetch all failed executions, filters out those already successfully recovered, and automatically triggers a retry action for the remaining ones. This significantly reduces downtime and manual intervention, ensuring your core business processes powered by n8n remain operational.
This powerful n8n workflow executes through the following steps:
Schedule Trigger, acting as the primary n8n trigger, configured to run every hour.Set n8n node is used to centralize critical login parameters: the n8n instance URL, username, and password.HTTP Request n8n node performs a POST request to the instance's login endpoint, authenticating the user. Crucially, it captures the session cookie necessary for future API calls.n8n node is utilized to query the execution resource. It applies a specific filter to retrieve only those executions where the status is 'error'.If n8n node checks each failed execution. If the execution item contains a retrySuccessId (meaning it was previously retried successfully), it is routed to the 'false' branch and ignored via a 'No Operation, do nothing' n8n node. Only truly failed, un-retried executions proceed.Split In Batches n8n node converts the list of qualifying failed items into manageable batches (default size 5), improving resource efficiency.HTTP Request n8n node uses the session cookie obtained in Step 3 to send a POST request to the execution retry endpoint (/rest/executions/[ID]/retry). This action automatically restarts the failed n8n workflow, completing the recovery process.To deploy this essential recovery engine n8n workflow, follow these steps:
logindetails Set n8n node (ID: 5b8bf8c1-f505-42da-936d-637394e71b34). You must replace the placeholder values for username, password, and n8ninstance with your administrator credentials and your instance URL. This is critical for the Log into n8n node to function.n8n node (ID: 7867cbd1-bf14-488d-9bbf-11d4478f93f2) requires an n8n API credential. Ensure you set up an appropriate API key credential associated with an account that has permission to view and retry executions.Schedule Trigger will handle the automated hourly checks. Use the When clicking ‘Test workflow’ n8n trigger for immediate testing.set-cookie header from the full response, which is crucial for authenticating the subsequent retry API call.status: error and returnAll: true to fetch a comprehensive list of all failed executions waiting for recovery.$json.retrySuccessId is present. If true (the execution was already retried), the process stops; otherwise, the execution proceeds to the retry steps.continueRegularOutput on error, ensuring the entire n8n workflow continues even if one specific retry attempt fails.Deploy a sophisticated n8n workflow that uses a GPT-5 agent to respond to Slack messages as you. This n8n automation leverages Google Docs for RAG knowledge and maintains conversation memory for human-like replies.

Automate customer support using this smart n8n workflow. It monitors Gmail, uses OpenAI to generate contextual replies from a Google Sheet FAQ, and logs interactions. Deploy powerful n8n templates today.

Automate Gmail replies using this advanced n8n workflow. Classify inquiries with GPT-4o, search external data via Dumpling AI, and generate instant, personalized email responses.

Automate saving Instagram lead form submissions directly to Google Sheets using this pre-built n8n workflow. Perfect for marketers needing instant data synchronization.

Automation consultant with expertise in streamlining diverse business processes using tools like n8n, Frappe, and Airtable. Passionate about creating efficient workflows and integrating advanced solutions for various industries, from lead generation and payment automation to customer support and beyond. Let’s connect to discuss how I can help optimize your systems. https://n8n.partnerlinks.io/kz2lkr3qyr0t E | [email protected]







































