n8n-nodes-read-file-from-url
v0.2.0
Published
n8n community node to download files from URLs and convert them to binary data or parsed JSON content
Maintainers
Readme
n8n-nodes-read-file-from-url
This is an n8n community node. It lets you download files from URLs and convert them to binary data in your n8n workflows.
This node is useful when you need to:
- Download images, PDFs, or other files from the web
- Fetch files from APIs that return binary content
- Convert remote files to n8n binary data for further processing
n8n is a fair-code licensed workflow automation platform.
Installation
Operations
Compatibility
Usage
Resources
Installation
Follow the installation guide in the n8n community nodes documentation.
Quick Install
- Go to Settings > Community Nodes
- Select Install
- Enter
n8n-nodes-read-file-from-urland agree to the risks - Click Install
Operations
Read File from URL
Downloads a file from a specified URL and converts it to binary data.
Parameters:
| Parameter | Description |
|-----------|-------------|
| URL | The URL of the file to download |
| File Name | (Optional) Override the output file name |
| File Extension | (Optional) Override the file extension |
| Mime Type | (Optional) Override the mime type |
| Output Field | The binary field name (default: data) |
| Timeout | Request timeout in milliseconds (default: 60000) |
| Ignore SSL Issues | Whether to ignore SSL certificate errors |
| Headers | Custom headers to send with the request |
Output:
The node outputs:
- Binary data in the specified field
- JSON with metadata:
url,mimeType,fileType,fileName,fileExtension,fileSize
Compatibility
- Minimum n8n version: 1.0.0
- Tested with n8n version: 1.20.0+
Usage
Basic Usage
- Add the "Read Files from URL" node to your workflow
- Enter the URL of the file you want to download
- Connect it to other nodes that accept binary data
Example: Download an Image
URL: https://example.com/image.pngThe node will automatically detect the file type and create binary data with the correct mime type.
Example: Download with Custom Headers
If the URL requires authentication or custom headers:
- Add the node
- Enter the URL
- In Options, add headers:
- Name:
Authorization - Value:
Bearer your-token
- Name:
Example: Process Multiple URLs
Use this node after a loop or split node to download multiple files:
- Input items with URLs in JSON field
{{ $json.fileUrl }} - Set URL parameter to:
{{ $json.fileUrl }} - Each input item will download its corresponding file
Resources
Version History
0.1.0
- Initial release
- Basic URL file download functionality
- Support for custom headers
- SSL certificate validation toggle
- Configurable timeout
