{
  "openruna_format": "flow-graph-v1",
  "title": "Discord AI bot",
  "slug": "discord-ai-bot-2",
  "source_filename": "1410_Webhook_Discord_Automate_Webhook.json",
  "nodes": [
    {
      "id": "When clicking \"Execute Workflow\"",
      "name": "When clicking \"Execute Workflow\"",
      "integration": "manual",
      "kind": "trigger"
    },
    {
      "id": "Webhook",
      "name": "Webhook",
      "integration": "webhook",
      "kind": "trigger"
    },
    {
      "id": "No Operation, do nothing",
      "name": "No Operation, do nothing",
      "integration": "noOp",
      "kind": "logic"
    },
    {
      "id": "Analyze user request",
      "name": "Analyze user request",
      "integration": "openAi",
      "kind": "action"
    },
    {
      "id": "Select category",
      "name": "Select category",
      "integration": "switch",
      "kind": "logic"
    },
    {
      "id": "Parse JSON",
      "name": "Parse JSON",
      "integration": "set",
      "kind": "logic"
    },
    {
      "id": "User Success Dept",
      "name": "User Success Dept",
      "integration": "discord",
      "kind": "action"
    },
    {
      "id": "IT Dept",
      "name": "IT Dept",
      "integration": "discord",
      "kind": "action"
    },
    {
      "id": "Helpdesk",
      "name": "Helpdesk",
      "integration": "discord",
      "kind": "action"
    }
  ],
  "edges": [
    {
      "from": "Webhook",
      "to": "Analyze user request"
    },
    {
      "from": "Parse JSON",
      "to": "Select category"
    },
    {
      "from": "Select category",
      "to": "User Success Dept",
      "label": "success-story"
    },
    {
      "from": "Select category",
      "to": "IT Dept",
      "label": "urgent-issue"
    },
    {
      "from": "Select category",
      "to": "Helpdesk",
      "label": "ticket"
    },
    {
      "from": "Select category",
      "to": "No Operation, do nothing"
    },
    {
      "from": "Analyze user request",
      "to": "Parse JSON"
    },
    {
      "from": "When clicking \"Execute Workflow\"",
      "to": "Analyze user request"
    }
  ]
}