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 →
{
"id": "34",
"name": "Monitoring and alerting",
"nodes": [
{
"name": "Cron",
"type": "n8n-nodes-base.cron",
"position": [
250,
200
],
"parameters": {},
"typeVersion": 1
},
{
"name": "Postgres",
"type": "n8n-nodes-base.postgres",
"position": [
450,
200
],
"parameters": {
"query": "SELECT * FROM n8n WHERE value > 70 AND notification = false;",
"operation": "executeQuery"
},
"credentials": {
"postgres": "<your credential>"
},
"typeVersion": 1
},
{
"name": "Twilio",
"type": "n8n-nodes-base.twilio",
"position": [
650,
200
],
"parameters": {
"to": "",
"from": "",
"message": "=\ud83d\udea8 The Sensor ({{$node[\"Postgres\"].json[\"sensor_id\"]}}) showed a reading of {{$node[\"Postgres\"].json[\"value\"]}}."
},
"credentials": {
"twilioApi": "<your credential>"
},
"typeVersion": 1
},
{
"name": "Set",
"type": "n8n-nodes-base.set",
"position": [
850,
200
],
"parameters": {
"values": {
"number": [
{
"name": "id",
"value": "={{$node[\"Postgres\"].json[\"id\"]}}"
}
],
"boolean": [
{
"name": "notification",
"value": true
}
]
},
"options": {},
"keepOnlySet": true
},
"typeVersion": 1
},
{
"name": "Postgres1",
"type": "n8n-nodes-base.postgres",
"position": [
1050,
200
],
"parameters": {
"table": "n8n",
"columns": "notification",
"operation": "update"
},
"credentials": {
"postgres": "<your credential>"
},
"typeVersion": 1
}
],
"active": false,
"settings": {},
"connections": {
"Set": {
"main": [
[
{
"node": "Postgres1",
"type": "main",
"index": 0
}
]
]
},
"Cron": {
"main": [
[
{
"node": "Postgres",
"type": "main",
"index": 0
}
]
]
},
"Twilio": {
"main": [
[
{
"node": "Set",
"type": "main",
"index": 0
}
]
]
},
"Postgres": {
"main": [
[
{
"node": "Twilio",
"type": "main",
"index": 0
}
]
]
}
}
}
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.
postgrestwilioApi
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Monitoring and alerting. Uses postgres, twilio. Scheduled trigger; 5 nodes.
Source: https://github.com/Zie619/n8n-workflows — 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.
cron-30min-sms-reminder. Uses postgres, twilio. Scheduled trigger; 7 nodes.
Send Sms Alerts Based On Database Queries Twilio And Postgres. Uses postgres, twilio. Scheduled trigger; 5 nodes.
Disparador 1.8. Uses itemLists, postgres, emailSend, httpRequest. Scheduled trigger; 85 nodes.
공유회_알림톡_크론. Uses postgres, httpRequest, n8n-nodes-solapi. Scheduled trigger; 39 nodes.
QuepasaAutomatic. Uses postgres, postgresTrigger, httpRequest. Scheduled trigger; 39 nodes.