{
  "name": "Analyze sales calls & route leads with GPT-4o, Airtable and Trello",
  "nodes": [
    {
      "id": "63ca83a8-ec91-443c-b299-f8ecbfabf003",
      "name": "Transcribe a recording",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        112,
        80
      ]
    },
    {
      "id": "f0b34c06-0c96-426d-8e75-27ba5ea0f3b0",
      "name": "Download file",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        -112,
        80
      ]
    },
    {
      "id": "f155c059-0b7d-44ca-a406-c47ddad8f748",
      "name": "Message a model",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        336,
        80
      ]
    },
    {
      "id": "865ca5c5-0511-40a9-ae02-3f54c5f15649",
      "name": "If",
      "type": "n8n-nodes-base.if",
      "position": [
        688,
        -16
      ]
    },
    {
      "id": "9f72f329-f9e5-41a9-b3a0-97d7a159d4cd",
      "name": "LLM Error",
      "type": "n8n-nodes-base.slack",
      "position": [
        688,
        176
      ]
    },
    {
      "id": "4b25146b-102a-4058-b26f-f1a3ba6baff9",
      "name": "\"Downsell\" prospect",
      "type": "n8n-nodes-base.gmail",
      "position": [
        976,
        336
      ]
    },
    {
      "id": "0e54f380-3b8c-44f6-bf7d-604d5a31503c",
      "name": "Error in sending mail",
      "type": "n8n-nodes-base.slack",
      "position": [
        1200,
        432
      ]
    },
    {
      "id": "974f0732-733e-4037-8f4e-e9d26770c603",
      "name": "Notify Slack channel",
      "type": "n8n-nodes-base.slack",
      "position": [
        1440,
        -208
      ]
    },
    {
      "id": "e11b5bae-bd27-4eb8-aba8-1c1349836877",
      "name": "Log in DB",
      "type": "n8n-nodes-base.airtable",
      "position": [
        2304,
        -96
      ]
    },
    {
      "id": "5563ecbf-bf5a-4e21-9daa-658a3024d268",
      "name": "Set Hot Status",
      "type": "n8n-nodes-base.set",
      "position": [
        1664,
        -208
      ]
    },
    {
      "id": "a4b253f5-2d0c-4304-b365-83c768bbf297",
      "name": "Set Warm Status",
      "type": "n8n-nodes-base.set",
      "position": [
        1648,
        240
      ]
    },
    {
      "id": "dba1b5b1-5a91-44bb-bf4e-7f5caca3dc74",
      "name": "Aggregate",
      "type": "n8n-nodes-base.aggregate",
      "position": [
        2080,
        -96
      ]
    },
    {
      "id": "f5b2b828-e9ff-4924-98d0-e537e80e7b33",
      "name": "Create warm lead",
      "type": "n8n-nodes-base.airtable",
      "position": [
        1200,
        240
      ]
    },
    {
      "id": "fddb597d-9ece-4a39-aeef-87c4676636d8",
      "name": "Create high priority card",
      "type": "n8n-nodes-base.trello",
      "position": [
        1216,
        -208
      ]
    },
    {
      "id": "50c2e83a-0bd2-4caa-944c-2b2cfd554f78",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -416,
        -64
      ],
      "parameters": {
        "width": 1056,
        "height": 352,
        "content": "## Phase 1: Ingestion & AI Intelligence\n\n**Overview:**\nThis section detects the call recording in Google Drive, transcribes it and extracts valuable information such as client name and budget among ot"
      }
    },
    {
      "id": "cb34d260-8f56-45d3-89c9-349cd2843b95",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        -400
      ],
      "parameters": {
        "width": 848,
        "height": 368,
        "content": "##  Phase 2A: Hot Lead Routing\n\n**Condition:** Budget ≥ $5,000 (High Intent)\n\n**Overview:**\nThis path ensures that hot leads are taken care of immediately. It logs data in the CRM, in the project mana"
      }
    },
    {
      "id": "2cec6cad-0c24-43b4-9bbe-74eb3d920cdc",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        944,
        32
      ],
      "parameters": {
        "width": 880,
        "height": 560,
        "content": "##  Phase 2B: Warm Lead Routing (Downsell)\n\n**Condition:** Budget < $5,000 (Low Budget / Price Sensitive)\n\n**Overview:**\nThis path sells the lead on a cheaper alternative if his/her budget falls below"
      }
    },
    {
      "id": "d174f743-0492-4f1f-92be-03c4bd3b7b1f",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1968,
        -240
      ],
      "parameters": {
        "width": 544,
        "height": 320,
        "content": "##  Phase 3: Consolidation & System Logging\n\n**Overview:**\nThis section logs the whole workflow execution in Airtable. Useful for debugging."
      }
    },
    {
      "id": "bbafb86e-efdf-48be-a15a-a9b7480d4852",
      "name": "Create low priority card",
      "type": "n8n-nodes-base.trello",
      "position": [
        1424,
        240
      ]
    },
    {
      "id": "a7577176-b6d4-4b3d-9624-71d1f517de61",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1280,
        -352
      ],
      "parameters": {
        "width": 784,
        "height": 832,
        "content": "## AI Sales Analyst & Lead Router\n\n### This n8n template handles the post-call process for your business. It uses the call recording to extract valuable data and handles the prospect based on their bu"
      }
    },
    {
      "id": "e108ad92-9f59-45ea-8f84-5b86018dc69c",
      "name": "On new sales call upload",
      "type": "n8n-nodes-base.googleDriveTrigger",
      "position": [
        -336,
        80
      ]
    },
    {
      "id": "fd5cf48f-2e2c-4e1e-901b-be84ffb92f2d",
      "name": "Create hot lead",
      "type": "n8n-nodes-base.airtable",
      "position": [
        992,
        -208
      ]
    }
  ],
  "connections": {
    "If": {
      "main": [
        [
          {
            "node": "Create hot lead",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "\"Downsell\" prospect",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Aggregate": {
      "main": [
        [
          {
            "node": "Log in DB",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Download file": {
      "main": [
        [
          {
            "node": "Transcribe a recording",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Hot Status": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create hot lead": {
      "main": [
        [
          {
            "node": "Create high priority card",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Message a model": {
      "main": [
        [
          {
            "node": "If",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "LLM Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Set Warm Status": {
      "main": [
        [
          {
            "node": "Aggregate",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create warm lead": {
      "main": [
        [
          {
            "node": "Create low priority card",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "\"Downsell\" prospect": {
      "main": [
        [
          {
            "node": "Create warm lead",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Error in sending mail",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Slack channel": {
      "main": [
        [
          {
            "node": "Set Hot Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe a recording": {
      "main": [
        [
          {
            "node": "Message a model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create low priority card": {
      "main": [
        [
          {
            "node": "Set Warm Status",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "On new sales call upload": {
      "main": [
        [
          {
            "node": "Download file",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create high priority card": {
      "main": [
        [
          {
            "node": "Notify Slack channel",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}