{
  "name": "Non-Tech Team Onboarding - AI Tool Setup Automation",
  "nodes": [
    {
      "parameters": {
        "httpMethod": "POST",
        "path": "onboard-team",
        "options": {}
      },
      "name": "Webhook - New Team Request",
      "type": "n8n-nodes-base.webhook",
      "position": [
        250,
        300
      ],
      "typeVersion": 2
    },
    {
      "parameters": {
        "url": "http://localhost:8000/api/webhook/provision",
        "method": "POST",
        "body": {
          "team_name": "={{ $json.body.team_name }}",
          "use_case": "={{ $json.body.use_case }}",
          "coins": "={{ $json.body.coins }}"
        },
        "options": {}
      },
      "name": "Provision AI Workspace",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        470,
        300
      ],
      "typeVersion": 4.2
    },
    {
      "parameters": {
        "resource": "chatMessage",
        "text": "=\u2705 *{{ $json.team_name }}* \ud300 AI \ud658\uacbd \ud504\ub85c\ube44\uc800\ub2dd \uc644\ub8cc\n\n\ubaa8\ub2c8\ud130\ub9c1 \ucf54\uc778: {{ $json.coins }}\n\ub300\uc2dc\ubcf4\ub4dc: {{ $json.dashboard_url }}\nAPI Key: {{ $json.api_key_masked }}",
        "channelId": "={{ $json.body.slack_channel || '#crypto-alerts' }}"
      },
      "name": "Notify Team on Slack",
      "type": "n8n-nodes-base.slack",
      "position": [
        690,
        200
      ],
      "typeVersion": 2.2
    },
    {
      "parameters": {
        "toEmail": "={{ $json.body.admin_email || $json.admin_email }}",
        "subject": "AI \ub3c4\uad6c \ud504\ub85c\ube44\uc800\ub2dd \uc644\ub8cc - {{ $json.team_name }}",
        "text": "={{ $json.team_name }} \ud300\uc758 AI \uc6cc\ud06c\uc2a4\ud398\uc774\uc2a4\uac00 \uc0dd\uc131\ub418\uc5c8\uc2b5\ub2c8\ub2e4."
      },
      "name": "Email Admin",
      "type": "n8n-nodes-base.emailSend",
      "position": [
        690,
        400
      ],
      "typeVersion": 2.1
    }
  ],
  "connections": {
    "Webhook - New Team Request": {
      "main": [
        [
          {
            "node": "Provision AI Workspace",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Provision AI Workspace": {
      "main": [
        [
          {
            "node": "Notify Team on Slack",
            "type": "main",
            "index": 0
          },
          {
            "node": "Email Admin",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}