{
  "name": "Handle Spanish-speaking vet clinic bookings with GPT-4o, Sheets, Calendar and Gmail",
  "nodes": [
    {
      "id": "",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        2272,
        -544
      ]
    },
    {
      "id": "eba8a2e5-9860-4f58-a5db-51c48f80eca2",
      "name": "Normalize",
      "type": "n8n-nodes-base.set",
      "position": [
        2512,
        -544
      ]
    },
    {
      "id": "34b16c60-0b60-4b4e-a62a-504f3d3922e6",
      "name": "Update event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        3216,
        -208
      ]
    },
    {
      "id": "f36c8bec-06bb-4dd3-88fb-cbbe349ba666",
      "name": "Delete event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        3344,
        -208
      ]
    },
    {
      "id": "82866b61-d6b1-4775-87b2-482004963868",
      "name": "Create event",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        3088,
        -208
      ]
    },
    {
      "id": "888d1e0f-53b7-43f8-bda1-2b1d9ce9e74e",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2576,
        -192
      ]
    },
    {
      "id": "051ec537-9d2d-4253-8844-cd255439d822",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        2240,
        -192
      ]
    },
    {
      "id": "756c9aae-094b-441e-a627-5742132c1a81",
      "name": "Get events",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        2976,
        -208
      ]
    },
    {
      "id": "1d0a7dcb-d904-47e5-920c-eebe65532027",
      "name": "New client?",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        2720,
        -208
      ]
    },
    {
      "id": "da321299-e79a-4ea8-8b47-fe38ca5cfd48",
      "name": "María",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2736,
        -544
      ]
    },
    {
      "id": "e02fc04c-1440-4494-b85c-c4cceb2e0409",
      "name": "Add client",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        2848,
        -208
      ]
    },
    {
      "id": "3894a194-40c3-430d-9f94-b6ca86ffdc2d",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        2416,
        -192
      ]
    },
    {
      "id": "7341ca34-fe9d-497f-852f-3812f37bc524",
      "name": "Send a message in Gmail",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        3488,
        -208
      ]
    },
    {
      "id": "3cfb165e-b9c9-4ea8-a056-e806891aeab4",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1936,
        -992
      ],
      "parameters": {
        "width": 592,
        "height": 208,
        "content": "## AI Appointment Agent (Maria) – Vet Clinic Demo (Spanish speaking)\nPURPOSE: Autonomous booking, rescheduling, and lead capture via n8n Chat.\nMODELS: GPT-4o (Primary) + GPT-4o-mini/GPT-5-mini (Fallba"
      }
    },
    {
      "id": "33c9074f-e965-41bd-bfb3-12ab34b9cb4c",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2192,
        -624
      ],
      "parameters": {
        "width": 464,
        "height": 240,
        "content": "## DATA INGESTION"
      }
    },
    {
      "id": "dcc0a661-6e45-4d1a-88fe-0b0e6a4e9b01",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2704,
        -624
      ],
      "parameters": {
        "width": 352,
        "height": 240,
        "content": "## AI ORCHESTRATION"
      }
    },
    {
      "id": "9998ea35-831c-440c-a431-8d79c5db5cde",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2192,
        -256
      ],
      "parameters": {
        "width": 496,
        "height": 304,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## AI ORCHESTRATION"
      }
    },
    {
      "id": "1dd2bb18-62ec-4759-bb54-dd3d65ddc502",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2704,
        -256
      ],
      "parameters": {
        "width": 256,
        "height": 304,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## CLIENT DATABASE"
      }
    },
    {
      "id": "f6f01bde-318e-4f18-85f9-102462d9df8e",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2976,
        -256
      ],
      "parameters": {
        "width": 464,
        "height": 304,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## APPOINTMENT MANAGEMENT"
      }
    },
    {
      "id": "0d121dcf-b76f-41a7-b2a6-e3723d14b4d9",
      "name": "Sticky Note6",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3456,
        -256
      ],
      "parameters": {
        "width": 352,
        "height": 304,
        "content": "\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n## ESCALATION & FEEDBACK"
      }
    },
    {
      "id": "ffb12d17-7d33-4187-8e98-f849d1a0fa6d",
      "name": "Sticky Note7",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1440,
        -736
      ],
      "parameters": {
        "width": 592,
        "height": 800,
        "content": "## 🛠️ SETUP & CONFIGURATION (READ FIRST)\n\n1. PREREQUISITES:\n\nCredentials: You will need to connect your Google Sheets, Google Calendar, and Gmail accounts.\n\nAPI Key: An OpenRouter API Key is required "
      }
    },
    {
      "id": "27b45ecc-d59b-4056-9ef3-c7d5210878a3",
      "name": "Workflow Error Handler",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        2192,
        288
      ]
    },
    {
      "id": "ab9d91b8-1e16-4b71-8f4d-94e2ac176804",
      "name": "Notify: Workflow Error",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2416,
        288
      ]
    },
    {
      "id": "8331bde0-f7fe-4858-849d-09674e921ee0",
      "name": "Sticky Note8",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        2112,
        192
      ],
      "parameters": {
        "width": 496,
        "height": 320,
        "content": "## ERROR HANDLER"
      }
    }
  ],
  "connections": {
    "María": {
      "main": [
        []
      ]
    },
    "Normalize": {
      "main": [
        [
          {
            "node": "María",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Add client": {
      "ai_tool": [
        [
          {
            "node": "María",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get events": {
      "ai_tool": [
        [
          {
            "node": "María",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "New client?": {
      "ai_tool": [
        [
          {
            "node": "María",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Create event": {
      "ai_tool": [
        [
          {
            "node": "María",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Delete event": {
      "ai_tool": [
        [
          {
            "node": "María",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Update event": {
      "ai_tool": [
        [
          {
            "node": "María",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "María",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "María",
            "type": "ai_languageModel",
            "index": 1
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "María",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Workflow Error Handler": {
      "main": [
        [
          {
            "node": "Notify: Workflow Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Send a message in Gmail": {
      "ai_tool": [
        [
          {
            "node": "María",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "Normalize",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}