Automate Image Conversion with n8n (Step-by-Step)
n8n is a workflow automation tool. You connect blocks together and they run tasks for you. No coding needed.
One of the most useful things you can automate with n8n is image conversion. Instead of converting files by hand, you set up a workflow once. It handles every image after that. Drop a photo into a folder, and the converted version appears seconds later.
This guide walks through the full setup. By the end, you'll have a working n8n workflow that converts images to any format on autopilot. If you're new to image automation, start with our complete automation guide for the full picture.
What Is n8n and Why Use It for Image Conversion?
n8n is an open-source automation platform. Think of it like building blocks for tasks. You pick a trigger (something that starts the workflow), add action steps, and connect them. Each step passes data to the next one.
For image conversion, n8n is a perfect fit because:
- No coding required. You drag blocks onto a canvas and connect them. If you can use a spreadsheet, you can build an n8n workflow.
- It connects everything. n8n has nodes for Google Drive, Dropbox, S3, Slack, email, and hundreds more services. Your images can come from anywhere and go anywhere.
- It runs on autopilot. Once active, the workflow watches for new files and processes them without any input from you.
- You can self-host it. Run n8n on your own server for full control over your data. Or use their cloud service if you prefer not to manage servers.
The ConvertIMG node for n8n connects directly to the ConvertIMG API. It handles all the API calls behind the scenes. You just pick your settings and let it run.
How Do You Set Up n8n with ConvertIMG?
Getting started takes about 15 minutes. Here's what you need.
Prerequisites:
- An n8n account (cloud or self-hosted)
- A ConvertIMG API key (get one at convertimg.app)
Step 1: Install the ConvertIMG node.
In your n8n instance, go to Settings > Community Nodes. Search for "ConvertIMG" and install it. The node will appear in your node palette under "Image."
Step 2: Add your API credentials.
Go to Settings > Credentials > Add Credential. Select "ConvertIMG API" and paste your API key. Name it something clear like "ConvertIMG Production." Click save.
Step 3: Test the connection.
Create a new workflow. Drag the ConvertIMG node onto the canvas. Select your credential. The node should show a green checkmark if the connection works.
That's the foundation. Now let's build a real workflow.
How Do You Build Your First Conversion Workflow?
Let's build a workflow that watches a Google Drive folder, converts new images to WebP, and saves the results.
Block 1: Google Drive Trigger
Add a "Google Drive Trigger" node. Set it to watch a specific folder. Choose "File Created" as the event. This fires whenever a new file lands in that folder.
Block 2: Download the file
Add a "Google Drive" node (not the trigger). Set the operation to "Download." Connect it to the trigger. It grabs the actual file data so the next step can process it.
Block 3: Convert with ConvertIMG
Add the ConvertIMG node. Connect it to the download step. Configure it:
- Input: Binary data from the previous step
- Output format: webp
- Quality: 85
- Remove metadata: Yes
The node sends the image to the ConvertIMG API and returns the converted file.
Block 4: Upload the result
Add another Google Drive node. Set the operation to "Upload." Pick your output folder. Connect it to the ConvertIMG node. The converted WebP file gets saved to your output folder.
Block 5 (optional): Send a notification
Add a Slack or Email node. Send yourself a message with the file name and conversion details. This is helpful when you're first testing, so you know the workflow is running.
Activate the workflow. Drop a JPG into your input folder. A few seconds later, the WebP version should appear in your output folder.
n8n Image Processing: Complete Node Guide
Complete guide to the ConvertIMG node for n8n. Learn every parameter, configuration option, and best practice for automated image processing workflows.
How to Automate Image Conversion: Complete Guide
Learn how to automate image conversion with APIs, no-code tools like n8n, and command-line scripts. Set up a pipeline that converts images automatically.
How to Convert PNG to WebP: Cut Your Image Size by 30% or More
Convert PNG to WebP and cut file sizes by 30-90%. Keep transparency, improve page speed. Free browser-based converter.
How to Convert JPG to AVIF (And Why You Should)
Learn how to convert JPG to AVIF for 50% smaller files with the same quality. Free online converter, no upload needed.
What Is the Best Image Format for Websites in 2026?
Find the best image format for your website. Compare JPG, PNG, WebP, AVIF, and SVG for speed, quality, and compatibility.
Image Format Guide: When to Use JPEG, PNG, WebP, AVIF
Learn when to use JPEG, PNG, WebP, and AVIF. Compare file sizes, quality, transparency, and browser support to pick the best image format for your project.