{
  "name": "Hedy Session to Slack",
  "nodes": [
    {
      "parameters": {
        "event": "session.ended"
      },
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "name": "Hedy Trigger",
      "type": "n8n-nodes-hedy.hedyTrigger",
      "typeVersion": 1,
      "position": [
        250,
        300
      ]
    },
    {
      "parameters": {
        "resource": "session",
        "operation": "get",
        "sessionId": "={{$json[\"data\"][\"id\"]}}"
      },
      "id": "b2c3d4e5-f6a7-8901-bcde-f23456789012",
      "name": "Get Session Details",
      "type": "n8n-nodes-hedy.hedy",
      "typeVersion": 1,
      "position": [
        450,
        300
      ]
    },
    {
      "parameters": {
        "authentication": "oAuth2",
        "select": "channel",
        "channelId": {
          "__rl": true,
          "value": "#meetings",
          "mode": "name"
        },
        "text": "=\ud83d\udcdd *Meeting Summary*\\n\\n*Title:* {{$json[\"title\"]}}\\n*Duration:* {{$json[\"duration\"]}} minutes\\n*Date:* {{$json[\"startTime\"]}}\\n\\n*Summary:*\\n{{$json[\"recap\"]}}\\n\\n*Action Items:*\\n{{$json[\"user_todos\"].map(t => \"\u2022 \" + t.text).join(\"\\n\")}}",
        "otherOptions": {}
      },
      "id": "c3d4e5f6-a7b8-9012-cdef-345678901234",
      "name": "Send to Slack",
      "type": "n8n-nodes-base.slack",
      "typeVersion": 2.1,
      "position": [
        650,
        300
      ]
    }
  ],
  "connections": {
    "Hedy Trigger": {
      "main": [
        [
          {
            "node": "Get Session Details",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Session Details": {
      "main": [
        [
          {
            "node": "Send to Slack",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "staticData": null,
  "meta": {
    "templateId": "hedy-session-to-slack"
  },
  "tags": []
}