Skip to main content

Upload large files to Kommo/AmoCRM with automatic file chunking

Workflow preview

Workflow preview
100%
Upload large files to Kommo/AmoCRM with automatic file chunking preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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...

Best for

  • CRM automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.httprequest, n8n-nodes-base.set, n8n-nodes-base.executeworkflowtrigger, n8n-nodes-base.code, n8n-nodes-base.merge, n8n-nodes-base.if, n8n-nodes-base.stopanderror, n8n-nodes-base.limit

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by yatolstoy.

Original n8n.io source

1.1 Workflow description

Title
Upload large files to Kommo/AmoCRM with automatic file chunking
Workflow name
Upload large files to Kommo/AmoCRM with automatic file chunking

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 (drive_url, file_name and file_base64)

Where it can be useful

  • To send files in a message to clients chat in Kommo or amoCRM
  • To upload the generated files to the transaction or contact fields
  • To upload files to notes

How it works

  1. Checking the file availability
  2. Opening the session to download the file
  3. Split the file into chunks, if necessary.
  4. Send parts of the file to CRM one at a time.

Installation Steps

  1. Import workflow
  2. Configuring Oauth2 credentials in Kommo or amoCRM
  3. Applying credentials for specific workflow steps
  4. Specifying the link to the file and the disk_url address
  5. Launching a workflow to upload a file to a Kommo or amoCRM account

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - loadFile

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 2 - getUrl

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 3 - input

Type / Role
n8n-nodes-base.executeWorkflowTrigger - executeWorkflowTrigger
Config choices
Version 1.1

Block 4 - getFileSizeInBytes

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 5 - Merge

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.1

Block 6 - createSession

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - isGraterThenMax

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 8 - No free disk space

Type / Role
n8n-nodes-base.stopAndError - stopAndError
Config choices
Version 1

Block 9 - SplitFileToChunks

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 10 - result

Type / Role
n8n-nodes-base.limit - limit
Config choices
Version 1

Block 11 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 12 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 13 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 14 - Loop Over File Chunks

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 15 - Convert to File

Type / Role
n8n-nodes-base.convertToFile - convertToFile
Config choices
Version 1.1

Block 16 - hasFile

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 17 - No file Error

Type / Role
n8n-nodes-base.stopAndError - stopAndError
Config choices
Version 1

Block 18 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 19 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 20 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 21 - Sticky Note4

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 22 - Start testing

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 23 - Convert file to base64 string

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 24 - Get file

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Showing the first 24 of 36 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Upload large files to Kommo/AmoCRM with automatic file chunking
Complexity advanced
Nodes 36
Categories CRM
Author yatolstoy
Published 07 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3922/3922.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Upload large files to Kommo/AmoCRM with automatic file chunking do?

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...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your CRM use case.