{
  "name": "Automated lead capture & AI-personalized audio follow-up with OpenAI & ElevenLabs",
  "nodes": [
    {
      "id": "d3ffb26d-fcec-465a-88dc-aaf442edd83a",
      "name": "New Lead Captured",
      "type": "n8n-nodes-base.webhook",
      "position": [
        0,
        -448
      ]
    },
    {
      "id": "38020ecd-c026-4d92-9f8c-810beb66a894",
      "name": "Extract & Clean Lead Data",
      "type": "n8n-nodes-base.set",
      "position": [
        224,
        -448
      ]
    },
    {
      "id": "80cfc05f-7bd0-4de2-a3c3-4895a7f2b87d",
      "name": "AI Qualification & Summary",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        448,
        -448
      ]
    },
    {
      "id": "4ab5b06f-09f5-4323-8732-a4fe73c4b425",
      "name": "Parse AI Qualification",
      "type": "n8n-nodes-base.set",
      "position": [
        848,
        -448
      ]
    },
    {
      "id": "c2739e93-f38d-4e27-8b9f-e1e6b9bbb00e",
      "name": "Is Lead Qualified?",
      "type": "n8n-nodes-base.if",
      "position": [
        1072,
        -448
      ]
    },
    {
      "id": "96712f66-e70b-4c5d-9472-c9c566ff9948",
      "name": "Craft Personalized Audio Text",
      "type": "n8n-nodes-base.code",
      "position": [
        0,
        -80
      ]
    },
    {
      "id": "cf55d67e-5a32-4c14-a875-1108b881443a",
      "name": "Generate Personalized Audio",
      "type": "@elevenlabs/n8n-nodes-elevenlabs.elevenLabs",
      "position": [
        224,
        -80
      ]
    },
    {
      "id": "1c05fba7-f0f4-4aa3-8d88-abd96952399d",
      "name": "Upload Personalized Audio",
      "type": "n8n-nodes-base.googleDrive",
      "position": [
        448,
        -80
      ]
    },
    {
      "id": "3eb45ab7-88c2-4f15-94f8-dca9e265f2a9",
      "name": "Store Personalized Audio Link",
      "type": "n8n-nodes-base.set",
      "position": [
        672,
        -80
      ]
    },
    {
      "id": "a49e712d-b7af-463c-a377-7e16ea723493",
      "name": "Check CRM for Duplicate Lead",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        896,
        -80
      ]
    },
    {
      "id": "d6377fde-0146-4cd7-94a0-672810309355",
      "name": "Is Lead a Duplicate?",
      "type": "n8n-nodes-base.if",
      "position": [
        0,
        400
      ]
    },
    {
      "id": "d8525203-5676-4b35-b226-3889c0fbc1e5",
      "name": "Create Lead in CRM",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        224,
        496
      ]
    },
    {
      "id": "8200d6a8-3ee2-4ecd-866c-409403c9fc22",
      "name": "Update Lead in CRM",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        224,
        304
      ]
    },
    {
      "id": "5b63917c-18a6-4d9d-a5fa-037e4e8cc913",
      "name": "CRM Result",
      "type": "n8n-nodes-base.merge",
      "position": [
        448,
        400
      ]
    },
    {
      "id": "415196ec-9115-48e5-a765-ad2c515b33da",
      "name": "Send Personalized Follow-up",
      "type": "n8n-nodes-base.gmail",
      "position": [
        672,
        400
      ]
    },
    {
      "id": "ad952780-3fb0-476c-a5d8-9ab10de95f61",
      "name": "Notify Sales Team",
      "type": "n8n-nodes-base.slack",
      "position": [
        896,
        400
      ]
    },
    {
      "id": "a5fd37ee-e111-4892-800f-38a1152702d3",
      "name": "Log Lead Data",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1120,
        496
      ]
    },
    {
      "id": "9eccd3fc-ea8c-4b3c-b80f-e02a53066e44",
      "name": "Mark Lead as Unqualified",
      "type": "n8n-nodes-base.set",
      "position": [
        896,
        672
      ]
    },
    {
      "id": "b1899956-cfa7-4112-a4c0-5a7b442ef90d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -560
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "ff4bf564-afea-4e2a-a5d0-5899e1b99e17",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        -176
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "28f12b65-955f-40ad-8843-fada4b7c8de6",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -80,
        240
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "4eccaac1-5cab-4be6-8802-001e1e66d37e",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1360,
        -560
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "CRM Result": {
      "main": [
        [
          {
            "node": "Send Personalized Follow-up",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "New Lead Captured": {
      "main": [
        [
          {
            "node": "Extract & Clean Lead Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Notify Sales Team": {
      "main": [
        [
          {
            "node": "Log Lead Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Create Lead in CRM": {
      "main": [
        [
          {
            "node": "CRM Result",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Is Lead Qualified?": {
      "main": [
        [
          {
            "node": "Craft Personalized Audio Text",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Mark Lead as Unqualified",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Update Lead in CRM": {
      "main": [
        [
          {
            "node": "CRM Result",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Lead a Duplicate?": {
      "main": [
        [
          {
            "node": "Update Lead in CRM",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Create Lead in CRM",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Parse AI Qualification": {
      "main": [
        [
          {
            "node": "Is Lead Qualified?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Mark Lead as Unqualified": {
      "main": [
        [
          {
            "node": "Log Lead Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Extract & Clean Lead Data": {
      "main": [
        [
          {
            "node": "AI Qualification & Summary",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Personalized Audio": {
      "main": [
        [
          {
            "node": "Store Personalized Audio Link",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Qualification & Summary": {
      "main": [
        [
          {
            "node": "Parse AI Qualification",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Personalized Audio": {
      "main": [
        [
          {
            "node": "Upload Personalized Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send Personalized Follow-up": {
      "main": [
        [
          {
            "node": "Notify Sales Team",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check CRM for Duplicate Lead": {
      "main": [
        [
          {
            "node": "Is Lead a Duplicate?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Craft Personalized Audio Text": {
      "main": [
        [
          {
            "node": "Generate Personalized Audio",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Store Personalized Audio Link": {
      "main": [
        [
          {
            "node": "Check CRM for Duplicate Lead",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}