This workflow follows the Emailsend → HTTP Request recipe pattern — see all workflows that pair these two integrations.
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": "Monitor de Erros com Alertas",
"nodes": [
{
"id": "e5f6a7b8-0005-0005-0005-000000000001",
"name": "Verificar a Cada 5 Minutos",
"type": "n8n-nodes-base.scheduleTrigger",
"typeVersion": 1.2,
"position": [
240,
300
],
"parameters": {
"rule": {
"interval": [
{
"field": "cronExpression",
"expression": "*/5 * * * *"
}
]
}
}
},
{
"id": "e5f6a7b8-0005-0005-0005-000000000002",
"name": "Health Check Endpoint",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
460,
300
],
"parameters": {
"method": "GET",
"url": "https://suaaplicacao.com/health",
"options": {
"response": {
"response": {
"fullResponse": true
}
},
"timeout": 10000
}
}
},
{
"id": "e5f6a7b8-0005-0005-0005-000000000003",
"name": "Checar Status",
"type": "n8n-nodes-base.if",
"typeVersion": 2,
"position": [
680,
300
],
"parameters": {
"conditions": {
"options": {
"caseSensitive": true,
"leftValue": "",
"typeValidation": "strict"
},
"conditions": [
{
"id": "cond-status",
"leftValue": "={{ $json.statusCode }}",
"rightValue": 200,
"operator": {
"type": "number",
"operation": "notEquals"
}
}
],
"combinator": "and"
},
"options": {}
}
},
{
"id": "e5f6a7b8-0005-0005-0005-000000000004",
"name": "Alerta por Email",
"type": "n8n-nodes-base.emailSend",
"typeVersion": 2.1,
"position": [
900,
180
],
"parameters": {
"fromEmail": "alertas@seudominio.com",
"toEmail": "devops@seudominio.com",
"subject": "ALERTA: Servi\u00e7o fora do ar \u2014 C\u00f3digo {{ $json.statusCode }}",
"emailFormat": "html",
"message": "<h2>Alerta de Indisponibilidade</h2><p><strong>Servi\u00e7o:</strong> https://suaaplicacao.com</p><p><strong>Status HTTP:</strong> {{ $json.statusCode }}</p><p><strong>Data/Hora:</strong> {{ new Date().toLocaleString('pt-BR') }}</p><p>Verifique o servidor imediatamente.</p>",
"options": {}
},
"credentials": {
"smtp": {
"name": "<your credential>"
}
}
},
{
"id": "e5f6a7b8-0005-0005-0005-000000000005",
"name": "Alerta WhatsApp",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
900,
420
],
"parameters": {
"method": "POST",
"url": "https://api.whatsapp-provider.com/send",
"authentication": "predefinedCredentialType",
"nodeCredentialType": "httpHeaderAuth",
"sendBody": true,
"bodyContentType": "json",
"specifyBody": "json",
"jsonBody": "={{ JSON.stringify({ to: '5511999999999', message: `ALERTA: Servi\u00e7o fora do ar!\\nStatus: ${$json.statusCode}\\nHor\u00e1rio: ${new Date().toLocaleString('pt-BR')}` }) }}",
"options": {}
},
"credentials": {
"httpHeaderAuth": {
"name": "<your credential>"
}
}
}
],
"connections": {
"Verificar a Cada 5 Minutos": {
"main": [
[
{
"node": "Health Check Endpoint",
"type": "main",
"index": 0
}
]
]
},
"Health Check Endpoint": {
"main": [
[
{
"node": "Checar Status",
"type": "main",
"index": 0
}
]
]
},
"Checar Status": {
"main": [
[
{
"node": "Alerta por Email",
"type": "main",
"index": 0
},
{
"node": "Alerta WhatsApp",
"type": "main",
"index": 0
}
],
[]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
},
"id": "e5f6a7b8-0005-0005-0005-000000000000",
"meta": {
"templateCredsSetupCompleted": false
}
}
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.
httpHeaderAuthsmtp
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Monitor de Erros com Alertas. Uses httpRequest, emailSend. Scheduled trigger; 5 nodes.
Source: https://github.com/Rubens-Marques/n8n-flows-library/blob/9226ec20cf7443ed2dad5c84e0f1d5f36651cfd1/flows/notificacoes/error-alerter/flow.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.
Easily monitor your website uptime and receive instant email alerts when it becomes unreachable — using this no-code template powered by n8n, a free and flexible workflow automation tool.
Uptime Monitor → Email Alert. Uses httpRequest, emailSend. Scheduled trigger; 4 nodes.
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
This workflow checks a website URL every 6 hours, detects content changes by hashing the normalized HTML, and when a change is found it uses PolyDoc to capture a full-page screenshot and emails the PN
Rank Drop Alert Monitor. Uses googleSheets, httpRequest, slack, emailSend. Scheduled trigger; 11 nodes.