8
n8n 中文网amn8n.com

SAP业务伙伴(A2X)业务版

高级

这是一个AI, IT Ops领域的自动化工作流,包含 18 个节点。主要使用 Code, Gmail, HttpRequest, ManualTrigger, Agent 等节点,结合人工智能技术实现智能自动化。 使用OpenAI GPT-4o和Gmail报告自动化SAP业务伙伴分析

前置要求
  • Google 账号和 Gmail API 凭证
  • 可能需要目标 API 的认证凭证
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移
导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "id": "9191fMgAclXEVBpJ",
  "meta": {
    "instanceId": "ab1720870fab17b6404efbb01504e7256f1d0cefdf84b7d41d963a944f625347",
    "templateCredsSetupCompleted": true
  },
  "name": "SAP 业务伙伴 (A2X) 业务版",
  "tags": [],
  "nodes": [
    {
      "id": "7c1090c4-315e-4736-bdbf-a36b1c52375e",
      "name": "开始",
      "type": "n8n-nodes-base.manualTrigger",
      "position": [
        -320,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "cba2cf67-5bec-48ab-ad5c-4cddd9b315ea",
      "name": "发送 Gmail 摘要",
      "type": "n8n-nodes-base.gmail",
      "position": [
        720,
        860
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "id": "b8686338-b184-4cd9-9066-3c15c6172581",
      "name": "AI 代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        640,
        1240
      ],
      "parameters": {},
      "typeVersion": 1.9
    },
    {
      "id": "6d1e0a09-e20b-4da9-a67a-18a6cddbdbd3",
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        640,
        1440
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "id": "8ce30e5e-9ca1-4dda-9581-565b78505b60",
      "name": "提取结果",
      "type": "n8n-nodes-base.code",
      "position": [
        180,
        860
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "7ffec67a-6a91-4019-880c-3e804319bd94",
      "name": "格式化邮件正文",
      "type": "n8n-nodes-base.code",
      "position": [
        160,
        1240
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "9b0b3577-fb61-4e58-b127-9309b65d3edf",
      "name": "提取摘要",
      "type": "n8n-nodes-base.code",
      "position": [
        420,
        860
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "aba689f3-dc1c-49a4-a948-5143c6eff4a5",
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        700
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "fb83f637-e5ad-4069-9476-a328427ef220",
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -140,
        700
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "ed0e6f34-0ec6-4a12-b5dd-a3820a26a3d4",
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        100,
        700
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "af7b4984-f2b3-42a3-b8cf-45a707c55660",
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        700
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "5bf9e5cf-9152-4443-8d83-49098511382a",
      "name": "便签4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        340,
        1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "72822ef7-0eff-48a7-8cf3-deaf7c8f2ed1",
      "name": "便签5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        700
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "43ddfad8-16b1-4867-ba7e-0a305bf8bcab",
      "name": "### 需要帮助?",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        580,
        1040
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "4dcaa401-e75c-45fc-a606-eb64b7384ab8",
      "name": "便利贴13",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -380,
        1600
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "48e0f9b2-2859-422e-8016-87a2fb9adf2c",
      "name": "便签 12",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -640,
        700
      ],
      "parameters": {
        "content": ""
      },
      "typeVersion": 1
    },
    {
      "id": "74e9e4e5-e5cd-4600-bf8b-6d5f608c96d0",
      "name": "SAP",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        -60,
        860
      ],
      "parameters": {},
      "typeVersion": 2
    },
    {
      "id": "79d5eef9-4eed-4229-b314-4df44c1d10ed",
      "name": "发送 Gmail 列表",
      "type": "n8n-nodes-base.gmail",
      "position": [
        420,
        1240
      ],
      "parameters": {},
      "typeVersion": 1
    }
  ],
  "active": false,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "fe8ea2b4-2636-457a-86b1-63fed40340f9",
  "connections": {
    "SAP": {
      "main": [
        [
          {
            "node": "Extract Results",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Start": {
      "main": [
        [
          {
            "node": "SAP",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Extract Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Results": {
      "main": [
        [
          {
            "node": "Format Email Body",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract Summary": {
      "main": [
        [
          {
            "node": "Send Gmail Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Gmail List": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Format Email Body": {
      "main": [
        [
          {
            "node": "Send Gmail List",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

高级 - 人工智能, IT 运维

需要付费吗?

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

工作流信息
难度等级
高级
节点数量18
分类2
节点类型7
难度说明

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

外部链接
在 n8n.io 查看

分享此工作流