{
  "name": "Analyze BeyondPresence video calls with GPT-4o-mini and Google Sheets",
  "nodes": [
    {
      "id": "0fe49f1d-8883-4d61-88a5-d8b35068675e",
      "name": "Workflow Overview",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        176,
        0
      ],
      "parameters": {
        "width": 496,
        "height": 580,
        "content": "## 🎥 BeyondPresence Webhook Trigger\n\nThis workflow is triggered when a BeyondPresence video agent call ends. The webhook receives comprehensive call data including:\n\n- Call metadata (participant, dura"
      }
    },
    {
      "id": "0fd41ccd-19c3-49d9-a3de-2d08b9ea2628",
      "name": "Processing Steps",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        688,
        0
      ],
      "parameters": {
        "width": 568,
        "height": 580,
        "content": "## 🔍 Data Validation & AI Analysis\n\n1. **Validate & Enrich Data**: Ensures webhook data integrity and adds calculated fields\n2. **AI Call Analysis**: Uses OpenAI/OpenRouter to generate comprehensive c"
      }
    },
    {
      "id": "e4e8b581-aa56-4ed0-8c75-bb0a26eec3af",
      "name": "Data Storage",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1280,
        0
      ],
      "parameters": {
        "width": 392,
        "height": 580,
        "content": "## 📊 Google Sheets Setup\n\n**Quick Start**:\n1. Copy our template sheet:  https://docs.google.com/spreadsheets/d/1TO6-jkCtoSFNLJObtN0UyklgdUd3ZxEnUaNvUaBjpvo/copy\n2. After copying, get your new sheet's "
      }
    },
    {
      "id": "0df852bb-3c73-4a5c-acf6-d853b52f5c82",
      "name": "BeyondPresence Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        240,
        400
      ]
    },
    {
      "id": "7b3ebcb3-e292-432f-9db6-af2fba8f13ad",
      "name": "Validate & Enrich Data",
      "type": "n8n-nodes-base.code",
      "position": [
        752,
        400
      ]
    },
    {
      "id": "4593d36b-6879-42f7-ada2-1853e4c500aa",
      "name": "AI Call Analysis",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        944,
        400
      ]
    },
    {
      "id": "95b5df2f-9a6c-4e39-9442-5a7228d95bdb",
      "name": "Save to Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1504,
        400
      ]
    },
    {
      "id": "6084e6a2-3ef5-4968-88da-707fd75373b1",
      "name": "Extension Options",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1696,
        0
      ],
      "parameters": {
        "width": 320,
        "height": 580,
        "content": "## 🔔 Optional Extensions\n\n**Slack Notification**:\n- Send summary to team channel\n- Alert on negative sentiment\n- Notify about action items\n\n**Database Backup**:\n- Store in PostgreSQL/MySQL\n- Enable ad"
      }
    },
    {
      "id": "03ead4a1-3b18-4c48-8cc8-13021a7c2de4",
      "name": "Handle webhook event",
      "type": "n8n-nodes-beyondpresence.beyondPresence",
      "position": [
        480,
        400
      ]
    },
    {
      "id": "b50096f9-f930-4c06-9052-3fef621a2061",
      "name": "Parse AI Response",
      "type": "n8n-nodes-base.code",
      "position": [
        1312,
        400
      ]
    }
  ],
  "connections": {
    "AI Call Analysis": {
      "main": [
        [
          {
            "node": "Parse AI Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Response": {
      "main": [
        [
          {
            "node": "Save to Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Handle webhook event": {
      "main": [
        [
          {
            "node": "Validate & Enrich Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "BeyondPresence Webhook": {
      "main": [
        [
          {
            "node": "Handle webhook event",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Validate & Enrich Data": {
      "main": [
        [
          {
            "node": "AI Call Analysis",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}