Upload large files to Kommo/AmoCRM with automatic file chunking
Ready for 3.0What this workflow does
This workflow has 20 nodes and runs manually, when you click “Execute workflow” (plus 1 other trigger). It uses only n8n's built-in nodes.
How it runs
Trigger: Manually, when you click “Execute workflow” (plus 1 other trigger).
- Get file (HTTP Request): calls an HTTP API
- hasFile (If): checks a condition and branches into true / false
- Convert file to base64 string (Extract from File): extracts data from a file
- Convert to File: converts data to a file
- No file Error (Stop and Error): stops the run with an error
- Upload file (Execute Sub-workflow): calls another n8n workflow
- getFileSizeInBytes (Code): runs custom JavaScript code
- createSession (HTTP Request): calls an HTTP API
- Merge: merges the data from its input branches
- isGraterThenMax (If): checks a condition and branches into true / false
…plus 8 more steps. See the full node list below.
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
Nodes used (13)
- HTTP Request
n8n-nodes-base.httpRequest - Edit Fields (Set)
n8n-nodes-base.set - Execute Workflow Trigger
n8n-nodes-base.executeWorkflowTrigger - Code
n8n-nodes-base.code - Merge
n8n-nodes-base.merge - If
n8n-nodes-base.if - Stop and Error
n8n-nodes-base.stopAndError - Limit
n8n-nodes-base.limit - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Convert to File
n8n-nodes-base.convertToFile - Manual Trigger
n8n-nodes-base.manualTrigger - Extract from File
n8n-nodes-base.extractFromFile - Execute Sub-workflow
n8n-nodes-base.executeWorkflow
From the author
Upload files from any source to your account Kommo or AmoCRM with a simple and reusable workflow. Advantages of workflow - It can split a large file into small ones and upload chunks. - Works for Kommo and amoCRM - There are 3 required parameters in total…