{
  "name": "Meeting Notes \u2192 CRM (ClarioAI)",
  "nodes": [
    {
      "parameters": {
        "path": "fireflies-transcript-ready"
      },
      "name": "Webhook (Fireflies/tldv)",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        240,
        300
      ]
    },
    {
      "parameters": {
        "jsCode": "// Placeholder: fetch full transcript by id\nreturn $input.all();"
      },
      "name": "Fetch Transcript",
      "type": "n8n-nodes-base.code",
      "typeVersion": 2,
      "position": [
        460,
        300
      ]
    },
    {
      "parameters": {
        "model": "gpt-5-mini",
        "messages": {
          "messageValues": [
            {
              "role": "system",
              "message": "Extract action items and next steps as JSON: {items: [{owner, task, due}], summary}"
            }
          ]
        }
      },
      "name": "AI Extract",
      "type": "n8n-nodes-base.openAi",
      "typeVersion": 1,
      "position": [
        680,
        300
      ]
    },
    {
      "parameters": {},
      "name": "Update CRM Contact",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 4,
      "position": [
        900,
        300
      ]
    }
  ],
  "connections": {
    "Webhook (Fireflies/tldv)": {
      "main": [
        [
          {
            "node": "Fetch Transcript",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Fetch Transcript": {
      "main": [
        [
          {
            "node": "AI Extract",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Extract": {
      "main": [
        [
          {
            "node": "Update CRM Contact",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "source": "ClarioAI \u2014 clarioai.ca"
  }
}