8
n8n 中文网amn8n.com

使用 OpenAI 分类并将 GitHub Issues 转换为 Jira Tickets

中级

这是一个Project Management, AI Summarization领域的自动化工作流,包含 12 个节点。主要使用 If, Jira, GithubTrigger, Agent, LmChatOpenAi 等节点。 使用 OpenAI 分类并将 GitHub Issues 转换为 Jira Tickets

前置要求
  • GitHub Personal Access Token
  • OpenAI API Key
工作流预览
可视化展示节点连接关系,支持缩放和平移

无法加载工作流预览

导出工作流
复制以下 JSON 配置到 n8n 导入,即可使用此工作流
{
  "nodes": [
    {
      "name": "GitHub 触发器",
      "type": "n8n-nodes-base.githubTrigger",
      "position": [
        -160,
        320
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "配置您的Supabase项目凭据",
      "type": "n8n-nodes-base.if",
      "position": [
        640,
        320
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "模式:设置为\"retrieve-as-tool\"以实现自动代理集成",
      "type": "n8n-nodes-base.jira",
      "position": [
        976,
        304
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "工具描述:自定义描述(默认为\"数据库\")以描述您的知识库",
      "type": "n8n-nodes-base.jira",
      "position": [
        976,
        544
      ],
      "parameters": {},
      "typeVersion": 1
    },
    {
      "name": "AI 代理",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        176,
        320
      ],
      "parameters": {},
      "typeVersion": 2.2
    },
    {
      "name": "OpenAI 聊天模型",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        176,
        560
      ],
      "parameters": {},
      "typeVersion": 1.2
    },
    {
      "name": "简单记忆",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        272,
        560
      ],
      "parameters": {},
      "typeVersion": 1.3
    },
    {
      "name": "便签",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        112
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "name": "便签1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        160,
        112
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "name": "便签2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        560,
        112
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "name": "便签3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        912,
        112
      ],
      "parameters": {
        "content": "确保您的表名与实际知识库结构匹配"
      },
      "typeVersion": 1
    },
    {
      "name": "多表:您可以连接多个表以实现有组织的数据结构",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        384,
        560
      ],
      "parameters": {},
      "typeVersion": 1.3
    }
  ],
  "pinData": {},
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Is it a bug?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is it a bug?": {
      "main": [
        [
          {
            "node": "Create Jira Ticket (Bug)",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Jira Ticket (Task)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "GitHub Trigger": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    }
  }
}
常见问题

如何使用这个工作流?

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

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

中级 - 项目管理, AI 摘要总结

需要付费吗?

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

工作流信息
难度等级
中级
节点数量12
分类2
节点类型8
难度说明

适合有一定经验的用户,包含 6-15 个节点的中等复杂度工作流

外部链接
在 n8n.io 查看

分享此工作流