{
  "name": "Multi-channel AI appointment confirmation with GPT-4, ElevenLabs & Twilio",
  "nodes": [
    {
      "id": "837dcb4c-236e-42a3-9f11-091d43b37698",
      "name": "Respond to Webhook",
      "type": "n8n-nodes-base.respondToWebhook",
      "position": [
        820,
        -560
      ]
    },
    {
      "id": "8fa84b4e-eb84-4015-a365-34989ae260b3",
      "name": "Postgres",
      "type": "n8n-nodes-base.postgres",
      "position": [
        240,
        -680
      ]
    },
    {
      "id": "ecabd223-06e2-460b-b527-5e18a37f2912",
      "name": "Parameter Extaction",
      "type": "n8n-nodes-base.code",
      "position": [
        -400,
        20
      ]
    },
    {
      "id": "f5e6cafd-acdc-431c-beec-b5659cb2ed4a",
      "name": "Send Confirmation Text",
      "type": "n8n-nodes-base.twilio",
      "position": [
        1760,
        580
      ]
    },
    {
      "id": "0f6ed212-4689-4a4f-9fd8-49c41a489838",
      "name": "Send to Cristiano",
      "type": "n8n-nodes-base.gmail",
      "position": [
        300,
        -460
      ]
    },
    {
      "id": "462ee83e-ed9b-4d0a-a149-1ae7dc413c9a",
      "name": "Create Calendar Event",
      "type": "n8n-nodes-base.googleCalendar",
      "position": [
        460,
        -40
      ]
    },
    {
      "id": "3de8e8d3-06cc-4c1a-a060-5c99f94a5aae",
      "name": "ElevenLabs Dynamic Message",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        520,
        560
      ]
    },
    {
      "id": "09a9909c-d996-4ae4-82d2-4d54f97e3acc",
      "name": "Add Audio to URL",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1000,
        840
      ]
    },
    {
      "id": "88a34e10-3d51-4a6a-bdf7-fd3c0eb58eb8",
      "name": "Voice Message Crafter",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -100,
        240
      ]
    },
    {
      "id": "8a5d3119-a38c-4b08-8ef9-35861a8f0ad7",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        -160,
        440
      ]
    },
    {
      "id": "fcc457b6-92ee-44c1-90ab-592575250b9f",
      "name": "Rename",
      "type": "n8n-nodes-base.code",
      "position": [
        780,
        740
      ]
    },
    {
      "id": "e5900676-6952-4eac-80ca-e26a2542f3af",
      "name": "Webhook",
      "type": "n8n-nodes-base.webhook",
      "position": [
        -840,
        280
      ]
    },
    {
      "id": "582fd855-b838-4c9a-9983-bf11baf4904a",
      "name": "Merge",
      "type": "n8n-nodes-base.merge",
      "position": [
        1220,
        580
      ]
    },
    {
      "id": "733b5521-4046-4ede-975f-780216dd6281",
      "name": "Escape",
      "type": "n8n-nodes-base.code",
      "position": [
        260,
        460
      ]
    },
    {
      "id": "b31ad315-666b-4339-9280-a35170bc5cb9",
      "name": "Send to Client",
      "type": "n8n-nodes-base.gmail",
      "position": [
        380,
        -240
      ]
    },
    {
      "id": "04a8f097-7fdb-43ff-b9a4-13e2b51013ae",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        740,
        80
      ]
    },
    {
      "id": "3e28b693-3c77-42a3-b539-d3c72b61c79b",
      "name": "OpenAI Chat Model1",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        680,
        280
      ]
    },
    {
      "id": "cbd1088d-7872-4def-b609-e34562efa5eb",
      "name": "Structured Output Parser",
      "type": "@n8n/n8n-nodes-langchain.outputParserStructured",
      "position": [
        960,
        280
      ]
    },
    {
      "id": "ee199907-e28f-4319-8c8c-95e9b3dd08bd",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1180,
        -180
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    },
    {
      "id": "661e09b1-f6b6-47b4-bca4-af1897f6401d",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1060,
        -20
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": ""
      }
    }
  ],
  "connections": {
    "Merge": {
      "main": [
        [
          {
            "node": "Send Confirmation Text",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Escape": {
      "main": [
        [
          {
            "node": "ElevenLabs Dynamic Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Rename": {
      "main": [
        [
          {
            "node": "Add Audio to URL",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook": {
      "main": [
        [
          {
            "node": "Parameter Extaction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Postgres": {
      "main": [
        [
          {
            "node": "Respond to Webhook",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add Audio to URL": {
      "main": [
        [
          {
            "node": "Merge",
            "type": "main",
            "index": 2
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Voice Message Crafter",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model1": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Parameter Extaction": {
      "main": [
        [
          {
            "node": "Postgres",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send to Cristiano",
            "type": "main",
            "index": 0
          },
          {
            "node": "Voice Message Crafter",
            "type": "main",
            "index": 0
          },
          {
            "node": "Create Calendar Event",
            "type": "main",
            "index": 0
          },
          {
            "node": "Send to Client",
            "type": "main",
            "index": 0
          },
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          },
          {
            "node": "Merge",
            "type": "main",
            "index": 1
          }
        ]
      ]
    },
    "Create Calendar Event": {
      "main": [
        []
      ]
    },
    "Voice Message Crafter": {
      "main": [
        [
          {
            "node": "Escape",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Structured Output Parser": {
      "ai_outputParser": [
        [
          {
            "node": "AI Agent",
            "type": "ai_outputParser",
            "index": 0
          }
        ]
      ]
    },
    "ElevenLabs Dynamic Message": {
      "main": [
        [
          {
            "node": "Rename",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}