{"workflow":{"id":14270,"name":"Monitor n8n workflow health daily with Watchflow","views":4,"recentViews":0,"totalViews":4,"createdAt":"2026-03-23T15:34:04.531Z","description":"![image.png](fileId:5093)\n# 🚀 Stop Worrying About n8n Workflow Failures – The Ultimate Global Health Monitor\n\nEver had a critical n8n workflow fail silently, only to discover it days later? **Never again.**\n\nThis professional-grade template transforms your n8n workspace into a self-monitoring powerhouse. By leveraging the [Watchflow](https://watchflow.io) node, it automatically audits all your active workflows every day, ensuring your automation engine is running at 100% capacity.\n\n---\n\n## 💎 Why Your n8n Stack Needs This\n\nManaging a handful of workflows is easy. Managing dozens is a nightmare—unless you have a **Watchflow Global Health Monitor**.\n\n- **Eliminate \"Silent Failures\"**: Most workflows only alert you when *they* run. This monitor alerts you when they *don't* or when they fail without a trigger.\n- **Centralized Uptime Dashboard**: Get a bird's-eye view of your entire n8n health inside Watchflow.\n- **Enterprise-Grade Reliability**: Built for teams who can't afford a single minute of downtime.\n- **Instant Actionable Alerts**: Don't just know *that* it failed—know *why* it failed with direct error reporting to your Watchflow dashboard.\n\n---\n\n## 🛠️ What’s Under the Hood?\n\nThis isn't just a simple fetch; it's a smart monitoring logic designed for efficiency:\n\n1.  **Automated Discovery**: Dynamically fetches all `Active` workflows (optionally filtered by tags like #daily).\n2.  **Health Audit**: Deep-dives into the latest execution of every workflow to verify its status.\n3.  **Intelligent Reporting**:\n    *   ✅ **Success?** Sends a heartbeat `Ping` to Watchflow to confirm everything is green.\n    *   ❌ **Failure?** Sends a `Fail` event with the exact error message, so you can fix it before anyone notices.\n\n---\n\n## ⚡ Quick Start (Requirements)\n\nTo deploy this monitoring powerhouse, you'll need:\n\n1.  **Watchflow Node**: Install the official node using the npm package name: `@watchflow/n8n-nodes-watchflow`.\n2.  **Watchflow API Key**: [Signup at watchflow.io](https://watchflow.io), go to **Settings**, and find your key in the **API Key** section.\n3.  **n8n API Key**: In your n8n instance, go to **Settings** -&gt; **n8n API** to generate your key.\n4.  **Credential Tip**: When setting up your n8n API credentials, use your base URL followed by `/v1/api` (e.g., `https://n8n.yourdomain.com/v1/api`).\n\n---\n\n## 📈 The Result? Peace of Mind.\n\nDeploy this template once, and let it take the watch over your automations. Whether you're running complex lead gen, financial syncs, or infrastructure scripts, the **Watchflow Global Health Monitor** is your first line of defense against automation downtime.\n","workflow":{"id":"46X7wVmqUVmJs0Cb","meta":{"instanceId":"1256144d80d79fc4f380e5f9dc63934d781f42abeb6ee748998ad3612720178f","templateCredsSetupCompleted":true},"name":"Watchflow Global Health Monitor","tags":[{"id":"Z3G9MT4HwiRujRJo","name":"test","createdAt":"2026-03-16T17:44:07.443Z","updatedAt":"2026-03-16T17:44:07.443Z"}],"nodes":[{"id":"ff05f5cc-da7d-46ed-9224-d55890535ee1","name":"Get All Workflows","type":"n8n-nodes-base.n8n","position":[624,704],"parameters":{"filters":{"tags":"daily","activeWorkflows":true},"returnAll":false,"requestOptions":{}},"credentials":{"n8nApi":{"id":"SyPWzieiLePZnMAi","name":"n8n account"}},"typeVersion":1},{"id":"a5dc1b43-4f23-43cc-9287-f146c197a8a2","name":"Get Last Execution","type":"n8n-nodes-base.n8n","position":[928,704],"parameters":{"limit":1,"filters":{"workflowId":{"__rl":true,"mode":"id","value":"={{ $json.id }}"}},"options":{"activeWorkflows":true},"resource":"execution","requestOptions":{}},"credentials":{"n8nApi":{"id":"SyPWzieiLePZnMAi","name":"n8n account"}},"typeVersion":1},{"id":"4947f32f-d4a4-4a6b-b70c-3bf2f69fdc61","name":"Is Successful?","type":"n8n-nodes-base.if","position":[1120,704],"parameters":{"options":{},"conditions":{"options":{"version":1,"leftValue":"","caseSensitive":true,"typeValidation":"strict"},"combinator":"and","conditions":[{"id":"success-check","operator":{"name":"equals","type":"string","operation":"equals"},"leftValue":"={{ $json.status }}","rightValue":"success"}]}},"typeVersion":2},{"id":"694e0ef1-851f-4994-8fd4-abe2739863c9","name":"Watchflow: Ping","type":"CUSTOM.watchflow","position":[1424,656],"parameters":{"key":"={{ $('Get All Workflows').item.json.name.toLowerCase().replace(/\\s+/g, '-') }}","data":"={ \"last_execution_id\": \"{{ $json.id }}\", \"finished_at\": \"{{ $json.stoppedAt }}\" }","name":"={{ $('Get All Workflows').item.json.name }}"},"credentials":{"watchflowApi":{"id":"test-creds","name":"Watchflow account"}},"typeVersion":1},{"id":"9bf58354-8274-4ca7-8d36-09eabc132f32","name":"Watchflow: Fail","type":"CUSTOM.watchflow","position":[1424,832],"parameters":{"key":"={{ $('Get All Workflows').item.json.name.toLowerCase().replace(/\\s+/g, '-') }}","data":"={ \"last_execution_id\": \"{{ $json.id }}\", \"error_details\":  {{ $json.data.resultData.error.message }}}","name":"={{ $('Get All Workflows').item.json.name }}","error":"={{  $json.data.resultData.error.message }}","operation":"fail"},"credentials":{"watchflowApi":{"id":"test-creds","name":"Watchflow account"}},"typeVersion":1},{"id":"7158dd0a-85fc-4646-ba52-6c02a57a7690","name":"Every Day","type":"n8n-nodes-base.scheduleTrigger","position":[336,704],"parameters":{"rule":{"interval":[{}]}},"typeVersion":1.1},{"id":"9d6bad4d-4ac5-475c-86b2-580fccc6008a","name":"Sticky Setup","type":"n8n-nodes-base.stickyNote","position":[288,272],"parameters":{"width":556,"height":200,"content":"### 🚀 Setup & Requirements\n\n1. **Watchflow Node**: Install `@watchflow/n8n-nodes-watchflow` via npm.\n2. **Watchflow API Key**: Signup at `watchflow.io` -> Settings -> API Key.\n3. **n8n API Key**: Go to Settings -> n8n API in your instance.\n4. **n8n API Base URL**: Use `/v1/api` suffix (e.g., `https://n8n.domain.com/v1/api`)."},"typeVersion":1},{"id":"fb4d879d-7bfe-4ad6-8490-551aa6ad857a","name":"Sticky Trigger","type":"n8n-nodes-base.stickyNote","position":[288,528],"parameters":{"width":216,"height":100,"content":"### ⏰ 1. Daily Health Audit\nInitiates the global scan for all active workflows."},"typeVersion":1},{"id":"386eef80-904b-4c3d-be73-afc41ba040f7","name":"Sticky Fetch","type":"n8n-nodes-base.stickyNote","position":[560,528],"parameters":{"width":300,"height":100,"content":"### 🔍 2. Dynamic Discovery\nFetches active workflows and inspects their latest status."},"typeVersion":1},{"id":"da49a1e5-b3b5-494f-8e12-9627f3b43845","name":"Sticky Eval","type":"n8n-nodes-base.stickyNote","position":[944,528],"parameters":{"width":248,"height":100,"content":"### ⚖️ 3. Health Evaluator\nDetermines if the last run was successful."},"typeVersion":1},{"id":"4038b06a-821b-43c3-b7f0-44397ace07e4","name":"Sticky Watchflow","type":"n8n-nodes-base.stickyNote","position":[1248,528],"parameters":{"width":298,"height":96,"content":"### 📡 4. Watchflow Sync\nBroadcasts health status (Ping/Fail) to your Watchflow dashboard."},"typeVersion":1}],"active":true,"pinData":{},"settings":{"executionOrder":"v1"},"versionId":"5c645f4b-fe5e-4124-a711-2f43d14a9da4","connections":{"Every Day":{"main":[[{"node":"Get All Workflows","type":"main","index":0}]]},"Is Successful?":{"main":[[{"node":"Watchflow: Ping","type":"main","index":0}],[{"node":"Watchflow: Fail","type":"main","index":0}]]},"Get All Workflows":{"main":[[{"node":"Get Last Execution","type":"main","index":0}]]},"Get Last Execution":{"main":[[{"node":"Is Successful?","type":"main","index":0}]]}}},"lastUpdatedBy":1,"workflowInfo":{"nodeCount":11,"nodeTypes":{"CUSTOM.watchflow":{"count":2},"n8n-nodes-base.if":{"count":1},"n8n-nodes-base.n8n":{"count":2},"n8n-nodes-base.stickyNote":{"count":5},"n8n-nodes-base.scheduleTrigger":{"count":1}}},"status":"published","readyToDemo":null,"user":{"name":"CustomJS","username":"customjs","bio":"","verified":true,"links":["https://www.customjs.space"],"avatar":"https://gravatar.com/avatar/942ecdadf17761bc7f516b67fb0f3617809720caf8912cfd1815ed2a9f8b9ad3?r=pg&d=retro&size=200"},"nodes":[{"id":20,"icon":"fa:map-signs","name":"n8n-nodes-base.if","codex":{"data":{"alias":["Router","Filter","Condition","Logic","Boolean","Branch"],"details":"The IF node can be used to implement binary conditional logic in your workflow. You can set up one-to-many conditions to evaluate each item of data being inputted into the node. That data will either evaluate to TRUE or FALSE and route out of the node accordingly.\n\nThis node has multiple types of conditions: Bool, String, Number, and Date & Time.","resources":{"generic":[{"url":"https://n8n.io/blog/learn-to-automate-your-factorys-incident-reporting-a-step-by-step-guide/","icon":"🏭","label":"Learn to Automate Your Factory's Incident Reporting: A Step by Step Guide"},{"url":"https://n8n.io/blog/2021-the-year-to-automate-the-new-you-with-n8n/","icon":"☀️","label":"2021: The Year to Automate the New You with n8n"},{"url":"https://n8n.io/blog/why-business-process-automation-with-n8n-can-change-your-daily-life/","icon":"🧬","label":"Why business process automation with n8n can change your daily life"},{"url":"https://n8n.io/blog/create-a-toxic-language-detector-for-telegram/","icon":"🤬","label":"Create a toxic language detector for Telegram in 4 step"},{"url":"https://n8n.io/blog/no-code-ecommerce-workflow-automations/","icon":"store","label":"6 e-commerce workflows to power up your Shopify s"},{"url":"https://n8n.io/blog/how-to-build-a-low-code-self-hosted-url-shortener/","icon":"🔗","label":"How to build a low-code, self-hosted URL shortener in 3 steps"},{"url":"https://n8n.io/blog/automate-your-data-processing-pipeline-in-9-steps-with-n8n/","icon":"⚙️","label":"Automate your data processing pipeline in 9 steps"},{"url":"https://n8n.io/blog/how-to-get-started-with-crm-automation-and-no-code-workflow-ideas/","icon":"👥","label":"How to get started with CRM automation (with 3 no-code workflow ideas"},{"url":"https://n8n.io/blog/5-tasks-you-can-automate-with-notion-api/","icon":"⚡️","label":"5 tasks you can automate with the new Notion API "},{"url":"https://n8n.io/blog/automate-google-apps-for-productivity/","icon":"💡","label":"15 Google apps you can combine and automate to increase productivity"},{"url":"https://n8n.io/blog/automation-for-maintainers-of-open-source-projects/","icon":"🏷️","label":"How to automatically manage contributions to open-source projects"},{"url":"https://n8n.io/blog/how-uproc-scraped-a-multi-page-website-with-a-low-code-workflow/","icon":" 🕸️","label":"How uProc scraped a multi-page website with a low-code workflow"},{"url":"https://n8n.io/blog/5-workflow-automations-for-mattermost-that-we-love-at-n8n/","icon":"🤖","label":"5 workflow automations for Mattermost that we love at n8n"},{"url":"https://n8n.io/blog/why-this-product-manager-loves-workflow-automation-with-n8n/","icon":"🧠","label":"Why this Product Manager loves workflow automation with n8n"},{"url":"https://n8n.io/blog/sending-automated-congratulations-with-google-sheets-twilio-and-n8n/","icon":"🙌","label":"Sending Automated Congratulations with Google Sheets, Twilio, and n8n "},{"url":"https://n8n.io/blog/how-to-set-up-a-ci-cd-pipeline-with-no-code/","icon":"🎡","label":"How to set up a no-code CI/CD pipeline with GitHub and TravisCI"},{"url":"https://n8n.io/blog/benefits-of-automation-and-n8n-an-interview-with-hubspots-hugh-durkin/","icon":"🎖","label":"Benefits of automation and n8n: An interview with HubSpot's Hugh Durkin"},{"url":"https://n8n.io/blog/aws-workflow-automation/","label":"7 no-code workflow automations for Amazon Web Services"}],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.if/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Flow"]}}},"group":"[\"transform\"]","defaults":{"name":"If","color":"#408000"},"iconData":{"icon":"map-signs","type":"icon"},"displayName":"If","typeVersion":2,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":565,"icon":"fa:sticky-note","name":"n8n-nodes-base.stickyNote","codex":{"data":{"alias":["Comments","Notes","Sticky"],"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers"]}}},"group":"[\"input\"]","defaults":{"name":"Sticky Note","color":"#FFD233"},"iconData":{"icon":"sticky-note","type":"icon"},"displayName":"Sticky Note","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]},{"id":826,"icon":"file:n8n.svg","name":"n8n-nodes-base.n8n","codex":{"data":{"alias":["Workflow","Execution"],"resources":{"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.n8n/"}],"credentialDocumentation":[{"url":"https://docs.n8n.io/api/authentication/"}]},"categories":["Development","Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0","subcategories":{"Core Nodes":["Helpers","Other Trigger Nodes"]}}},"group":"[\"transform\"]","defaults":{"name":"n8n"},"iconData":{"type":"file","fileBuffer":"data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIGZpbGw9Im5vbmUiIHZpZXdCb3g9IjAgMCAyMzAgMTIwIj48cGF0aCBmaWxsPSIjRUE0QjcxIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIGQ9Ik0yMDQgNDhjLTExLjE4MyAwLTIwLjU4LTcuNjQ5LTIzLjI0NC0xOGgtMjcuNTA4YTEyIDEyIDAgMCAwLTExLjgzNiAxMC4wMjdsLS45ODcgNS45MTlBMjMuOTQgMjMuOTQgMCAwIDEgMTMyLjYyNiA2MGEyMy45NCAyMy45NCAwIDAgMSA3Ljc5OSAxNC4wNTRsLjk4NyA1LjkxOUExMiAxMiAwIDAgMCAxNTMuMjQ4IDkwaDMuNTA4QzE1OS40MiA3OS42NDkgMTY4LjgxNyA3MiAxODAgNzJjMTMuMjU1IDAgMjQgMTAuNzQ1IDI0IDI0cy0xMC43NDUgMjQtMjQgMjRjLTExLjE4MyAwLTIwLjU4LTcuNjQ5LTIzLjI0NC0xOGgtMy41MDhjLTExLjczMiAwLTIxLjc0NC04LjQ4Mi0yMy42NzMtMjAuMDU0bC0uOTg3LTUuOTE5QTEyIDEyIDAgMCAwIDExNi43NTIgNjZoLTkuNTA4QzEwNC41OCA3Ni4zNTEgOTUuMTgzIDg0IDg0IDg0cy0yMC41OC03LjY0OS0yMy4yNDQtMThINDcuMjQ0QzQ0LjU4IDc2LjM1MSAzNS4xODMgODQgMjQgODQgMTAuNzQ1IDg0IDAgNzMuMjU1IDAgNjBzMTAuNzQ1LTI0IDI0LTI0YzExLjE4MyAwIDIwLjU4IDcuNjQ5IDIzLjI0NCAxOGgxMy41MTJDNjMuNDIgNDMuNjQ5IDcyLjgxNyAzNiA4NCAzNnMyMC41OCA3LjY0OSAyMy4yNDQgMThoOS41MDhhMTIgMTIgMCAwIDAgMTEuODM2LTEwLjAyN2wuOTg3LTUuOTE5QzEzMS41MDQgMjYuNDgyIDE0MS41MTYgMTggMTUzLjI0OCAxOGgyNy41MDhDMTgzLjQyIDcuNjQ5IDE5Mi44MTcgMCAyMDQgMGMxMy4yNTUgMCAyNCAxMC43NDUgMjQgMjRzLTEwLjc0NSAyNC0yNCAyNG0wLTEyYzYuNjI3IDAgMTItNS4zNzMgMTItMTJzLTUuMzczLTEyLTEyLTEyLTEyIDUuMzczLTEyIDEyIDUuMzczIDEyIDEyIDEyTTI0IDcyYzYuNjI3IDAgMTItNS4zNzMgMTItMTJzLTUuMzczLTEyLTEyLTEyLTEyIDUuMzczLTEyIDEyIDUuMzczIDEyIDEyIDEybTcyLTEyYzAgNi42MjctNS4zNzMgMTItMTIgMTJzLTEyLTUuMzczLTEyLTEyIDUuMzczLTEyIDEyLTEyIDEyIDUuMzczIDEyIDEybTk2IDM2YzAgNi42MjctNS4zNzMgMTItMTIgMTJzLTEyLTUuMzczLTEyLTEyIDUuMzczLTEyIDEyLTEyIDEyIDUuMzczIDEyIDEyIiBjbGlwLXJ1bGU9ImV2ZW5vZGQiLz48L3N2Zz4="},"displayName":"n8n","typeVersion":1,"nodeCategories":[{"id":5,"name":"Development"},{"id":9,"name":"Core Nodes"}]},{"id":839,"icon":"fa:clock","name":"n8n-nodes-base.scheduleTrigger","codex":{"data":{"alias":["Time","Scheduler","Polling","Cron","Interval"],"resources":{"generic":[],"primaryDocumentation":[{"url":"https://docs.n8n.io/integrations/builtin/core-nodes/n8n-nodes-base.scheduletrigger/"}]},"categories":["Core Nodes"],"nodeVersion":"1.0","codexVersion":"1.0"}},"group":"[\"trigger\",\"schedule\"]","defaults":{"name":"Schedule Trigger","color":"#31C49F"},"iconData":{"icon":"clock","type":"icon"},"displayName":"Schedule Trigger","typeVersion":1,"nodeCategories":[{"id":9,"name":"Core Nodes"}]}],"categories":[{"id":16,"name":"DevOps"}],"image":[{"id":5093,"url":"https://n8niostorageaccount.blob.core.windows.net/n8nio-strapi-blobs-prod/assets/image_e122b64c6d.png"}]}}