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": "alert-on-risk-threshold",
"nodes": [
{
"parameters": {
"httpMethod": "POST",
"path": "risk-alert",
"responseMode": "responseNode"
},
"id": "webhook",
"name": "Risk Alert Webhook",
"type": "n8n-nodes-base.webhook",
"typeVersion": 2.1,
"position": [
260,
320
]
},
{
"parameters": {
"conditions": {
"options": {
"caseSensitive": false,
"leftValue": "",
"typeValidation": "strict"
},
"conditions": [
{
"leftValue": "={{$json.body?.risk_level}}",
"rightValue": "high",
"operator": {
"type": "string",
"operation": "equals"
}
}
],
"combinator": "and"
},
"options": {}
},
"id": "if",
"name": "Is High Risk?",
"type": "n8n-nodes-base.if",
"typeVersion": 2.2,
"position": [
500,
320
]
},
{
"parameters": {
"method": "POST",
"url": "={{$env.APP_API_BASE_URL}}/api/automation/events",
"sendHeaders": true,
"headerParameters": {
"parameters": [
{
"name": "Authorization",
"value": "={{'Bearer ' + $env.AUTOMATION_WEBHOOK_TOKEN}}"
}
]
},
"sendBody": true,
"specifyBody": "json",
"jsonBody": "={\"workflow\":\"alert-on-risk-threshold\",\"source\":\"n8n\",\"status\":\"success\",\"payload\":$json.body}",
"options": {}
},
"id": "record",
"name": "Record Alert",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 4.2,
"position": [
760,
240
]
},
{
"parameters": {
"respondWith": "json",
"responseBody": "={\"ok\": true, \"handled\": {{$json.body?.risk_level === 'high'}}}"
},
"id": "respond",
"name": "Respond",
"type": "n8n-nodes-base.respondToWebhook",
"typeVersion": 1.4,
"position": [
980,
320
]
}
],
"connections": {
"Risk Alert Webhook": {
"main": [
[
{
"node": "Is High Risk?",
"type": "main",
"index": 0
}
]
]
},
"Is High Risk?": {
"main": [
[
{
"node": "Record Alert",
"type": "main",
"index": 0
}
],
[
{
"node": "Respond",
"type": "main",
"index": 0
}
]
]
},
"Record Alert": {
"main": [
[
{
"node": "Respond",
"type": "main",
"index": 0
}
]
]
}
},
"settings": {}
}
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
alert-on-risk-threshold. Uses httpRequest. Webhook trigger; 4 nodes.
Source: https://github.com/ChrisDANG-data/Household-Finance-AI/blob/main/automation/n8n/workflows/alert-on-risk-threshold.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.
This template is designed for developers, businesses, and service providers who need to programmatically check Calendly availability. It's perfect for: Web developers building custom booking interface
Never lose a prospect to a missed call again. This workflow sends an automatic "sorry we missed you" SMS within seconds, follows up 2 hours later if there's no reply, and enrolls unresponsive contacts
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.
Send Postcards to Contacts Automatically using CentralStationCRM and EchtPost. Uses httpRequest. Webhook trigger; 12 nodes.