Skip to main content

๐Ÿ“ธ Automate photo background removal with Photoroom API and Google Drive

Workflow preview

๐Ÿ“ธ Automate photo background removal with Photoroom API and Google Drive preview
Open on n8n.io

Important notice

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

Overview

Tags: Marketing, Image Processing, Automation

Context

Hey! Iโ€™m Samir , a Data Scientist from Paris and the founder of LogiGreen Consulting.

We use AI, automation, and data to support sustainable business practices for small, medium and large companies.

I implemented this workflow to support an event agency to automate image processing like background removal using Photoroom API.

Workflow

> Automate your photos processing with n8n!

This n8n workflow collects all images in a Google Drive folder shared with multiple photographers.

For each image, it calls the Photoroom API:

  • A processed image w/o a background is saved in a subfolder Remove Background
  • The original pictures are saved in the subfolder Original

This workflow, triggered every morning, will process the backlog of images.

Before and After

๐Ÿ“ฌ For business inquiries, feel free to connect with me on LinkedIn

Who is this template for?

This workflow is useful for:

  • Digital Marketing teams that use images for content creation
  • Photographs or Event Organisers that collect large amounts of photos that need processing

What does it do?

This n8n workflow:

  1. โฐ Triggers automatically every morning
  2. ๐Ÿ–ผ๏ธ Collects the names and IDs of all images in the folder
  3. ๐Ÿงน HTTP POST request to Photoroom API to remove the background
  4. ๐Ÿ“„ Stores the processed image and the original image in two separate sub-folders

Workflow Screenshot

What do I need to get started?

Youโ€™ll need:

  • A Google Drive Account connected to your n8n instance with credentials
  • A Photoroom API key that you can get for free (trial) here: Photoroom API

Follow the Guide!

Follow the sticky notes inside the workflow or check out my step-by-step tutorial on how to configure and deploy it.

Tutorial

๐ŸŽฅ Watch My Tutorial

This workflow was built using n8n version 1.93.0
Submitted: May 26, 2025