The workflow JSON
Copy or download the full n8n JSON below. Paste it into a new n8n workflow, add your credentials, activate. Full import guide →
{
"name": "API Health Monitor",
"nodes": [
{
"parameters": {
"rule": {
"interval": [
{
"field": "minutes",
"minutesInterval": 5
}
]
}
},
"id": "sch-1",
"name": "Every 5 Minutes",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1,
"position": [
200,
400
]
},
{
"parameters": {
"url": "https://api.example.com/healthz",
"method": "GET",
"options": {}
},
"id": "http-check",
"name": "Check Health",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
420,
400
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{ $json.status }}",
"operation": "equal",
"value2": "ok"
}
]
},
"combineOperation": "all"
},
"id": "if-1",
"name": "Is Healthy?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
640,
400
]
},
{
"parameters": {},
"id": "noop-1",
"name": "All Good",
"type": "n8n-nodes-base.noOp",
"typeVersion": 1,
"position": [
860,
280
]
},
{
"parameters": {
"url": "https://alerts.example.com/v1/page",
"method": "POST",
"bodyParameters": {
"parameters": [
{
"name": "severity",
"value": "critical"
},
{
"name": "message",
"value": "=API unhealthy: {{ $json.status }}"
}
]
}
},
"id": "http-alert",
"name": "Page On-Call",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4,
"position": [
860,
520
]
}
],
"connections": {
"Every 5 Minutes": {
"main": [
[
{
"node": "Check Health",
"type": "main",
"index": 0
}
]
]
},
"Check Health": {
"main": [
[
{
"node": "Is Healthy?",
"type": "main",
"index": 0
}
]
]
},
"Is Healthy?": {
"main": [
[
{
"node": "All Good",
"type": "main",
"index": 0
}
],
[
{
"node": "Page On-Call",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {},
"id": "wf-health",
"tags": [
"ops"
]
}
Credentials you'll need
Each integration node will prompt for credentials when you import. We strip credential IDs before publishing — you'll add your own.
httpHeaderAuth
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
API Health Monitor. Uses httpRequest. Scheduled trigger; 10 nodes.
Source: https://github.com/gharisj3/n8n-workflow-library/blob/main/workflows/06-api-health-monitor/workflow.json — original creator credit. Request a take-down →
Related workflows
Workflows that share integrations, category, or trigger type with this one. All free to copy and import.
Proactively alert to service endpoint changes and pod/container issues (Pending, Not Ready, Restart spikes) using Prometheus metrics, formatted and sent to Slack.
Tired of being let down by the Google Drive Trigger? Rather not exhaust system resources by polling every minute? Then this workflow is for you!
Triggers at a regular interval or via a webhook request. Solves AWS WAF challenge then makes a request to fetch the product page. Extracts product data from the retrieved HTML page. Compares the curre
🔄 Monitor Container Images from Docker Hub or GHCR.
Automatically monitor billable Kimai projects every weekday morning and receive a formatted HTML email when a project deadline is approaching or its hour budget is running low. If nothing requires att