Magento 2:自动修复缺失图片Alt标签使用产品名称
中级
这是一个Content Creation领域的自动化工作流,包含 11 个节点。主要使用 If、Code、SplitOut、HttpRequest、ManualTrigger 等节点。 Magento 2:使用产品名称自动修复缺失图片Alt标签
前置要求
- •可能需要目标 API 的认证凭证
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "c3b23fffea49117e798bf0289bfe84ed0e7c634b0def397db74b35f7d28d1f5f",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "e010687c-72e1-4fc7-90ae-b223f69c4595",
"name": "获取所有产品SKU",
"type": "n8n-nodes-base.httpRequest",
"position": [
-840,
-40
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "889596c6-7ca8-4251-b30e-5e1404339153",
"name": "便签2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-1280,
-140
],
"parameters": {
"content": "确保您的表名与实际知识库结构匹配"
},
"typeVersion": 1
},
{
"id": "af866db5-df88-408f-8f8a-0188c6545809",
"name": "便签3",
"type": "n8n-nodes-base.stickyNote",
"position": [
-940,
-240
],
"parameters": {
"content": "确保您的表名与实际知识库结构匹配"
},
"typeVersion": 1
},
{
"id": "30f45e5e-a780-4430-836c-ef2cfe2aba86",
"name": "便签4",
"type": "n8n-nodes-base.stickyNote",
"position": [
-180,
-240
],
"parameters": {
"content": "确保您的表名与实际知识库结构匹配"
},
"typeVersion": 1
},
{
"id": "a7cd583c-10d2-44ad-b412-2245e78b2b5d",
"name": "点击\"执行工作流\"时",
"type": "n8n-nodes-base.manualTrigger",
"position": [
-1200,
-40
],
"parameters": {},
"typeVersion": 1
},
{
"id": "e6319a2a-792a-4415-8ac4-792ab00b5a61",
"name": "遍历项目",
"type": "n8n-nodes-base.splitInBatches",
"position": [
-400,
-40
],
"parameters": {},
"typeVersion": 3
},
{
"id": "71208855-2076-4556-9457-c93615bed81e",
"name": "如果",
"type": "n8n-nodes-base.if",
"position": [
-100,
-140
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "b3d77c82-122b-47ce-ab0b-d05269fea71d",
"name": "代码",
"type": "n8n-nodes-base.code",
"position": [
200,
-160
],
"parameters": {},
"typeVersion": 2
},
{
"id": "b2941a02-b988-4b1c-9327-a36661e0821d",
"name": "分离",
"type": "n8n-nodes-base.splitOut",
"position": [
-620,
-40
],
"parameters": {},
"typeVersion": 1
},
{
"id": "c886c230-37fc-416f-beb3-e3b2d0baccb7",
"name": "HTTP 请求",
"type": "n8n-nodes-base.httpRequest",
"position": [
520,
-45
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "f6b1538f-4805-45da-bc1b-b9c7b8be91a6",
"name": "便签",
"type": "n8n-nodes-base.stickyNote",
"position": [
-940,
-440
],
"parameters": {
"content": "确保您的表名与实际知识库结构匹配"
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"If": {
"main": [
[
{
"node": "Code",
"type": "main",
"index": 0
}
]
]
},
"Code": {
"main": [
[
{
"node": "HTTP Request",
"type": "main",
"index": 0
}
]
]
},
"Split Out": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"HTTP Request": {
"main": [
[
{
"node": "Loop Over Items",
"type": "main",
"index": 0
}
]
]
},
"Loop Over Items": {
"main": [
[],
[
{
"node": "If",
"type": "main",
"index": 0
}
]
]
},
"Get All Product Skus": {
"main": [
[
{
"node": "Split Out",
"type": "main",
"index": 0
}
]
]
},
"When clicking ‘Execute workflow’": {
"main": [
[
{
"node": "Get All Product Skus",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
这是一个中级难度的工作流,适用于Content Creation等场景。适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
内容生成器 v3
AI驱动博客自动化:使用GPT-4生成并发布SEO文章至WordPress和Twitter
If
Set
Code
+25
144 节点Jay Emp0
Content Creation
Printify自动化 - 更新标题和描述 - AlexK1919
使用GPT-4o-mini为Printify自动生成SEO产品标题和描述
If
Set
Code
+10
26 节点Amit Mehta
Content Creation
通过Gmail审批自动禁用一年未售出的Magento 2产品
通过Gmail审批自动禁用一年未售出的Magento 2产品
If
Code
Gmail
+7
22 节点Kanaka Kishore Kandregula
Document Extraction
从站点地图爬取到向量存储:创建高效的RAG工作流
从站点地图爬取到向量存储:创建高效的RAG工作流
If
Set
Xml
+13
40 节点Mariela Slavenova
Content Creation
FalAI_SeeDanceV1.0_英文模板
使用GPT-4o、Fal.AI Seedance和音频从文本提示生成电影级视频
If
Code
Wait
+12
38 节点Jaruphat J.
Content Creation
灵活新闻聚合器 - 多源集成、AI分析和可设置频道
多源新闻策展系统,集成Mistral AI分析、摘要和自定义频道
If
Set
Xml
+32
120 节点Hybroht
Content Creation
工作流信息
难度等级
中级
节点数量11
分类1
节点类型7
作者
Kanaka Kishore Kandregula
@kmyprojectsExperienced Magento 2 Developer with 10+ years of expertise in building and optimizing eCommerce solutions. Over the past year, I’ve expanded my skills into workflow automation using n8n, streamlining business processes and integrating systems for efficiency. Passionate about solving complex problems, enhancing performance, and leveraging automation to drive smarter workflows.
外部链接
在 n8n.io 上查看 →
分享此工作流