58 lines
1.5 KiB
JSON
58 lines
1.5 KiB
JSON
{
|
|
"name": "robeing-skill-email-send-request",
|
|
"nodes": [
|
|
{
|
|
"parameters": {
|
|
"httpMethod": "POST",
|
|
"path": "skills/email/send",
|
|
"responseMode": "responseNode",
|
|
"options": {}
|
|
},
|
|
"id": "skill-email-001",
|
|
"name": "Webhook In",
|
|
"type": "n8n-nodes-base.webhook",
|
|
"typeVersion": 1,
|
|
"position": [220, 220]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"method": "POST",
|
|
"url": "=http://192.168.219.52:8501/api/v1/send",
|
|
"sendBody": true,
|
|
"specifyBody": "json",
|
|
"jsonBody": "={{ $json.body }}",
|
|
"options": {
|
|
"response": {
|
|
"response": {
|
|
"fullResponse": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"id": "skill-email-002",
|
|
"name": "Call skill-email",
|
|
"type": "n8n-nodes-base.httpRequest",
|
|
"typeVersion": 4.2,
|
|
"position": [470, 220]
|
|
},
|
|
{
|
|
"parameters": {
|
|
"respondWith": "json",
|
|
"responseBody": "={{ $json.body || $json }}",
|
|
"options": {}
|
|
},
|
|
"id": "skill-email-003",
|
|
"name": "Return Response",
|
|
"type": "n8n-nodes-base.respondToWebhook",
|
|
"typeVersion": 1,
|
|
"position": [710, 220]
|
|
}
|
|
],
|
|
"connections": {
|
|
"Webhook In": { "main": [[{ "node": "Call skill-email", "type": "main", "index": 0 }]] },
|
|
"Call skill-email": { "main": [[{ "node": "Return Response", "type": "main", "index": 0 }]] }
|
|
},
|
|
"pinData": {},
|
|
"meta": { "templateCredsSetupCompleted": true, "instanceId": "robeing-skills" }
|
|
}
|