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": "Cybersec Assistant - Alert Workflow",
"nodes": [
{
"parameters": {
"path": "cybersec-assistant-webhook",
"httpMethod": "POST",
"responseMode": "onReceived",
"options": {}
},
"id": "WebhookTrigger",
"name": "Webhook Trigger",
"type": "n8n-nodes-base.webhook",
"typeVersion": 1,
"position": [
300,
300
]
},
{
"parameters": {
"conditions": {
"string": [
{
"value1": "={{$json[\"action\"]}}",
"operation": "equals",
"value2": "alert"
}
]
}
},
"id": "IfAlert",
"name": "IF Alert",
"type": "n8n-nodes-base.if",
"typeVersion": 1,
"position": [
520,
300
]
},
{
"parameters": {
"fromEmail": "mememaking88@gmail.com",
"toEmail": "shravanr2404@gmail.com",
"subject": "\ud83d\udea8 Cybersecurity Alert \u2013 High Risk Event",
"text": "\ud83d\udea8 CYBERSECURITY ALERT \ud83d\udea8\n\nType: {{$json[\"type\"]}}\nAction: {{$json[\"action\"]}}\nRisk Score: {{$json[\"combined_score\"] || $json[\"risk_score\"]}}\nConfidence: {{$json[\"confidence\"]}}\nReason: {{$json[\"reason\"]}}\n\nGenerated At: {{$now}}"
},
"id": "EmailAlert",
"name": "Send Email Alert",
"type": "n8n-nodes-base.emailSend",
"typeVersion": 1,
"position": [
760,
200
],
"credentials": {
"smtp": {
"name": "<your credential>"
}
}
},
{
"parameters": {
"url": "http://localhost:8000/events",
"method": "POST",
"jsonParameters": true,
"options": {},
"bodyParametersJson": "={{JSON.stringify($json)}}"
},
"id": "HttpLogger",
"name": "HTTP Request (Logger)",
"type": "n8n-nodes-base.httpRequest",
"typeVersion": 1,
"position": [
760,
420
]
}
],
"connections": {
"Webhook Trigger": {
"main": [
[
{
"node": "IF Alert",
"type": "main",
"index": 0
}
]
]
},
"IF Alert": {
"main": [
[
{
"node": "Send Email Alert",
"type": "main",
"index": 0
}
],
[
{
"node": "HTTP Request (Logger)",
"type": "main",
"index": 0
}
]
]
}
},
"active": true,
"settings": {},
"versionId": "1"
}
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.
smtp
For the full experience including quality scoring and batch install features for each workflow upgrade to Pro
About this workflow
Cybersec Assistant - Alert Workflow. Uses emailSend, httpRequest. Webhook trigger; 4 nodes.
Source: https://github.com/Shravan-R/cybersecurity-assistant/blob/71759242883e9d91c86d2b1bec043e76f1cbfce1/workflows/n8n_webhook.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.
> ⚠️ Notice: > Community nodes like @custom-js/n8n-nodes-pdf-toolkit-v2 can be installed on both self-hosted and Cloud instances of n8n. Just search for it via CustomJS.
Billing Workflow. Uses httpRequest, emailSend. Webhook trigger; 11 nodes.
HireMind - Application Approval & Auto-Apply Handler. Uses httpRequest, emailSend. Webhook trigger; 10 nodes.
User Onboarding Workflow. Uses httpRequest, emailSend. Webhook trigger; 7 nodes.
Golden Sample: webhook → http → transform → respond (+error path). Uses httpRequest, errorTrigger, emailSend. Webhook trigger; 7 nodes.