{
  "name": "Create multilingual voice calling bot with GPT-4o, ElevenLabs & Twilio",
  "nodes": [
    {
      "id": "webhook-start",
      "name": "Twilio Voice Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        240,
        300
      ]
    },
    {
      "id": "check-speech-input",
      "name": "Check Speech Input",
      "type": "n8n-nodes-base.if",
      "position": [
        460,
        300
      ]
    },
    {
      "id": "openai-gpt",
      "name": "OpenAI GPT-4o Response",
      "type": "n8n-nodes-base.openAi",
      "position": [
        680,
        200
      ]
    },
    {
      "id": "elevenlabs-tts",
      "name": "ElevenLabs Text-to-Speech",
      "type": "n8n-nodes-base.elevenLabs",
      "position": [
        900,
        200
      ]
    },
    {
      "id": "upload-audio",
      "name": "Upload Audio to Storage",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1120,
        200
      ]
    },
    {
      "id": "twilio-response",
      "name": "Twilio TwiML Response",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        1340,
        200
      ]
    },
    {
      "id": "initial-greeting",
      "name": "Initial Greeting",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        680,
        400
      ]
    },
    {
      "id": "log-conversation",
      "name": "Log Conversation",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        900,
        400
      ]
    },
    {
      "id": "check-appointment",
      "name": "Check for Appointment",
      "type": "n8n-nodes-base.if",
      "position": [
        1120,
        400
      ]
    },
    {
      "id": "save-appointment",
      "name": "Save Appointment Request",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        1340,
        500
      ]
    }
  ],
  "connections": {
    "Log Conversation": {
      "main": [
        [
          {
            "node": "Check for Appointment",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check Speech Input": {
      "main": [
        [
          {
            "node": "OpenAI GPT-4o Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Initial Greeting",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Twilio Voice Webhook": {
      "main": [
        [
          {
            "node": "Check Speech Input",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Check for Appointment": {
      "main": [
        [
          {
            "node": "Save Appointment Request",
            "type": "main",
            "index": 0
          }
        ],
        []
      ]
    },
    "OpenAI GPT-4o Response": {
      "main": [
        [
          {
            "node": "ElevenLabs Text-to-Speech",
            "type": "main",
            "index": 0
          },
          {
            "node": "Log Conversation",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Upload Audio to Storage": {
      "main": [
        [
          {
            "node": "Twilio TwiML Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ElevenLabs Text-to-Speech": {
      "main": [
        [
          {
            "node": "Upload Audio to Storage",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}