{
  "name": "🎙️ VoiceFlow AI: Telegram + Deepgram + OpenAI + Supabase audio assistant",
  "nodes": [
    {
      "id": "ccbc26b7-4e64-467f-844f-287bb51d201b",
      "name": "Transcribe with Deepgram",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1040,
        -420
      ]
    },
    {
      "id": "42cb24ce-0ec0-4e29-961f-6aa3271e57c0",
      "name": "Download Voice File",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        680,
        -420
      ]
    },
    {
      "id": "cf10e5a6-08ce-4d6f-bda2-079e4d0cc51f",
      "name": "Get File Path",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        760,
        -280
      ]
    },
    {
      "id": "220308ea-8c89-4353-9b41-976feada6d30",
      "name": "Prepare Voice Message Data",
      "type": "n8n-nodes-base.set",
      "position": [
        460,
        -280
      ]
    },
    {
      "id": "8c1732d1-b1d6-492e-a1c8-ed73000fc2ac",
      "name": "Prepare Text Message Data",
      "type": "n8n-nodes-base.set",
      "position": [
        260,
        100
      ]
    },
    {
      "id": "419734f9-3f9f-46de-a721-8e0ffb71ca0c",
      "name": "Knowledge base",
      "type": "n8n-nodes-base.supabaseTool",
      "position": [
        980,
        320
      ]
    },
    {
      "id": "3ecb0359-7f32-4cb8-a8a7-692b3430df11",
      "name": "Telegram Memory",
      "type": "@n8n/n8n-nodes-langchain.memoryBufferWindow",
      "position": [
        780,
        320
      ]
    },
    {
      "id": "c0bba125-8492-4bde-a8e3-7fc1733b6d9d",
      "name": "OpenAI Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatOpenAi",
      "position": [
        580,
        300
      ]
    },
    {
      "id": "c0d3076c-ae1f-4fa9-85f5-1ecbcc67a91f",
      "name": "AI Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        760,
        100
      ]
    },
    {
      "id": "763b8a6a-0a33-48a9-a18f-5098fe35e5cc",
      "name": "Has Transcript?",
      "type": "n8n-nodes-base.if",
      "position": [
        1080,
        -160
      ]
    },
    {
      "id": "8f702d09-8595-4d79-bc7d-442f0a41052e",
      "name": "Is Voice Message?",
      "type": "n8n-nodes-base.if",
      "position": [
        240,
        -140
      ]
    },
    {
      "id": "a1747da7-7e04-4766-b9bd-b3d838f956dc",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -20,
        -140
      ]
    },
    {
      "id": "69cdbf6f-ee97-494a-9f3c-a99ddc917093",
      "name": "Generate Audio Response",
      "type": "n8n-nodes-base.httpRequest",
      "position": [
        1420,
        -40
      ]
    },
    {
      "id": "e67b288f-1946-430b-9a45-0e62283c1d6b",
      "name": "Send Audio Response",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1680,
        -80
      ]
    },
    {
      "id": "8e409205-cad6-41a9-81cf-177c054a7b12",
      "name": "Workflow Guide",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -580,
        -500
      ],
      "parameters": {
        "width": 360,
        "height": 1160,
        "content": "## 🎙️ VoiceFlow AI: Telegram + Deepgram + OpenAI + Supabase Audio Assistant\n\n**Who is this for?**\nBusinesses, customer service teams, content creators, and organizations who want to provide intelligen"
      }
    },
    {
      "id": "f0600a4a-5671-4cbf-9769-b7a3fcb64474",
      "name": "Was Voice Input?",
      "type": "n8n-nodes-base.if",
      "position": [
        1120,
        100
      ]
    },
    {
      "id": "d0d0d41a-fa55-4e6b-8b7f-c52904af284e",
      "name": "Send Text Response",
      "type": "n8n-nodes-base.telegram",
      "position": [
        1460,
        180
      ]
    }
  ],
  "connections": {
    "AI Agent": {
      "main": [
        [
          {
            "node": "Was Voice Input?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get File Path": {
      "main": [
        [
          {
            "node": "Download Voice File",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Knowledge base": {
      "ai_tool": [
        [
          {
            "node": "AI Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Has Transcript?": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Memory": {
      "ai_memory": [
        [
          {
            "node": "AI Agent",
            "type": "ai_memory",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Is Voice Message?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Was Voice Input?": {
      "main": [
        [
          {
            "node": "Generate Audio Response",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Send Text Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Is Voice Message?": {
      "main": [
        [
          {
            "node": "Prepare Voice Message Data",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Prepare Text Message Data",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "OpenAI Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "AI Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Download Voice File": {
      "main": [
        [
          {
            "node": "Transcribe with Deepgram",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Generate Audio Response": {
      "main": [
        [
          {
            "node": "Send Audio Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe with Deepgram": {
      "main": [
        [
          {
            "node": "Has Transcript?",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Text Message Data": {
      "main": [
        [
          {
            "node": "AI Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Voice Message Data": {
      "main": [
        [
          {
            "node": "Get File Path",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}