Task: Configure backup from Portainer and push the file towards an FTP server

n8n workflow:
{"nodes":[{"name":"On clicking 'execute'","type":"n8n-nodes-base.manualTrigger","position":[250,650],"parameters":{},"typeVersion":1},{"name":"Set","type":"n8n-nodes-base.set","notes":"Portainer URL needs to have the final slash. FTP Backup Folder, if defined, needs to have the final slash too.","position":[400,500],"parameters":{"values":{"string":[{"name":"Portainer URL","value":"http://localhost:9000/"},{"name":"Admin Username","value":"portainerAdminUsername"},{"name":"Admin Password","value":"portainerAdminPassword"},{"name":"FTP Backup Folder","value":"portainer-backups/"}]},"options":{}},"notesInFlow":true,"typeVersion":1},{"name":"HTTP Request","type":"n8n-nodes-base.httpRequest","position":[550,500],"parameters":{"url":"={{$json[\"Portainer URL\"]}}api/auth","options":{},"requestMethod":"POST","bodyParametersUi":{"parameter":[{"name":"username","value":"={{$json[\"Admin Username\"]}}"},{"name":"password","value":"={{$json[\"Admin Password\"]}}"}]}},"typeVersion":1},{"name":"HTTP Request1","type":"n8n-nodes-base.httpRequest","position":[850,500],"parameters":{"url":"={{$json[\"Portainer URL\"]}}api/backup","options":{},"requestMethod":"POST","responseFormat":"file","bodyParametersUi":{"parameter":[{"name":"Password"}]},"headerParametersUi":{"parameter":[{"name":"Authorization","value":"=Bearer {{$json[\"jwt\"]}}"},{"name":"accept","value":"application/octet-stream"}]}},"typeVersion":1},{"name":"Merge","type":"n8n-nodes-base.merge","position":[700,660],"parameters":{"mode":"multiplex"},"typeVersion":1},{"name":"FTP","type":"n8n-nodes-base.ftp","position":[1000,500],"parameters":{"path":"={{$node[\"Merge\"].json[\"FTP Backup Folder\"]}}portainer-backup_{{new Date().toISOString().replace(\":\",\"-\").replace(\":\",\"-\")}}.tgz","operation":"upload"},"credentials":{"ftp":"Local FTP"},"typeVersion":1},{"name":"Cron","type":"n8n-nodes-base.cron","position":[250,500],"parameters":{"triggerTimes":{"item":[{}]}},"typeVersion":1}],"connections":{"Set":{"main":[[{"node":"HTTP Request","type":"main","index":0},{"node":"Merge","type":"main","index":1}]]},"Cron":{"main":[[{"node":"Set","type":"main","index":0}]]},"Merge":{"main":[[{"node":"HTTP Request1","type":"main","index":0}]]},"HTTP Request":{"main":[[{"node":"Merge","type":"main","index":0}]]},"HTTP Request1":{"main":[[{"node":"FTP","type":"main","index":0}]]},"On clicking 'execute'":{"main":[[{"node":"Set","type":"main","index":0}]]}}}