通过自然语言进行Magento维护与GPT和Telegram-WhatsApp
高级
这是一个DevOps, AI Chatbot领域的自动化工作流,包含 21 个节点。主要使用 If, Ssh, Switch, Telegram, WhatsApp 等节点。 通过自然语言使用GPT和Telegram/WhatsApp进行Magento维护
前置要求
- •Telegram Bot Token
- •可能需要目标 API 的认证凭证
- •OpenAI API Key
使用的节点 (21)
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
"meta": {
"instanceId": "c3b23fffea49117e798bf0289bfe84ed0e7c634b0def397db74b35f7d28d1f5f",
"templateCredsSetupCompleted": true
},
"nodes": [
{
"id": "cccbff02-437f-4b9f-ae1d-4fae2290943c",
"name": "OpenAI Chat Model",
"type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
"position": [
416,
-80
],
"parameters": {},
"typeVersion": 1.2
},
{
"id": "c7b6c2df-301d-4dc4-90c2-0e5b25f173e6",
"name": "If",
"type": "n8n-nodes-base.if",
"position": [
688,
-304
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "bfaa0bd2-3935-4aba-b57a-7399426da800",
"name": "Execute a command",
"type": "n8n-nodes-base.ssh",
"position": [
912,
-112
],
"parameters": {},
"typeVersion": 1
},
{
"id": "31876e33-94d3-4f92-ad74-ed64af93af3b",
"name": "Get audio file",
"type": "n8n-nodes-base.telegram",
"position": [
-112,
-96
],
"webhookId": "73d0d328-d75b-4bb0-a1b9-81d42a2f2bfd",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "4d20a186-9620-4764-98ef-05298f5e020f",
"name": "Transcribe audio",
"type": "@n8n/n8n-nodes-langchain.openAi",
"position": [
112,
-384
],
"parameters": {},
"typeVersion": 1.8
},
{
"id": "1ea6ff1a-eadc-4cb7-9859-87ffb787e017",
"name": "Message Trigger",
"type": "n8n-nodes-base.telegramTrigger",
"position": [
-784,
-144
],
"webhookId": "d08f35d7-e003-4e77-a26a-eb110855e027",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "ceae5e14-0d7f-4ccd-8788-a2ef768a25b3",
"name": "Route Chat Input",
"type": "n8n-nodes-base.switch",
"position": [
-560,
-272
],
"parameters": {},
"typeVersion": 3.2
},
{
"id": "9863ba51-316c-4b62-b328-e7b07829e9fa",
"name": "Send Output",
"type": "n8n-nodes-base.telegram",
"position": [
1360,
-64
],
"webhookId": "10cbb73b-1d8a-4c7c-b8c6-0cb104b0532b",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "f06a4fcd-4850-4e2d-89b9-3c3834af3cfc",
"name": "Send Error Message",
"type": "n8n-nodes-base.telegram",
"position": [
1136,
-304
],
"webhookId": "a76d7771-1e35-40fb-949c-6b4b610116c0",
"parameters": {},
"typeVersion": 1.2
},
{
"id": "8e854e62-7ca5-47aa-89dd-cbc275d33410",
"name": "Magento AI Agent 👩🏻🏫",
"type": "@n8n/n8n-nodes-langchain.agent",
"position": [
336,
-304
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "92d9a379-b294-4216-b713-518d27d20be9",
"name": "WhatsApp Trigger",
"type": "n8n-nodes-base.whatsAppTrigger",
"position": [
-784,
-336
],
"webhookId": "23e9ee1c-8302-45f5-8d6c-de62b1aa2c46",
"parameters": {},
"typeVersion": 1
},
{
"id": "cd443897-ba69-475e-b440-1d4fc9e92fd2",
"name": "If1",
"type": "n8n-nodes-base.if",
"position": [
1136,
-112
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "3281cea0-7f92-4bab-9c19-d29e5620a672",
"name": "Send message",
"type": "n8n-nodes-base.whatsApp",
"position": [
1360,
-208
],
"webhookId": "a0384039-837b-4940-95a8-1dd12ff4e5e8",
"parameters": {},
"typeVersion": 1
},
{
"id": "2b9509cb-ca7e-484a-8dc7-ffc0d963a6e7",
"name": "Download media",
"type": "n8n-nodes-base.whatsApp",
"position": [
-336,
-384
],
"webhookId": "6a91c3f9-8d56-43d5-911b-eec7513ccbcf",
"parameters": {},
"typeVersion": 1
},
{
"id": "3d70ad96-6431-4b90-aec1-da22c6ae8be5",
"name": "HTTP Request",
"type": "n8n-nodes-base.httpRequest",
"position": [
-112,
-384
],
"parameters": {},
"typeVersion": 4.2
},
{
"id": "dfd3b110-b287-497d-a26d-b58f33309755",
"name": "If2",
"type": "n8n-nodes-base.if",
"position": [
912,
-400
],
"parameters": {},
"typeVersion": 2.2
},
{
"id": "863193a9-f5e8-47ee-b295-df607a0359a5",
"name": "Send message1",
"type": "n8n-nodes-base.whatsApp",
"position": [
1136,
-496
],
"webhookId": "a0384039-837b-4940-95a8-1dd12ff4e5e8",
"parameters": {},
"typeVersion": 1
},
{
"id": "e624eaa5-448d-4c06-ba7f-379720f6e50d",
"name": "Sticky Note6",
"type": "n8n-nodes-base.stickyNote",
"position": [
-896,
-624
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "2a55529d-741b-4e5e-8b42-5f3b85871898",
"name": "Sticky Note",
"type": "n8n-nodes-base.stickyNote",
"position": [
304,
-624
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "3305e6e8-288a-4891-a0b4-966f333c991d",
"name": "Sticky Note1",
"type": "n8n-nodes-base.stickyNote",
"position": [
672,
-624
],
"parameters": {
"content": ""
},
"typeVersion": 1
},
{
"id": "958c915b-9a6a-4488-90e1-ee62a497e7ba",
"name": "Sticky Note2",
"type": "n8n-nodes-base.stickyNote",
"position": [
-896,
-832
],
"parameters": {
"content": ""
},
"typeVersion": 1
}
],
"pinData": {},
"connections": {
"c7b6c2df-301d-4dc4-90c2-0e5b25f173e6": {
"main": [
[
{
"node": "dfd3b110-b287-497d-a26d-b58f33309755",
"type": "main",
"index": 0
}
],
[
{
"node": "bfaa0bd2-3935-4aba-b57a-7399426da800",
"type": "main",
"index": 0
}
]
]
},
"cd443897-ba69-475e-b440-1d4fc9e92fd2": {
"main": [
[
{
"node": "3281cea0-7f92-4bab-9c19-d29e5620a672",
"type": "main",
"index": 0
}
],
[
{
"node": "9863ba51-316c-4b62-b328-e7b07829e9fa",
"type": "main",
"index": 0
}
]
]
},
"dfd3b110-b287-497d-a26d-b58f33309755": {
"main": [
[
{
"node": "863193a9-f5e8-47ee-b295-df607a0359a5",
"type": "main",
"index": 0
}
],
[
{
"node": "f06a4fcd-4850-4e2d-89b9-3c3834af3cfc",
"type": "main",
"index": 0
}
]
]
},
"9863ba51-316c-4b62-b328-e7b07829e9fa": {
"main": [
[]
]
},
"3d70ad96-6431-4b90-aec1-da22c6ae8be5": {
"main": [
[
{
"node": "4d20a186-9620-4764-98ef-05298f5e020f",
"type": "main",
"index": 0
}
]
]
},
"2b9509cb-ca7e-484a-8dc7-ffc0d963a6e7": {
"main": [
[
{
"node": "3d70ad96-6431-4b90-aec1-da22c6ae8be5",
"type": "main",
"index": 0
}
]
]
},
"31876e33-94d3-4f92-ad74-ed64af93af3b": {
"main": [
[
{
"node": "4d20a186-9620-4764-98ef-05298f5e020f",
"type": "main",
"index": 0
}
]
]
},
"1ea6ff1a-eadc-4cb7-9859-87ffb787e017": {
"main": [
[
{
"node": "ceae5e14-0d7f-4ccd-8788-a2ef768a25b3",
"type": "main",
"index": 0
}
]
]
},
"ceae5e14-0d7f-4ccd-8788-a2ef768a25b3": {
"main": [
[
{
"node": "8e854e62-7ca5-47aa-89dd-cbc275d33410",
"type": "main",
"index": 0
}
],
[
{
"node": "31876e33-94d3-4f92-ad74-ed64af93af3b",
"type": "main",
"index": 0
}
],
[
{
"node": "8e854e62-7ca5-47aa-89dd-cbc275d33410",
"type": "main",
"index": 0
}
],
[
{
"node": "2b9509cb-ca7e-484a-8dc7-ffc0d963a6e7",
"type": "main",
"index": 0
}
]
]
},
"4d20a186-9620-4764-98ef-05298f5e020f": {
"main": [
[
{
"node": "8e854e62-7ca5-47aa-89dd-cbc275d33410",
"type": "main",
"index": 0
}
]
]
},
"92d9a379-b294-4216-b713-518d27d20be9": {
"main": [
[
{
"node": "ceae5e14-0d7f-4ccd-8788-a2ef768a25b3",
"type": "main",
"index": 0
}
]
]
},
"bfaa0bd2-3935-4aba-b57a-7399426da800": {
"main": [
[
{
"node": "cd443897-ba69-475e-b440-1d4fc9e92fd2",
"type": "main",
"index": 0
}
]
]
},
"cccbff02-437f-4b9f-ae1d-4fae2290943c": {
"ai_languageModel": [
[
{
"node": "8e854e62-7ca5-47aa-89dd-cbc275d33410",
"type": "ai_languageModel",
"index": 0
}
]
]
},
"8e854e62-7ca5-47aa-89dd-cbc275d33410": {
"main": [
[
{
"node": "c7b6c2df-301d-4dc4-90c2-0e5b25f173e6",
"type": "main",
"index": 0
}
]
]
}
}
}常见问题
如何使用这个工作流?
复制上方的 JSON 配置代码,在您的 n8n 实例中创建新工作流并选择「从 JSON 导入」,粘贴配置后根据需要修改凭证设置即可。
这个工作流适合什么场景?
高级 - 开发运维, AI 聊天机器人
需要付费吗?
本工作流完全免费,您可以直接导入使用。但请注意,工作流中使用的第三方服务(如 OpenAI API)可能需要您自行付费。
相关工作流推荐
商业AI指挥中心
商业AI指挥中心:Google Workspace模块化代理、向量搜索与多渠道报告
Set
Gmail
Slack
+
Set
Gmail
Slack
80 节点Paul
文档提取
通过AI、Telegram机器人和网站爬取创建个性化邮件外联
通过AI、Telegram机器人和网站爬取创建个性化邮件外联
If
Set
Xml
+
If
Set
Xml
58 节点Michael A Putra
客户培育
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
高级多代理AI个人助手(250+任务能力,WhatsApp + GPT)
Set
Switch
Whats App
+
Set
Switch
Whats App
213 节点Electrabot
个人效率
Voice2Propal – 智能WhatsApp提案生成器(语音和文本)
使用GPT和APITemplate从语音或文本自动生成WhatsApp提案
Set
Switch
Split Out
+
Set
Switch
Split Out
19 节点Floyd Mahou
客户培育
宠物美容发布与预约自动化
使用AI、Facebook和Telegram机器人自动化宠物美容发布与预约
If
Set
Switch
+
If
Set
Switch
36 节点Christian Moises
AI 聊天机器人
自动化WhatsApp客户支持,含语音转录、FAQ和预约安排
自动化WhatsApp客户支持,含语音转录、FAQ和预约安排
If
Set
Switch
+
If
Set
Switch
23 节点AureusR
杂项
工作流信息
难度等级
高级
节点数量21
分类2
节点类型12
作者
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 查看 →
分享此工作流