⚡ Only 300 spots remaining • Closes in 2d 14h 32m
Self-healing infrastructure. This workflow pings your server every 5 minutes. If a non-200 status code is returned, it sends an emergency alert to Slack and triggers a restart webhook on your hosting provider (like DigitalOcean or Vercel).
This workflow is pre-configured and ready for deployment. Simply import the JSON template into your n8n instance and configure your credentials.
This is an exclusive blueprint. Copy the JSON below to use it.
PRO TIP
Always test your workflow in a development environment before pushing to production.
{
"nodes": [
{
"parameters": {
"interval": 5,
"unit": "minutes"
},
"name": "Check Every 5m",
"type": "n8n-nodes-base.cron",
"typeVersion": 1,
"position": [
250,
300
]
},
{
"parameters": {
"url": "https://your-server.com/health"
},
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
450,
300
],
"continueOnFail": true
},
{
"parameters": {
"conditions": {
"number": [
{
"value1": "={{$node[\"HTTP Request\"].json[\"statusCode\"]}}",
"operation": "notEqual",
"value2": 200
}
]
}
},
"name": "Is Down?",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
650,
300
]
},
{
"parameters": {
"url": "https://api.digitalocean.com/v2/droplets/ID/actions",
"method": "POST",
"bodyParametersUi": {
"parameter": [
{
"name": "type",
"value": "reboot"
}
]
}
},
"name": "Trigger Reboot",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 3,
"position": [
850,
250
]
}
],
"connections": {
"Check Every 5m": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Is Down?",
"type": "main",
"index": 0
}
]
]
},
"Is Down?": {
"main": [
[
{
"node": "Trigger Reboot",
"type": "main",
"index": 0
}
]
]
}
}
}To use this, copy the JSON above and paste it directly onto your n8n canvas.
Join the elite marketers who have offloaded their entire backend to n8n. Get direct support and custom builds in our private forum.