WorkflowGoogle DriveOpen

Remove background from image Google Drive n8n workflow

This n8n workflow watches Google Drive for new images, removes their backgrounds, adds padding and uploads the result back to Drive. It is for online sellers and designers who need clean product pictures in bulk without editing each photo by hand.

What it does

A Config node holds the settings, each new image is downloaded, and an HTTP request removes the background, with a second route for a fixed output size. Edit Image adds padding, and the finished file is saved as PNG by default and uploaded to Drive.

How to use it

Select your Google Drive credentials in the Drive nodes and set the options in Config.

Requirements and limits

It supports removed, transparent and coloured backgrounds; the background removal API needs its own key.

More in Google Drive and the n8n workflow library.

Full text

Front matter
name: Remove Advanced Background from Google Drive Images
description: Triggered manually or by an app event. Connects Condition, Edit Image, Google Drive, HTTP request, Loop, Split Out. ## About this worfklow ## How it works This workflow does watch out for new images uploaded within Google Drive. Once there are new images it will download the image. And then run some logic, remove the background and add some padding to the output image. **By default Images are saved as .png** Once done upload it to Google Drive again. ## Features* Select Google Drive Credentials within the Google Drive Nodes ### This workflow supports * Remove Background * Transparent Background * Coloured
category: Automation
kind: Workflow
software: Condition|Edit Image|Google Drive|HTTP request|Loop|Split Out

Remove Advanced Background from Google Drive Images

Triggered manually or by an app event. Connects Condition, Edit Image, Google Drive, HTTP request, Loop, Split Out. ## About this worfklow

How it works

This workflow does watch out for new images uploaded within Google Drive. Once there are new images it will download the image. And then run some logic, remove the background and add some padding to the output image. By default Images are saved as .png Once done upload it to Google Drive again.

Features* Select Google Drive Credentials within the Google Drive Nodes

This workflow supports

  • Remove Background
  • Transparent Background
  • Coloured

Steps

  • Config (set)
  • remove background (httpRequest)
  • Split Out (splitOut)
  • Upload Picture to Google Drive (googleDrive)
  • remove background fixed size (httpRequest)
  • Merge (merge)
  • Upload Picture to Google Drive1 (googleDrive)
  • Download Image (googleDrive)
  • Get Image Size (editImage)
  • Sticky Note1 (stickyNote)
  • Sticky Note2 (stickyNote)
  • Watch for new images (googleDriveTrigger)
  • Sticky Note3 (stickyNote)
  • Sticky Note4 (stickyNote)
  • check which output size method is used (if)
  • loop all over your images (splitInBatches)

Import

Download the JSON from the GitHub source and import it in n8n (Workflows, Import from file).

Source and license

Source: https://github.com/Zie619/n8n-workflows/blob/main/Splitout/1343_Splitout_Editimage_Automation_Webhook.md

Author: Zie619, n8n workflow collection. License: MIT.

Shown here with formatting for the web. Keep the author and license notice when you reuse it.

Related entries

There are more like this in the members library

The n8n workflow library holds 1,814 entries. Members can search all of them by meaning and read every one in full.