Monitor API health and send uptime alerts with Google Sheets and Slack
Ready for 3.0What this workflow does
This workflow has 18 nodes and runs on a schedule (every minute). Along the way it connects Google Sheets and Slack.
How it runs
Trigger: On a schedule (every minute).
- Load API List (Edit Fields (Set)): sets 1 field: apis
- Loop Over Items (Split Out): splits a list into separate items
- Start Timer (Edit Fields (Set)): sets 1 field: startTime
- Call API (HTTP Request): calls an HTTP API
- Measure Response Time (Code): runs custom JavaScript code
- Health Check (Code): runs custom JavaScript code
- Determines overall health (If): checks a condition and branches into true / false
- Store Logs (Google Sheets): append
- Create Alert Object (Code): runs custom JavaScript code
- Get Active Alert (Google Sheets): uses Google Sheets
…plus 7 more steps. See the full node list below.
Services it uses
Other Google Sheets + Slack templates (1,314)
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Schedule Trigger
n8n-nodes-base.scheduleTrigger - Edit Fields (Set)
n8n-nodes-base.set - HTTP Request
n8n-nodes-base.httpRequest - Code
n8n-nodes-base.code - Split Out
n8n-nodes-base.splitOut - If
n8n-nodes-base.if - Google Sheets
n8n-nodes-base.googleSheets - Slack
n8n-nodes-base.slack
From the author
Quick overview This workflow runs on a schedule to check a list of API endpoints, measure response time, validate health, log results to Google Sheets, and send Slack alerts for new outages while tracking active incidents and posting recovery notifications.…