{
  "name": "AI sales assistant with GPT & Claude: qualify leads, book meetings",
  "nodes": [
    {
      "id": "aba936e6-d3b5-4561-ab4e-42357f690509",
      "name": "When chat message received",
      "type": "@n8n/n8n-nodes-langchain.chatTrigger",
      "position": [
        448,
        -320
      ]
    },
    {
      "id": "b8aa95b2-280a-4892-b8be-7857fcfe4c50",
      "name": "Google Calendar1",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1200,
        304
      ]
    },
    {
      "id": "1aa9f367-02b7-40aa-8360-f0b4cf1540ac",
      "name": "Send a message in Gmail",
      "type": "n8n-nodes-base.gmailTool",
      "position": [
        1360,
        304
      ]
    },
    {
      "id": "26c50dd8-d049-4c30-8ce5-80fdfe4289fa",
      "name": "Simple Memory2",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        1056,
        304
      ]
    },
    {
      "id": "2441f496-c35f-4a09-8493-bc6627e935a3",
      "name": "Get a document in Google Docs",
      "type": "n8n-nodes-base.googleDocsTool",
      "position": [
        432,
        80
      ]
    },
    {
      "id": "6daedf00-e0a1-4792-88d1-44677b7c4baa",
      "name": "Append or update row in sheet in Google Sheets",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        592,
        80
      ]
    },
    {
      "id": "46869f84-48b8-49ad-90ef-c3f204ac0d21",
      "name": "Get booked Appointments from Google Calendar",
      "type": "n8n-nodes-base.googleCalendarTool",
      "position": [
        1520,
        288
      ]
    },
    {
      "id": "be6600f6-6563-4326-9892-c760b99ad8ee",
      "name": "Check Calander & Book Meeting and send email",
      "type": "@n8n/n8n-nodes-langchain.agentTool",
      "position": [
        1024,
        64
      ]
    },
    {
      "id": "0e7ed2d1-eb66-4014-9286-42733580b762",
      "name": "OpenRouter Chat Model4",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        912,
        304
      ]
    },
    {
      "id": "1528d55d-a7ff-47c6-98ba-d8cc1f0dba8a",
      "name": "Code",
      "type": "n8n-nodes-base.code",
      "position": [
        1024,
        -320
      ]
    },
    {
      "id": "594ef008-5597-4d07-8768-b3c533b67197",
      "name": "Checking History",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        736,
        80
      ]
    },
    {
      "id": "38c89145-cd2e-4472-a9cd-d60a69ada983",
      "name": "Simple Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        288,
        80
      ]
    },
    {
      "id": "4c1d36e5-0662-45ff-b13a-5b01bed5c228",
      "name": "OpenRouter Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenRouter",
      "position": [
        144,
        80
      ]
    },
    {
      "id": "2fd5e8d4-fe42-4fbe-9a1d-22a1af775aad",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        688,
        -320
      ]
    },
    {
      "id": "786d0c60-92bf-420e-b8b7-d67439526929",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        304,
        -544
      ],
      "parameters": {
        "width": 368,
        "height": 208,
        "content": "STEP 1: Chat Interaction & Lead Qualification\n\nThis section handles initial chat interactions and qualifies visitors interested in AI automation services. The AI agent acts as \"Hassan\" to engage users"
      }
    },
    {
      "id": "740a0e83-a659-4754-b5e4-2b13f3097850",
      "name": "Sticky Note1",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1296,
        -32
      ],
      "parameters": {
        "width": 400,
        "height": 208,
        "content": "STEP 2: Calendar Management & Meeting Booking\n\nWhen users show interest, this section checks calendar availability and books meetings automatically. It uses a specialized AI agent for calendar operati"
      }
    },
    {
      "id": "607a3317-7117-453e-9b92-783285215e1c",
      "name": "Sticky Note2",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        976,
        -496
      ],
      "parameters": {
        "width": 352,
        "height": null,
        "content": "STEP 3: Response Processing & Data Management\n\nThis final section processes the AI agent's output, formats responses for the website, and maintains data integrity across all customer interactions and "
      }
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Code",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Simple Memory2": {
      "ai_memory": [
        [
          {
            "node": "Check Calander & Book Meeting and send email",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Checking History": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Google Calendar1": {
      "ai_tool": [
        [
          {
            "node": "Check Calander & Book Meeting and send email",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "OpenRouter Chat Model4": {
      "ai_languageModel": [
        [
          {
            "node": "Check Calander & Book Meeting and send email",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Send a message in Gmail": {
      "ai_tool": [
        [
          {
            "node": "Check Calander & Book Meeting and send email",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "When chat message received": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get a document in Google Docs": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Check Calander & Book Meeting and send email": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Get booked Appointments from Google Calendar": {
      "ai_tool": [
        [
          {
            "node": "Check Calander & Book Meeting and send email",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Append or update row in sheet in Google Sheets": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    }
  }
}