Skip to main content

📸 Automate photo background removal with Photoroom API and Google Drive

Workflow preview

Workflow preview
100%
📸 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.

1. Workflow Overview

Tags: Marketing, Image Processing, Automation Context Hey! I’m Samir , a Data Scientist from Paris and the founder of LogiGreen Consulting. We use...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.splitinbatches, n8n-nodes-base.googledrive, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.scheduletrigger

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Samir Saci.

Original n8n.io source

1.1 Workflow description

Title
📸 Automate photo background removal with Photoroom API and Google Drive
Workflow name
📸 Automate photo background removal with Photoroom API and Google Drive

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.

> 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.

📬 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

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.

🎥 Watch My Tutorial

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

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Loop Over Items

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 2 - Loop Over Items1

Type / Role
n8n-nodes-base.splitInBatches - splitInBatches
Config choices
Version 3

Block 3 - Move to Original

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 4 - Save to Remove Background

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 5 - Download Image

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 6 - Get all files

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 7 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Photoroom API Remove Background

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 11 - Daily at 08:00 am

Type / Role
n8n-nodes-base.scheduleTrigger - scheduleTrigger
Config choices
Version 1.2

Block 12 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow 📸 Automate photo background removal with Photoroom API and Google Drive
Complexity intermediate
Nodes 12
Categories Content Creation, Multimodal AI
Author Samir Saci
Published 26 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4398/4398.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does 📸 Automate photo background removal with Photoroom API and Google Drive do?

Tags: Marketing, Image Processing, Automation Context Hey! I’m Samir , a Data Scientist from Paris and the founder of LogiGreen Consulting. We use...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.