{
  "name": "Automate multi-channel customer support with Gmail, Telegram, and GPT AI",
  "nodes": [
    {
      "id": "696a1b2e-8f22-46ec-8fdd-3c7bb25f8429",
      "name": "📋 Workflow Guide",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        1040,
        660
      ],
      "parameters": {
        "width": 400,
        "height": 1040,
        "content": "## 🤖 Smart Customer Support AI Agent\n\n**Who is this for?**\nSmall to medium businesses, e-commerce stores, SaaS companies, and service providers who want to automate their customer support while mainta"
      }
    },
    {
      "id": "47324b70-8be7-4e92-a739-2ff60f37d14a",
      "name": "💬 Telegram Customer Message Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        1500,
        1220
      ]
    },
    {
      "id": "23ce0479-3ab0-4150-b893-3e08ed83fd73",
      "name": "📋 Process Telegram Message",
      "type": "n8n-nodes-base.set",
      "position": [
        1780,
        1240
      ]
    },
    {
      "id": "686affeb-1afb-45cf-b9b0-f3ba6c6ffb94",
      "name": "🤖 Telegram AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        2080,
        1180
      ]
    },
    {
      "id": "a5e67d73-73c2-4756-9c82-9c05c1dbc36a",
      "name": "🧠 OpenAI Chat Model - Telegram",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1900,
        1420
      ]
    },
    {
      "id": "bfa0f8a9-58cc-4c15-8d7e-d633c23e10a6",
      "name": "🧠 Telegram Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2080,
        1440
      ]
    },
    {
      "id": "64a05368-29f5-4333-b881-b0ba73e424cb",
      "name": "💬 Send Telegram Reply",
      "type": "n8n-nodes-base.telegram",
      "position": [
        2460,
        1120
      ]
    },
    {
      "id": "64c36c02-b56d-45dd-b3bf-4f49b3e14b5c",
      "name": "📧 Gmail Customer Inquiry Trigger",
      "type": "n8n-nodes-base.gmailTrigger",
      "position": [
        1540,
        720
      ]
    },
    {
      "id": "baf01d18-d626-4b5c-bbc9-ac45c83b8e0b",
      "name": "📋 Process Gmail Message",
      "type": "n8n-nodes-base.set",
      "position": [
        1740,
        720
      ]
    },
    {
      "id": "4d1c0b8a-9fed-4977-8ec4-91cb4460c2b6",
      "name": "🤖 Gmail AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        1940,
        720
      ]
    },
    {
      "id": "8da4c0b1-86b7-436b-8d73-e96d3777be29",
      "name": "🧠 OpenAI Chat Model - Gmail",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        1900,
        900
      ]
    },
    {
      "id": "b4cb3e8b-3d5c-49fb-9cc2-f46ffe4cd683",
      "name": "🧠 Gmail Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        2040,
        980
      ]
    },
    {
      "id": "442e8879-e6c3-4cd6-8f3b-3f64879047c1",
      "name": "📧 Send Gmail Reply",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2240,
        720
      ]
    },
    {
      "id": "668afdd0-f68b-45cb-afde-93ebaf7627d3",
      "name": "✅ Mark Gmail as Read",
      "type": "n8n-nodes-base.gmail",
      "position": [
        2480,
        620
      ]
    },
    {
      "id": "2233ac1c-b704-4485-a4dd-3d873fb04538",
      "name": "📊 Log Gmail Interaction",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2540,
        820
      ]
    },
    {
      "id": "6e641113-9da3-430c-873d-59fd0c2997fb",
      "name": "📊 Log Telegram Interaction",
      "type": "n8n-nodes-base.googleSheets",
      "position": [
        2760,
        960
      ]
    },
    {
      "id": "50ded0f7-2513-4515-8843-e24cb50c89ae",
      "name": "⚠️ Error Handling Info",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        3100,
        980
      ],
      "parameters": {
        "width": 300,
        "height": 280,
        "content": "## 🚨 Error Handling\n\nThis section handles any errors that occur during the workflow execution and notifies the admin team.\n\n**Features:**\n- Captures all workflow errors\n- Sends notifications to admin\n"
      }
    },
    {
      "id": "8634105f-1844-4e58-97f3-07697d86ac48",
      "name": "🚨 Error Trigger",
      "type": "n8n-nodes-base.errorTrigger",
      "position": [
        2760,
        1300
      ]
    },
    {
      "id": "807781dc-c1ac-4bca-b298-420a3a3d5c2c",
      "name": "📢 Notify Admin of Error",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        3020,
        1300
      ]
    },
    {
      "id": "4581974a-7e7c-4b61-b5c7-a6023ef931d0",
      "name": "Gmail Escalation Logger",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        2300,
        920
      ]
    },
    {
      "id": "d9f13fc4-0a68-4bee-a36f-67e779bef7fe",
      "name": "knowledge base",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        2180,
        1000
      ]
    },
    {
      "id": "dfaba1db-fc45-4c09-b83d-2413086f52d8",
      "name": "knowledge base1",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        2240,
        1440
      ]
    },
    {
      "id": "a79e16e6-409a-47b1-a7f9-60de7aac1700",
      "name": "Telegram Escalation Logger",
      "type": "n8n-nodes-base.googleSheetsTool",
      "position": [
        2420,
        1400
      ]
    }
  ],
  "connections": {
    "knowledge base": {
      "ai_tool": [
        [
          {
            "node": "🤖 Gmail AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "knowledge base1": {
      "ai_tool": [
        [
          {
            "node": "🤖 Telegram AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "🧠 Gmail Memory": {
      "ai_memory": [
        [
          {
            "node": "🤖 Gmail AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "🚨 Error Trigger": {
      "main": [
        [
          {
            "node": "📢 Notify Admin of Error",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🤖 Gmail AI Agent": {
      "main": [
        [
          {
            "node": "📧 Send Gmail Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧠 Telegram Memory": {
      "ai_memory": [
        [
          {
            "node": "🤖 Telegram AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "📧 Send Gmail Reply": {
      "main": [
        [
          {
            "node": "✅ Mark Gmail as Read",
            "type": "main",
            "index": 0
          },
          {
            "node": "📊 Log Gmail Interaction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🤖 Telegram AI Agent": {
      "main": [
        [
          {
            "node": "💬 Send Telegram Reply",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Gmail Escalation Logger": {
      "ai_tool": [
        [
          {
            "node": "🤖 Gmail AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "💬 Send Telegram Reply": {
      "main": [
        [
          {
            "node": "📊 Log Telegram Interaction",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Escalation Logger": {
      "ai_tool": [
        [
          {
            "node": "🤖 Telegram AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "📋 Process Gmail Message": {
      "main": [
        [
          {
            "node": "🤖 Gmail AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "📋 Process Telegram Message": {
      "main": [
        [
          {
            "node": "🤖 Telegram AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "🧠 OpenAI Chat Model - Gmail": {
      "ai_languageModel": [
        [
          {
            "node": "🤖 Gmail AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "🧠 OpenAI Chat Model - Telegram": {
      "ai_languageModel": [
        [
          {
            "node": "🤖 Telegram AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "📧 Gmail Customer Inquiry Trigger": {
      "main": [
        [
          {
            "node": "📋 Process Gmail Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "💬 Telegram Customer Message Trigger": {
      "main": [
        [
          {
            "node": "📋 Process Telegram Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}