{
"nodes": [
{
"id": "e4929773-39f9-4b8a-b462-235c37514479",
"name": "Get Elastic Alert",
"type": "n8n-nodes-base.httpRequest",
"position": [
620,
440
],
"parameters": {
"url": "{{ $env.API_BASE_URL }}",
"options": {}
},
"typeVersion": 2,
"notes": "This httpRequest node performs automated tasks as part of the workflow."
},
{
"id": "973a8254-5ec0-4ea0-95b5-7e6a0f0625ab",
"name": "Send Email Notification",
"type": "n8n-nodes-base.httpRequest",
"position": [
1440,
220
],
"parameters": {
"url": "{{ $env.WEBHOOK_URL }}",
"options": {
"bodyContentType": "json"
},
"requestMethod": "POST",
"authentication": "{{ $credentials.oAuth2 }}",
"jsonParameters": true,
"bodyParametersJson": "={\n \"message\": {\n \"subject\": \"PRISM Elastic Alert: {{$json[\"alert_name\"]}}\",\n \"body\": {\n \"contentType\": \"HTML\",\n \"content\": \"Hello,
An alert has been triggered:
Alert Name: {{$json[\"alert_name\"]}}
Severity: {{$json[\"severity\"]}}
Timestamp: {{$json[\"timestamp\"]}}
Details:
{{$json[\"alert_message\"]}}
Regards,
PRISM Alert System\"\n },\n \"toRecipients\": [\n {\n \"emailAddress\": {\n \"address\": \"user@example.com\"\n }\n }\n ]\n },\n \"saveToSentItems\": \"true\"\n}"
},
"typeVersion": 2,
"notes": "This httpRequest node performs automated tasks as part of the workflow."
},
{
"id": "f7f4feee-6854-4997-ae15-870cab4abdbb",
"name": "Schedule Trigger",
"type": "n8n-nodes-base.scheduleTrigger",
"position": [
380,
440
],
"parameters": {
"rule": {
"interval": [
{}
]
}
},
"typeVersion": 1.2,
"notes": "This scheduleTrigger node performs automated tasks as part of the workflow."
},
{
"id": "b8578c55-a052-43f2-9d6a-24d8084dae8a",
"name": "Response is not empty",
"type": "n8n-nodes-base.if",
"position": [
840,
440
],
"parameters": {
"options": {}
},
"typeVersion": 2.1,
"notes": "This if node performs automated tasks as part of the workflow."
},
{
"id": "664216e6-c212-4f4b-8b09-60675c4fcd91",
"name": "No Operation, do nothing",
"type": "n8n-nodes-base.noOp",
"position": [
1100,
680
],
"parameters": {},
"typeVersion": 1,
"notes": "This noOp node performs automated tasks as part of the workflow."
},
{
"id": "bcead903-56ed-4ae8-bff9-cec274b2fe71",
"name": "Loop Over Each Alert Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
1100,
200
],
"parameters": {
"options": {}
},
"typeVersion": 3,
"notes": "This splitInBatches node performs automated tasks as part of the workflow."
},
{
"id": "a5e55903-a245-4d70-88e7-14c1f18cde25",
"name": "No Operation, end of loop",
"type": "n8n-nodes-base.noOp",
"position": [
1440,
0
],
"parameters": {},
"typeVersion": 1,
"notes": "This noOp node performs automated tasks as part of the workflow."
}
],
"pinData": {},
"connections": {
"e4929773-39f9-4b8a-b462-235c37514479": {
"main": [
[
{
"node": "error-handler-e4929773-39f9-4b8a-b462-235c37514479",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e4929773-39f9-4b8a-b462-235c37514479-b05ec3e0",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e4929773-39f9-4b8a-b462-235c37514479-2d17531e",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e4929773-39f9-4b8a-b462-235c37514479-a1a5da41",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-e4929773-39f9-4b8a-b462-235c37514479-5b85a3f4",
"type": "main",
"index": 0
}
]
]
},
"973a8254-5ec0-4ea0-95b5-7e6a0f0625ab": {
"main": [
[
{
"node": "error-handler-973a8254-5ec0-4ea0-95b5-7e6a0f0625ab",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-973a8254-5ec0-4ea0-95b5-7e6a0f0625ab-70c8eb0e",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-973a8254-5ec0-4ea0-95b5-7e6a0f0625ab-79945848",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-973a8254-5ec0-4ea0-95b5-7e6a0f0625ab-55bb38d4",
"type": "main",
"index": 0
}
],
[
{
"node": "error-handler-973a8254-5ec0-4ea0-95b5-7e6a0f0625ab-53284d30",
"type": "main",
"index": 0
}
]
]
}
},
"name": "Httprequest Workflow",
"description": "Automated workflow: Httprequest Workflow. This workflow processes data and performs automated tasks.",
"settings": {
"executionOrder": "v1",
"saveManualExecutions": true,
"callerPolicy": "workflowsFromSameOwner",
"errorWorkflow": null,
"timezone": "UTC",
"executionTimeout": 3600,
"maxExecutions": 1000,
"retryOnFail": true,
"retryCount": 3,
"retryDelay": 1000
},
"meta": {
"instanceId": "workflow-90b92f3c",
"versionId": "1.0.0",
"createdAt": "2025-09-29T07:07:46.025729",
"updatedAt": "2025-09-29T07:07:46.025745",
"owner": "n8n-user",
"license": "MIT",
"category": "automation",
"status": "active",
"priority": "high",
"environment": "production"
},
"tags": [
"automation",
"n8n",
"production-ready",
"excellent",
"optimized"
],
"notes": "Excellent quality workflow: Httprequest Workflow. This workflow has been optimized for production use with comprehensive error handling, security, and documentation."
}