mirror of
https://github.com/n8n-io/n8n.git
synced 2026-05-28 23:37:00 +02:00
81 lines
1.5 KiB
JSON
81 lines
1.5 KiB
JSON
{
|
|
"name": "TheHive Task Create Test Workflow",
|
|
"nodes": [
|
|
{
|
|
"parameters": {},
|
|
"type": "n8n-nodes-base.manualTrigger",
|
|
"typeVersion": 1,
|
|
"position": [0, 0],
|
|
"id": "manual-trigger",
|
|
"name": "When clicking 'Execute Workflow'"
|
|
},
|
|
{
|
|
"parameters": {
|
|
"resource": "task",
|
|
"operation": "create",
|
|
"caseId": {
|
|
"__rl": true,
|
|
"mode": "id",
|
|
"value": "~123789"
|
|
},
|
|
"taskFields": {
|
|
"mappingMode": "defineBelow",
|
|
"value": {
|
|
"title": "Test Task",
|
|
"description": "Test task description",
|
|
"group": "Investigation",
|
|
"flag": false,
|
|
"mandatory": true
|
|
}
|
|
}
|
|
},
|
|
"type": "n8n-nodes-base.theHiveProject",
|
|
"typeVersion": 1,
|
|
"position": [200, 0],
|
|
"id": "thehive-node",
|
|
"name": "TheHive Task Create",
|
|
"credentials": {
|
|
"theHiveProjectApi": {
|
|
"id": "thehive-creds",
|
|
"name": "TheHive API Credentials"
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"pinData": {
|
|
"TheHive Task Create": [
|
|
{
|
|
"json": {
|
|
"_id": "~654321",
|
|
"_type": "Task",
|
|
"title": "Test Task",
|
|
"description": "Test task description",
|
|
"group": "Investigation",
|
|
"status": "Waiting",
|
|
"flag": false,
|
|
"mandatory": true,
|
|
"createdAt": 1698753600000,
|
|
"updatedAt": 1698753600000
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"connections": {
|
|
"When clicking 'Execute Workflow'": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "TheHive Task Create",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
},
|
|
"active": false,
|
|
"settings": {
|
|
"executionOrder": "v1"
|
|
}
|
|
}
|