{
  "name": "Automated patient response system with GPT-3.5 and Google Sheets for dental clinics",
  "nodes": [
    {
      "id": "b00450c4-4bf7-4d87-a2c4-dbdf3afc5638",
      "name": "Google Sheets Trigger",
      "type": "n8n-nodes-base.googleSheetsTrigger",
      "position": [
        -16,
        48
      ]
    },
    {
      "id": "873655e8-0f44-4583-9314-42b8493c41e0",
      "name": "Wait",
      "type": "n8n-nodes-base.wait",
      "position": [
        256,
        48
      ]
    },
    {
      "id": "7fe90709-0b71-413d-a580-28f97b8cb483",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -816,
        -528
      ],
      "parameters": {
        "width": 464,
        "height": 240,
        "content": "## ⚠️ The Problem\n**Dental clinics lose many new leads.\n\nPatients submit forms (teeth whitening, Invisalign, implants, etc.) but:\n\nThey only get a generic thank-you (not engaging).\n\nBy the time the cl"
      }
    },
    {
      "id": "4c2bd99e-ed16-4e45-b35f-faa07191f274",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        528,
        48
      ]
    },
    {
      "id": "800070a1-e597-4e9e-a648-76c2e7360e0d",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        496,
        -144
      ]
    },
    {
      "id": "d4667734-2bd0-4a0d-a35f-cf286ea976d0",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        736,
        -144
      ]
    },
    {
      "id": "697650aa-7639-49ba-a49a-c1bd04186d46",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        624,
        -144
      ]
    },
    {
      "id": "ac13787d-2893-4572-bcb9-d6632008d4e4",
      "name": "Send a message",
      "type": "n8n-nodes-base.gmail",
      "position": [
        944,
        -48
      ]
    },
    {
      "id": "b79c7074-b933-495f-9475-6192f40c6284",
      "name": "Send a message1",
      "type": "n8n-nodes-base.gmail",
      "position": [
        960,
        160
      ]
    },
    {
      "id": "6d27638f-ce3d-48b7-98ea-b4ea5c1b45f6",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -224,
        -80
      ],
      "parameters": {
        "width": 512,
        "height": 128,
        "content": "##  Trigger\n⚡ Fires when a new patient submits the form.\nform is: https://docs.google.com/forms/u/0/d/e/1FAIpQLSevL3LaoKWTLuekELB0Mrp6k5jVh5WZockkdv0Lefn1_YjtXg/formResponse"
      }
    },
    {
      "id": "fd709424-75ff-4c66-950f-4753471428aa",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -192,
        208
      ],
      "parameters": {
        "width": 304,
        "height": 192,
        "content": "## 📊 Save every lead for clinic records."
      }
    },
    {
      "id": "4de5d999-378f-45f4-80fb-bc1b0d84643b",
      "name": "Sticky Note3",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        432,
        -288
      ],
      "parameters": {
        "width": 432,
        "height": 592,
        "content": "## AI AGENT \n🤖 Generate friendly, personalized welcome message."
      }
    },
    {
      "id": "b4a45166-fe5e-46b2-95b0-e6841986908e",
      "name": "Sticky Note4",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        -64
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## Patient Notification\n \n**SEND** 📧 personalized welcome email ,appointment notification,immediately."
      }
    },
    {
      "id": "f5247169-9177-47d0-984d-29b2afca881b",
      "name": "Sticky Note5",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1152,
        192
      ],
      "parameters": {
        "width": null,
        "height": null,
        "content": "## Dentist Notification\n \n**SEND** 📧 personalized welcome email ,appointment notification,immediately."
      }
    }
  ],
  "connections": {
    "Wait": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Think": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "Send a message1",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Send a message1": {
      "main": [
        [
          {
            "node": "Send a message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Google Sheets Trigger": {
      "main": [
        [
          {
            "node": "Wait",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}