Remove backgrounds and upscale product photos in bulk with Apify and Google Sheets

Go to Workflow
0 views
Built by Sherwood Sherwood
Created on October 05, 2026

Description

Quick overview
This workflow reads product image URLs from Google Sheets, removes their backgrounds and upscales the cutouts in bulk using Apify actors, then writes the processed image URL, dimensions, and status back to the same sheet.

How it works
Starts manually and reads rows from a Google Sheets spreadsheet containing an image_url column.
Deduplicates the image URLs and sends them as a single batch to Apify’s Background Remover API actor to generate transparent PNG cutouts.
Maps background-removal results back to the original sheet row numbers and collects only successful cutout URLs for further processing.
If any cutouts succeeded, sends the cutout URLs to Apify’s Image Upscaler API actor to upscale them 2× and return final image URLs and dimensions.
Combines upscale results and any failures, then updates the matching rows in Google Sheets with result_url, width, height, status, and error.

Setup
Create a Google Sheet with columns image_url, result_url, width, height, status, and error, and populate image_url with publicly accessible image URLs.
Add Google Sheets credentials in n8n and select the target spreadsheet and sheet in both the read and update steps.
Add an Apify API token credential and connect it to both Apify actor steps (Background Remover Batch and Image Upscaler Batch).
(Optional) Adjust the upscaling scale value (for example, change from 2 to 4) and the Apify maximum charge limits to match your quality and cost requirements.

Requirements
An Apify account (pay per image, no subscription to the actors) and a Google account.

Customization
Replace Google Sheets with Airtable, Google Drive or a webhook; remove the upscaling step if you only need cutouts.

Additional info
Failed images are marked in the sheet with the reason and are never charged. Each Apify node has a maximum cost per run of $5 that you can raise.

Nodes Used (2)

Code
n8n-nodes-base.code
Google Sheets
n8n-nodes-base.googleSheets