-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest-workflow.json
More file actions
50 lines (50 loc) · 1.26 KB
/
Copy pathtest-workflow.json
File metadata and controls
50 lines (50 loc) · 1.26 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
{
"workflow": {
"id": "test-automation",
"name": "Simple Test Automation",
"nodes": [
{
"id": "trigger",
"name": "Manual Trigger",
"type": "executor-nodes-base.webhook",
"position": [0, 0],
"parameters": {}
},
{
"id": "code",
"name": "Process Data",
"type": "executor-nodes-base.code",
"position": [200, 0],
"parameters": {
"code": "return { message: 'Hello from Executor!', input: $input, timestamp: new Date() };"
}
},
{
"id": "http",
"name": "HTTP Request",
"type": "executor-nodes-base.httpRequest",
"position": [400, 0],
"parameters": {
"url": "https://httpbin.org/post",
"method": "POST",
"headers": {
"Content-Type": "application/json"
},
"body": { "executorTest": true, "data": "test" }
}
}
],
"connections": {
"Manual Trigger": {
"main": [[{ "node": "Process Data", "type": "main", "index": 0 }]]
},
"Process Data": {
"main": [[{ "node": "HTTP Request", "type": "main", "index": 0 }]]
}
}
},
"data": {
"test": "input data",
"user": "automation-user"
}
}