n8n/packages/nodes-base/nodes/TheHiveProject/test/comment-add.workflow.json
Shireen Missi 3a9012819b
test: Add tests for nodes (no-changelog) (#20349)
Co-authored-by: cubic-dev-ai[bot] <191113872+cubic-dev-ai[bot]@users.noreply.github.com>
2025-10-07 11:16:42 +01:00

68 lines
1.2 KiB
JSON

{
"name": "TheHive Comment Add Test Workflow",
"nodes": [
{
"parameters": {},
"type": "n8n-nodes-base.manualTrigger",
"typeVersion": 1,
"position": [0, 0],
"id": "manual-trigger",
"name": "When clicking 'Execute Workflow'"
},
{
"parameters": {
"resource": "comment",
"operation": "add",
"addTo": "case",
"id": {
"__rl": true,
"mode": "id",
"value": "~123789"
},
"message": "This is a test comment for the case"
},
"type": "n8n-nodes-base.theHiveProject",
"typeVersion": 1,
"position": [200, 0],
"id": "thehive-node",
"name": "TheHive Comment Add",
"credentials": {
"theHiveProjectApi": {
"id": "thehive-creds",
"name": "TheHive API Credentials"
}
}
}
],
"pinData": {
"TheHive Comment Add": [
{
"json": {
"_id": "~789123",
"_type": "Comment",
"message": "This is a test comment for the case",
"createdAt": 1698753600000,
"updatedAt": 1698753600000
}
}
]
},
"connections": {
"When clicking 'Execute Workflow'": {
"main": [
[
{
"node": "TheHive Comment Add",
"type": "main",
"index": 0
}
]
]
}
},
"active": false,
"settings": {
"executionOrder": "v1"
}
}