121 lines
2.3 KiB
JSON
121 lines
2.3 KiB
JSON
{
|
|
"nodes": [
|
|
{
|
|
"name": "Dropbox",
|
|
"type": "n8n-nodes-base.dropbox",
|
|
"position": [
|
|
1090,
|
|
290
|
|
],
|
|
"parameters": {
|
|
"path": "/images.zip",
|
|
"binaryData": true
|
|
},
|
|
"credentials": {
|
|
"dropboxApi": "Dropbox Tokens Test"
|
|
},
|
|
"typeVersion": 1
|
|
},
|
|
{
|
|
"name": "Compression",
|
|
"type": "n8n-nodes-base.compression",
|
|
"position": [
|
|
890,
|
|
290
|
|
],
|
|
"parameters": {
|
|
"fileName": "images.zip",
|
|
"operation": "compress",
|
|
"outputFormat": "zip",
|
|
"binaryPropertyName": "logo, workflow_image"
|
|
},
|
|
"typeVersion": 1
|
|
},
|
|
{
|
|
"name": "HTTP Request1",
|
|
"type": "n8n-nodes-base.httpRequest",
|
|
"position": [
|
|
690,
|
|
290
|
|
],
|
|
"parameters": {
|
|
"url": "https://n8n.io/n8n-logo.png",
|
|
"options": {},
|
|
"responseFormat": "file",
|
|
"dataPropertyName": "logo"
|
|
},
|
|
"typeVersion": 1
|
|
},
|
|
{
|
|
"name": "HTTP Request",
|
|
"type": "n8n-nodes-base.httpRequest",
|
|
"position": [
|
|
490,
|
|
290
|
|
],
|
|
"parameters": {
|
|
"url": "https://docs.n8n.io/assets/img/final-workflow.f380b957.png",
|
|
"options": {},
|
|
"responseFormat": "file",
|
|
"dataPropertyName": "workflow_image"
|
|
},
|
|
"typeVersion": 1
|
|
},
|
|
{
|
|
"name": "On clicking 'execute'",
|
|
"type": "n8n-nodes-base.manualTrigger",
|
|
"position": [
|
|
290,
|
|
290
|
|
],
|
|
"parameters": {},
|
|
"typeVersion": 1
|
|
}
|
|
],
|
|
"connections": {
|
|
"Compression": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Dropbox",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"HTTP Request": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "HTTP Request1",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"HTTP Request1": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "Compression",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
},
|
|
"On clicking 'execute'": {
|
|
"main": [
|
|
[
|
|
{
|
|
"node": "HTTP Request",
|
|
"type": "main",
|
|
"index": 0
|
|
}
|
|
]
|
|
]
|
|
}
|
|
}
|
|
} |