forked from darobin/notion-backup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathn8n.json
53 lines (53 loc) · 1.08 KB
/
n8n.json
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
51
52
53
{
"nodes": [
{
"parameters": {},
"name": "Start",
"type": "n8n-nodes-base.start",
"typeVersion": 1,
"position": [-340, 320]
},
{
"parameters": {
"command": "cd /home/node/.n8n &&\nnode notion-backup.js"
},
"name": "get link",
"type": "n8n-nodes-base.executeCommand",
"typeVersion": 1,
"position": [-120, 320]
},
{
"parameters": {
"command": "=cd /home/node/.n8n &&\nchmod +x ./upload_file_test.sh &&\n./upload_file_test.sh \"{{$json[\"stdout\"]}}\" 5000000 random_path"
},
"name": "run script",
"type": "n8n-nodes-base.executeCommand",
"typeVersion": 1,
"position": [140, 320]
}
],
"connections": {
"Start": {
"main": [
[
{
"node": "get link",
"type": "main",
"index": 0
}
]
]
},
"get link": {
"main": [
[
{
"node": "run script",
"type": "main",
"index": 0
}
]
]
}
}
}