{
  "name": "Telegram/WhatsApp AI Assistant",
  "nodes": [
    {
      "parameters": {},
      "id": "77ab7733-8070-4fc5-bf9e-9368594f18f6",
      "name": "When clicking 'Test workflow'",
      "type": "n8n-nodes-base.manualTrigger",
      "typeVersion": 1,
      "position": [
        0,
        200
      ]
    },
    {
      "parameters": {},
      "id": "ee730cfc-2501-4883-a5a4-ecf5b9b782b9",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        250,
        200
      ]
    },
    {
      "parameters": {},
      "id": "f4139dd6-abcd-4a6c-9824-ff20834d0dd2",
      "name": "Webhook (WhatsApp)",
      "type": "n8n-nodes-base.webhook",
      "typeVersion": 1,
      "position": [
        500,
        200
      ]
    },
    {
      "parameters": {},
      "id": "ad23ed65-70e8-4d64-8fab-8017bef52ad1",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "typeVersion": 1,
      "position": [
        750,
        200
      ]
    },
    {
      "parameters": {},
      "id": "46527eed-4aef-4afe-bfa4-89ba9809af67",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "typeVersion": 1,
      "position": [
        1000,
        200
      ]
    },
    {
      "parameters": {},
      "id": "dfb198ba-33f2-4d8d-a91e-521127b6f942",
      "name": "Vector Store Tool",
      "type": "n8n-nodes-base.noOp",
      "typeVersion": 1,
      "position": [
        1250,
        200
      ]
    },
    {
      "parameters": {},
      "id": "b2eced25-7233-42af-bea2-9afdf4a2feaf",
      "name": "HTTP Request (WhatsApp reply)",
      "type": "n8n-nodes-base.httpRequest",
      "typeVersion": 1,
      "position": [
        1500,
        200
      ]
    },
    {
      "parameters": {},
      "id": "2cec766f-2aeb-4fe9-9563-c704a2b53ad5",
      "name": "Telegram (send)",
      "type": "n8n-nodes-base.telegram",
      "typeVersion": 1,
      "position": [
        1750,
        200
      ]
    },
    {
      "parameters": {},
      "id": "9078dd1e-221b-4584-9e4b-01d8b3b54bff",
      "name": "Google Sheets",
      "type": "n8n-nodes-base.googleSheets",
      "typeVersion": 1,
      "position": [
        2000,
        200
      ]
    },
    {
      "parameters": {
        "content": "## Telegram/WhatsApp AI Assistant\n\nDownloaded from ZeeGrowth.com — free under MIT license.\n\nhttps://zeegrowth.com/templates/telegram-whatsapp-ai-assistant/\n\n⚠️ Replace all placeholder credentials with your own before activating.",
        "width": 350,
        "height": 180
      },
      "id": "fb597447-4d0e-487b-8a9f-70a08f4a5f0c",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "typeVersion": 1,
      "position": [
        0,
        -50
      ]
    }
  ],
  "connections": {
    "When clicking 'Test workflow'": {
      "main": [
        [
          {
            "node": "Telegram Trigger",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Webhook (WhatsApp)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Webhook (WhatsApp)": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "AI Agent": {
      "main": [
        [
          {
            "node": "OpenAI Chat Model",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "main": [
        [
          {
            "node": "Vector Store Tool",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Vector Store Tool": {
      "main": [
        [
          {
            "node": "HTTP Request (WhatsApp reply)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "HTTP Request (WhatsApp reply)": {
      "main": [
        [
          {
            "node": "Telegram (send)",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram (send)": {
      "main": [
        [
          {
            "node": "Google Sheets",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  },
  "active": false,
  "settings": {
    "executionOrder": "v1"
  },
  "meta": {
    "templateCredsSetupCompleted": true
  },
  "pinData": {},
  "versionId": "1.0",
  "tags": [
    {
      "name": "ZeeGrowth",
      "id": "zeegrowth"
    }
  ]
}
