WooCommerce 제품 이미지에서 배경 제거
중급
이것은Design, AI분야의자동화 워크플로우로, 12개의 노드를 포함합니다.주로 Ftp, Set, Code, HttpRequest, WooCommerce 등의 노드를 사용하며인공지능 기술을 결합하여 스마트 자동화를 구현합니다. API 및 Google Sheet을 사용한 WooCommerce 제품 이미지 배경 제거 자동화
사전 요구사항
- •대상 API의 인증 정보가 필요할 수 있음
- •Google Sheets API 인증 정보
워크플로우 미리보기
노드 연결 관계를 시각적으로 표시하며, 확대/축소 및 이동을 지원합니다
워크플로우 내보내기
다음 JSON 구성을 복사하여 n8n에 가져오면 이 워크플로우를 사용할 수 있습니다
{
"id": "jDO3Mna9FMs6rTdJ",
"meta": {
"instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462",
"templateCredsSetupCompleted": true
},
"name": "Remove background from WooCommerce product images",
"tags": [],
"nodes": [
{
"id": "7b97db40-96b7-4f7d-a26f-14e2416d4730",
"name": "워크플로우 실행 시",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-620,
100
],
"parameters": {},
"typeVersion": 1
},
{
"id": "b1a25e04-37e1-425e-b146-090a8f49e43f",
"name": "Remove from Image URL",
"type": "n8n-nodes-base.httpRequest",
"position": [
360,
120
],
"parameters": {
"url": "https://api.backgroundcut.co/v2/cut/",
"method": "POST",
"options": {},
"sendBody": true,
"contentType": "multipart-form-data",
"authentication": "genericCredentialType",
"bodyParameters": {
"parameters": [
{
"name": "image_file_url",
"value": "={{ $json.image_url }}"
}
]
},
"genericAuthType": "httpHeaderAuth"
},
"credentials": {
"httpHeaderAuth": {
"id": "gzZbyF09CfhEOxUk",
"name": "BackgroundCut API"
}
},
"typeVersion": 4.2
},
{
"id": "383e0206-3cbe-4d4c-9e01-6ca857d3092b",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-620,
-180
],
"parameters": {
"width": 720,
"height": 180,
"content": "## PRELIMINARY STEP\n- Clone [this Sheet](https://docs.google.com/spreadsheets/d/1DxiZTvam_4oHHnZVBj_3K3pmWRld8T7l2v_DMuGsqss/edit?usp=sharing) and set the columns ID and IMAGE\n- Get API_KEY from [BackgroundCut.co](https://backgroundcut.co)\n- Set Header Auth in \"Remove from Image URL\" node (Name: Authorization - Value: API_KEY)\n- Get WooCommerce API and set it in \"Update product\" node\n- Set YOUR_FTP_URL in the node \"New Image Url\""
},
"typeVersion": 1
},
{
"id": "0591f51b-4ac3-4613-b78f-8fcafd0a5893",
"name": "FTP",
"type": "n8n-nodes-base.ftp",
"position": [
920,
120
],
"parameters": {
"path": "=/test/{{ $json.fileName }}",
"operation": "upload"
},
"credentials": {
"ftp": {
"id": "LHpoBQkf0LTumonL",
"name": "FTP BunnyCDN"
}
},
"typeVersion": 1
},
{
"id": "ca4a2fd6-cf8d-4dac-860d-f890ed482029",
"name": "Loop Over Items",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-180,
100
],
"parameters": {
"options": {}
},
"typeVersion": 3
},
{
"id": "cbcb21e3-9d5c-482f-b630-6fb693a32491",
"name": "Get Filename",
"type": "n8n-nodes-base.code",
"position": [
640,
120
],
"parameters": {
"jsCode": "// Loop over input items and add a new field called 'fileName' to the JSON of each one\nfor (const item of $input.all()) {\n const url = item.json.image_url;\n const fileName = url.split('/').pop(); // Estrae l'ultima parte dell'URL\n item.json.fileName = fileName;\n}\n\nreturn $input.all();\n"
},
"typeVersion": 2
},
{
"id": "0604040e-b6bb-444c-ba17-3b776a388826",
"name": "New Image Url",
"type": "n8n-nodes-base.set",
"position": [
360,
380
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "0a6e53bf-3d3d-42b3-a08f-b7d2329a987b",
"name": "image_url",
"type": "string",
"value": "=https://YOUR_FTP_URL/{{ $json.fileName }}"
}
]
}
},
"typeVersion": 3.4
},
{
"id": "d3fd2786-7218-4b60-a287-3fdf5621df0a",
"name": "Update product",
"type": "n8n-nodes-base.wooCommerce",
"position": [
640,
380
],
"parameters": {
"imagesUi": {
"imagesValues": [
{
"alt": "",
"src": "={{ $json.image_url }}",
"name": ""
}
]
},
"resource": "product",
"operation": "update",
"productId": "={{ $('Set Product Fields').item.json.ID }}",
"metadataUi": {},
"dimensionsUi": {},
"updateFields": {}
},
"credentials": {
"wooCommerceApi": {
"id": "vYYrjB5kgHQ0XByZ",
"name": "WooCommerce (wp.test.7hype.com)"
}
},
"typeVersion": 1
},
{
"id": "4b5b75d1-2d7b-418b-938a-4f75c0ed84ea",
"name": "Set Product Fields",
"type": "n8n-nodes-base.set",
"position": [
100,
120
],
"parameters": {
"options": {},
"assignments": {
"assignments": [
{
"id": "7510c8a8-77e4-4985-a83e-eb313c8b3da9",
"name": "image_url",
"type": "string",
"value": "={{ $json.IMAGE }}"
},
{
"id": "ed48e2f6-8423-4317-a746-b6dfa22c7f7c",
"name": "product_id",
"type": "string",
"value": "={{ $json.ID }}"
}
]
},
"includeOtherFields": true
},
"typeVersion": 3.4
},
{
"id": "a5056024-b941-4078-a859-8e83dc0a28a5",
"name": "Ger Products",
"type": "n8n-nodes-base.googleSheets",
"position": [
-400,
100
],
"parameters": {
"options": {},
"filtersUI": {
"values": [
{
"lookupColumn": "DONE"
}
]
},
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1DxiZTvam_4oHHnZVBj_3K3pmWRld8T7l2v_DMuGsqss/edit#gid=0",
"cachedResultName": "Foglio1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1DxiZTvam_4oHHnZVBj_3K3pmWRld8T7l2v_DMuGsqss",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1DxiZTvam_4oHHnZVBj_3K3pmWRld8T7l2v_DMuGsqss/edit?usp=drivesdk",
"cachedResultName": "BackgroundCut WooCommerce products"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "JYR6a64Qecd6t8Hb",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "badead5e-2ce6-4b21-a859-ebc6af0110ae",
"name": "Update Sheet",
"type": "n8n-nodes-base.googleSheets",
"position": [
920,
380
],
"parameters": {
"columns": {
"value": {
"DONE": "x",
"NEW IMAGE": "={{ $('New Image Url').item.json.image_url }}",
"row_number": "={{ $('Set Product Fields').item.json.row_number }}"
},
"schema": [
{
"id": "ID",
"type": "string",
"display": true,
"required": false,
"displayName": "ID",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "IMAGE",
"type": "string",
"display": true,
"required": false,
"displayName": "IMAGE",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "NEW IMAGE",
"type": "string",
"display": true,
"required": false,
"displayName": "NEW IMAGE",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "DONE",
"type": "string",
"display": true,
"required": false,
"displayName": "DONE",
"defaultMatch": false,
"canBeUsedToMatch": true
},
{
"id": "row_number",
"type": "string",
"display": true,
"removed": false,
"readOnly": true,
"required": false,
"displayName": "row_number",
"defaultMatch": false,
"canBeUsedToMatch": true
}
],
"mappingMode": "defineBelow",
"matchingColumns": [
"row_number"
],
"attemptToConvertTypes": false,
"convertFieldsToString": false
},
"options": {},
"operation": "update",
"sheetName": {
"__rl": true,
"mode": "list",
"value": "gid=0",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1DxiZTvam_4oHHnZVBj_3K3pmWRld8T7l2v_DMuGsqss/edit#gid=0",
"cachedResultName": "Foglio1"
},
"documentId": {
"__rl": true,
"mode": "list",
"value": "1DxiZTvam_4oHHnZVBj_3K3pmWRld8T7l2v_DMuGsqss",
"cachedResultUrl": "https://docs.google.com/spreadsheets/d/1DxiZTvam_4oHHnZVBj_3K3pmWRld8T7l2v_DMuGsqss/edit?usp=drivesdk",
"cachedResultName": "BackgroundCut WooCommerce products"
}
},
"credentials": {
"googleSheetsOAuth2Api": {
"id": "JYR6a64Qecd6t8Hb",
"name": "Google Sheets account"
}
},
"typeVersion": 4.6
},
{
"id": "b7752651-e5b0-4202-9647-c68dc86ffaa3",
"name": "Sticky Note7",
"type": "n8n-nodes-base.stickyNote",
"position": [
-620,
-480
],
"parameters": {
"color": 3,
"width": 720,
"height": 260,
"content": "# Remove background from WooCommerce product images\nThis 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.\n\nOnce set up, the workflow processes product images in bulk, removing backgrounds and updating WooCommerce seamlessly."
},
"typeVersion": 1
}
],
"active": false,
"pinData": {},
"settings": {
"executionOrder": "v1"
},
"versionId": "d8ae8235-9079-4d57-9999-24cde0c4ca77",
"connections": {
"0591f51b-4ac3-4613-b78f-8fcafd0a5893": {
"main": [
[
{
"node": "0604040e-b6bb-444c-ba17-3b776a388826",
"type": "main",
"index": 0
}
]
]
},
"a5056024-b941-4078-a859-8e83dc0a28a5": {
"main": [
[
{
"node": "ca4a2fd6-cf8d-4dac-860d-f890ed482029",
"type": "main",
"index": 0
}
]
]
},
"cbcb21e3-9d5c-482f-b630-6fb693a32491": {
"main": [
[
{
"node": "0591f51b-4ac3-4613-b78f-8fcafd0a5893",
"type": "main",
"index": 0
}
]
]
},
"badead5e-2ce6-4b21-a859-ebc6af0110ae": {
"main": [
[
{
"node": "ca4a2fd6-cf8d-4dac-860d-f890ed482029",
"type": "main",
"index": 0
}
]
]
},
"0604040e-b6bb-444c-ba17-3b776a388826": {
"main": [
[
{
"node": "d3fd2786-7218-4b60-a287-3fdf5621df0a",
"type": "main",
"index": 0
}
]
]
},
"d3fd2786-7218-4b60-a287-3fdf5621df0a": {
"main": [
[
{
"node": "badead5e-2ce6-4b21-a859-ebc6af0110ae",
"type": "main",
"index": 0
}
]
]
},
"ca4a2fd6-cf8d-4dac-860d-f890ed482029": {
"main": [
[],
[
{
"node": "4b5b75d1-2d7b-418b-938a-4f75c0ed84ea",
"type": "main",
"index": 0
}
]
]
},
"4b5b75d1-2d7b-418b-938a-4f75c0ed84ea": {
"main": [
[
{
"node": "b1a25e04-37e1-425e-b146-090a8f49e43f",
"type": "main",
"index": 0
}
]
]
},
"b1a25e04-37e1-425e-b146-090a8f49e43f": {
"main": [
[
{
"node": "cbcb21e3-9d5c-482f-b630-6fb693a32491",
"type": "main",
"index": 0
}
]
]
},
"7b97db40-96b7-4f7d-a26f-14e2416d4730": {
"main": [
[
{
"node": "a5056024-b941-4078-a859-8e83dc0a28a5",
"type": "main",
"index": 0
}
]
]
}
}
}자주 묻는 질문
이 워크플로우를 어떻게 사용하나요?
위의 JSON 구성 코드를 복사하여 n8n 인스턴스에서 새 워크플로우를 생성하고 "JSON에서 가져오기"를 선택한 후, 구성을 붙여넣고 필요에 따라 인증 설정을 수정하세요.
이 워크플로우는 어떤 시나리오에 적합한가요?
중급 - 디자인, 인공지능
유료인가요?
이 워크플로우는 완전히 무료이며 직접 가져와 사용할 수 있습니다. 다만, 워크플로우에서 사용하는 타사 서비스(예: OpenAI API)는 사용자 직접 비용을 지불해야 할 수 있습니다.
관련 워크플로우 추천
GIF에서 얼굴 바꾸기
Fal.run AI와 Google 서비스를 사용한 GIF 얼굴 교환 자동화
If
Set
Wait
+
If
Set
Wait
19 노드Davide
디자인
이미지를 3D로 변환
Fal.ai Trellis를 사용하여 이미지를 3D 모델로 변환하고 Google Drive에 저장
If
Set
Wait
+
If
Set
Wait
17 노드Davide
디자인
WooCommerce 의류 카탈로그의 AI 가상 피팅
WooCommerce 의류 카탈로그의 AI 가상 피팅 자동 생성
If
Set
Wait
+
If
Set
Wait
21 노드Davide
영업
AI 기반 WooCommerce 제품 가져오기 및 SEO
Google Sheets 기반 AI 기반 WooCommerce 제품 가져오기 도구, Yoast SEO 메타데이터 포함
Code
Telegram
Woo Commerce
+
Code
Telegram
Woo Commerce
16 노드Davide
영업
시험 문제 생성
Google 문서와 Gemini AI 기반 시험 문제 및 답변 자동 생성
Code
Google Docs
Http Request
+
Code
Google Docs
Http Request
37 노드Davide
기타
Mistral OCR 기반의 완전한 RAG, PDF에서 시작합니다.
Mistral OCR, Qdrant, Gemini AI를 사용하여 PDF 문서 RAG 시스템을 구축합니다.
Set
Code
Wait
+
Set
Code
Wait
34 노드Davide
인공지능
워크플로우 정보
난이도
중급
노드 수12
카테고리2
노드 유형9
저자
Davide
@n3witaliaFull-stack Web Developer based in Italy specialising in Marketing & AI-powered automations. For business enquiries, send me an email at info@n3w.it or add me on Linkedin.com/in/davideboizza
외부 링크
n8n.io에서 보기 →
이 워크플로우 공유