Automate WooCommerce image product background removal using API and Google Sheet
Ready for 3.0What this workflow does
This workflow has 10 nodes and runs manually, when you click “Execute workflow”. Along the way it connects WooCommerce and Google Sheets. It also calls api.backgroundcut.co over HTTP.
How it runs
Trigger: Manually, when you click “Execute workflow”.
- Ger Products (Google Sheets): uses Google Sheets
- Loop Over Items (Loop Over Items (Split in Batches)): loops over the items in batches
- Set Product Fields (Edit Fields (Set)): sets 2 fields: image_url, product_id
- Remove from Image URL (HTTP Request): calls api.backgroundcut.co (POST)
- Get Filename (Code): runs custom JavaScript code
- FTP: upload
- New Image Url (Edit Fields (Set)): sets 1 field: image_url
- Update product (WooCommerce): update (product)
- Update Sheet (Google Sheets): update
Services it uses
Other WooCommerce + Google Sheets templates (23)
HTTP calls to: api.backgroundcut.co
Before you upgrade to n8n 3.0
Nothing in this workflow is removed in n8n 3.0, so it should import and run after the upgrade.
- Code node: the task timeout drops from 300s to 60s. Test with a realistic data volume.
Nodes used (8)
- Manual Trigger
n8n-nodes-base.manualTrigger - HTTP Request
n8n-nodes-base.httpRequest - FTP
n8n-nodes-base.ftp - Loop Over Items (Split in Batches)
n8n-nodes-base.splitInBatches - Code
n8n-nodes-base.code - Edit Fields (Set)
n8n-nodes-base.set - WooCommerce
n8n-nodes-base.wooCommerce - Google Sheets
n8n-nodes-base.googleSheets
From the author
This workflow automates the process of removing backgrounds from WooCommerce product images using the BackgroundCut API, and then updates the product images in both WooCommerce and a Google Sheet. Once set up, the workflow processes product images in bulk,…