自動チケットジェネレーター

中級

これはAI, IT Ops分野の自動化ワークフローで、8個のノードを含みます。主にCode, Slack, Webhook, Agent, LmChatOpenAiなどのノードを使用、AI技術を活用したスマート自動化を実現。 自動チケットジェネレーター:Slackのコメントを構造化されたプロジェクトチケットに変換

前提条件
  • Slack Bot Token または Webhook URL
  • HTTP Webhookエンドポイント(n8nが自動生成)
  • OpenAI API Key

カテゴリー

ワークフロープレビュー
ノード接続関係を可視化、ズームとパンをサポート
ワークフローをエクスポート
以下のJSON設定をn8nにインポートして、このワークフローを使用できます
{
  "id": "8PxWIzEWlqJ3Anov",
  "meta": {
    "instanceId": "6bcff5ef8a06e8086902526a05c2a4c7bf5da8101f89e582301ed78094606f40",
    "templateCredsSetupCompleted": true
  },
  "name": "Auto-Ticket Maker",
  "tags": [],
  "nodes": [
    {
      "id": "a1297b26-107e-40dd-9695-8ecb0534cacb",
      "name": "OpenAI チャットモデル",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -80,
        360
      ],
      "parameters": {
        "model": {
          "__rl": true,
          "mode": "list",
          "value": "gpt-4.1",
          "cachedResultName": "gpt-4.1"
        },
        "options": {}
      },
      "credentials": {
        "openAiApi": {
          "id": "KLN8ZfDzv8mW6pyu",
          "name": "OpenAi account"
        }
      },
      "typeVersion": 1.2
    },
    {
      "id": "5b67ef11-54e0-41b0-afd0-f3c4f359e513",
      "name": "Webhook トリガー",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -520,
        100
      ],
      "webhookId": "e5d97187-896a-423b-9ba7-e23044ae1d7e",
      "parameters": {
        "path": "slack-ticket-maker",
        "options": {},
        "httpMethod": "POST"
      },
      "typeVersion": 2
    },
    {
      "id": "02cbd3c7-b0ac-4556-a00b-6f357ed8f7e9",
      "name": "コード",
      "type": "n8n-nodes-base.code",
      "position": [
        -300,
        100
      ],
      "parameters": {
        "jsCode": "// Extract and reformat the nested payload\nconst originalPayload = $input.all()[0];\nconst slackEvent = originalPayload.json.body[\"\"];\n\n// Create clean new structure\nreturn {\n  headers: originalPayload.json.headers,\n  slack: {\n    user: slackEvent.user,\n    channel: slackEvent.channel,\n    text: slackEvent.text.replace(/<@U.*?>/, \"\").trim(),\n    team: slackEvent.team,\n    timestamp: slackEvent.event_ts,\n    is_thread: !!slackEvent.thread_ts,\n    thread_id: slackEvent.thread_ts || \"main\"\n  }\n};"
      },
      "typeVersion": 2
    },
    {
      "id": "bee83d84-b9b6-454a-91dd-eda6087ad2fd",
      "name": "シンプルメモリ",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        140,
        360
      ],
      "parameters": {
        "sessionKey": "=slack_{{$json['slack']['channel']}}_user_{{$json['slack']['user']}}",
        "sessionIdType": "customKey"
      },
      "typeVersion": 1.3
    },
    {
      "id": "eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0",
      "name": "AI PM Wellington",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -40,
        100
      ],
      "parameters": {
        "text": "=Your job is receiving a message  {{ $json[\"slack\"][\"text\"] }} and breaking it into tickets (epics, tasks and so on) for development/execution of a task\n\nSetps:\n> Avaluate the level of complexibility, how many cards to make and how you should structure it\n\n>Ask for a project name\n\n> If more information is needed, specify and ask it. Don't create the tickets and wait for a response. You may only ask for information up to 2 times before creating the tickets.\n\n> Break the ticket/project into EPICS, and then write tickets for each of those Epics\n\n> Tickets should have:\n- Title (MUST)\n- Short Description (MUST)\nSections with bullet points:\n1. Objectives / Goals\n2. Definition of Done\n3. Requirements / Acceptance Criteria\n4. Implementation Details\n5. Risks & Challenges\n6. Testing & Validation\n7. Timeline & Milestones\n8. Related Notes & References\n9. Additional Comments / Open Questions\n\n> The bullet points should be brief and concise \n\n> You sould ALWAYS send the messages to the Slack channel.\n\n> Format only tickets as MARKDOWN\n\n> Each ticket must be surrounded by a code block (```)\nExample: ```ticket```",
        "options": {},
        "promptType": "define"
      },
      "typeVersion": 1.8
    },
    {
      "id": "09a6a284-8d70-4b3b-9a66-3c9045528552",
      "name": "Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        320,
        100
      ],
      "webhookId": "7408d0f3-4e82-4a45-8ad6-9e573fdc7f30",
      "parameters": {
        "text": "={{$json[\"output\"]}}",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "mode": "list",
          "value": "C08QXSK7U1H",
          "cachedResultName": "ticket-maker"
        },
        "otherOptions": {}
      },
      "credentials": {
        "slackApi": {
          "id": "tp5KWuJ5R85fEonh",
          "name": "Slack account"
        }
      },
      "typeVersion": 2.3
    },
    {
      "id": "bcfb3867-8c8c-45a9-a0a6-9286a42e8fdf",
      "name": "付箋",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1080,
        -100
      ],
      "parameters": {
        "color": 3,
        "width": 640,
        "height": 560,
        "content": "# Varritech Free Workflows for n8n\n\nAccess our collection of **free, ready-to-use n8n workflows** designed to streamline your data operations and automation needs.\n\n## What You'll Get:\n- Pre-built data integration workflows\n- Time-saving automation templates\n- Step-by-step implementation guides\n- Regular updates with new workflows\n\n## How to Use:\n1. Download our free workflows\n2. Import into your n8n instance\n3. Configure with your credentials\n4. Start automating immediately\n\n**Note:** For additional workflows, tutorials, and technical support, visit our website at [varritech.com](https://varritech.com)\n\n*Unlock the full potential of n8n with Varritech's workflow solutions!*"
      },
      "typeVersion": 1
    },
    {
      "id": "af714830-26e0-4e93-8c46-765c0ccb445c",
      "name": "付箋1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        520,
        60
      ],
      "parameters": {
        "color": 4,
        "width": 640,
        "height": 560,
        "content": "# Need Help Maximizing Your AI Workflows?\n\nThank you for using our **Auto-Ticket Maker** workflow! While this automation handles ticket creation, there's much more AI can do for your organization:\n\n## Looking for Expert Support With:\n- **Eliminating Redundant Tasks** - Need help identifying and automating repetitive processes across your organization?\n- **Implementing 500% Development Acceleration** - Want access to our complete suite of optimization workflows for project management, sales, marketing, and engineering teams?\n- **Prompt Engineering Expertise** - Looking for customized recommendations to get the most effective output from your AI systems?\n\n**Varritech is here to help!** Our team has built dozens of production-grade AI workflows that have transformed how our clients operate. The same systems that accelerated our own development by 500% can be adapted for your specific needs.\n\nVisit [varritech.com](https://varritech.com) for expert assistance with turning AI automation into a powerful competitive advantage."
      },
      "typeVersion": 1
    }
  ],
  "active": true,
  "pinData": {},
  "settings": {
    "executionOrder": "v1"
  },
  "versionId": "9fe68472-1bb0-4950-a4aa-eb2f51ecbfe9",
  "connections": {
    "Code": {
      "main": [
        [
          {
            "node": "eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0": {
      "main": [
        [
          {
            "node": "09a6a284-8d70-4b3b-9a66-3c9045528552",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "eaccaa91-8a69-49fd-8dd4-418f4ea1dbd0",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    }
  }
}
よくある質問

このワークフローの使い方は?

上記のJSON設定コードをコピーし、n8nインスタンスで新しいワークフローを作成して「JSONからインポート」を選択、設定を貼り付けて認証情報を必要に応じて変更してください。

このワークフローはどんな場面に適していますか?

中級 - 人工知能, IT運用

有料ですか?

このワークフローは完全無料です。ただし、ワークフローで使用するサードパーティサービス(OpenAI APIなど)は別途料金が発生する場合があります。

ワークフロー情報
難易度
中級
ノード数8
カテゴリー2
ノードタイプ7
難易度説明

経験者向け、6-15ノードの中程度の複雑さのワークフロー

作成者
Varritech

Varritech

@varritech

Build your next app 500% faster with the latest AI-powered development

外部リンク
n8n.ioで表示

このワークフローを共有

カテゴリー

カテゴリー: 34