8
n8n 中文网amn8n.com

WooCommerce服装目录的AI虚拟试穿

高级

这是一个Sales, Product, AI领域的自动化工作流,包含 21 个节点。主要使用 If, Set, Wait, GoogleDrive, HttpRequest 等节点,结合人工智能技术实现智能自动化。 WooCommerce服装目录的AI虚拟试穿自动生成

前置要求
  • Google Drive API 凭证
  • 可能需要目标 API 的认证凭证
  • Google Sheets API 凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "meta": {
    "instanceId": "a4bfc93e975ca233ac45ed7c9227d84cf5a2329310525917adaf3312e10d5462"
  },
  "name": "WooCommerce服装目录的AI虚拟试穿",
  "tags": [],
  "nodes": [
    {
      "id": "d40a4955-12d8-460f-9ac8-c9f22c604c3e",
      "name": "当点击\"测试工作流\"时",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -40,
        1640
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "6af87d83-19c6-4ca2-8ec3-077e1294d006",
      "name": "获取文件图片",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        180,
        2020
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "c6f4b8bd-081b-4592-b6b1-80b5165889aa",
      "name": "获取URL图片",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -40,
        2020
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "41a33060-3a03-4a2a-8727-ec65aeea7180",
      "name": "获取状态",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1020,
        1640
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "f17575e3-3ab6-472b-927c-3f89cb4f0a08",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "47b64a98-a1b4-4695-8486-49ffa59f76ae",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0f26eb48-88ed-4ce1-891f-a697071225a8",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1000,
        180
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "282895cd-a64c-4cf3-82d0-1bf1876bc882",
      "name": "等待 60 秒",
      "type": "n8n-nodes-base.wait",
      "position": [
        840,
        1640
      ],
      "webhookId": "351bd496-a9cc-445c-86f6-a56189df0028",
      "parameters": {},
      "typeVersion": 1.1
    },
    {
      "id": "54db4463-06de-4c1c-aa83-ea91cbe889b4",
      "name": "计划触发器",
      "type": "n8n-nodes-base.scheduleTrigger",
      "position": [
        -40,
        1500
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "2131f209-ad0b-4607-a027-8a727a5563d0",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        -220
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "00814c7e-cfd5-4d4c-b493-6022afab92c2",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        800
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "366cbe9f-725c-4695-a3b7-01118d8170b7",
      "name": "完成?",
      "type": "n8n-nodes-base.if",
      "position": [
        1200,
        1640
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "id": "ca2e79c3-ce28-4370-a169-0b8c7a631201",
      "name": "上传图像",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        400,
        2020
      ],
      "parameters": {},
      "typeVersion": 3
    },
    {
      "id": "6acc6e24-3fdc-413e-9e8e-3fa989c27e6c",
      "name": "更新结果",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        620,
        2020
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "6949a200-4564-455a-bcbf-70b9c124a193",
      "name": "设置数据",
      "type": "n8n-nodes-base.set",
      "position": [
        400,
        1640
      ],
      "parameters": {},
      "typeVersion": 3.4
    },
    {
      "id": "28f9b6be-5dbc-455e-93bd-734d0246a344",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        1360
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "21f627f4-1da7-4e27-8c0d-88a215f2d64d",
      "name": "创建图像",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        620,
        1640
      ],
      "parameters": {},
      "typeVersion": 4.2
    },
    {
      "id": "563a09cc-83ad-4ed5-9d45-86a202aad3e6",
      "name": "便签6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -40,
        1100
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "0f821907-aa69-465b-af57-eff4d17117b4",
      "name": "获取新产品",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        180,
        1640
      ],
      "parameters": {},
      "typeVersion": 4.5
    },
    {
      "id": "8de9bbed-4c67-4325-bc24-9bf0b8037210",
      "name": "更新产品",
      "type": "n8n-nodes-base.wooCommerce",
      "position": [
        840,
        2020
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "173bfeeb-e195-469a-af56-93edc957af0c",
      "name": "便签7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        1580
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "",
  "connections": {
    "Set data": {
      "main": [
        [
          {
            "node": "Create Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Completed?": {
      "main": [
        [
          {
            "node": "Get Url image",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Wait 60 sec.",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get status": {
      "main": [
        [
          {
            "node": "Completed?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Image": {
      "main": [
        [
          {
            "node": "Wait 60 sec.",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Image": {
      "main": [
        [
          {
            "node": "Update result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Wait 60 sec.": {
      "main": [
        [
          {
            "node": "Get status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Url image": {
      "main": [
        [
          {
            "node": "Get File image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update result": {
      "main": [
        [
          {
            "node": "Update product",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get File image": {
      "main": [
        [
          {
            "node": "Upload Image",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get new product": {
      "main": [
        [
          {
            "node": "Set data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "When clicking ‘Test workflow’": {
      "main": [
        [
          {
            "node": "Get new product",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。

这个工作流适合什么场景?

高级 - 销售, 产品, 人工智能

需要付费吗?

本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。

工作流信息
难度等级
高级
节点数量21
分类3
节点类型10
难度说明

适合高级用户,包含 16+ 个节点的复杂工作流

作者

Full-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 查看

分享此工作流