Convert multiple files to base64 with JavaScript code
Ready for 3.0What this workflow does
This workflow has 4 nodes and runs manually, when you click “Execute workflow”. It uses only n8n's built-in nodes. It also calls github.com over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Download n8n demo website zip (HTTP Request): calls github.com
- Unzip (Compression): uses Compression
- Encode to base (Code): runs custom JavaScript code
HTTP calls to: github.com
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 (4)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - Compression
n8n-nodes-base.compression - Code
n8n-nodes-base.code
From the author
Base64 Encode Multiple Binary Files with a Code Node This template demonstrates how to handle multiple binary files in n8n by using a Code node to convert them into a Base64 encoded string. It's particularly useful when an API requires file uploads in this…