{
  "name": "Wikipedia podcast generator - AI-powered voice content creator via Telegram",
  "nodes": [
    {
      "id": "02ec8740-62ea-4803-aec0-93ec18f24be1",
      "name": "Telegram Trigger",
      "type": "n8n-nodes-base.telegramTrigger",
      "position": [
        -1000,
        -80
      ]
    },
    {
      "id": "0820738d-45f2-49fe-8837-bd9fdbde5a25",
      "name": "Anthropic Chat Model",
      "type": "@n8n/n8n-nodes-langchain.lmChatAnthropic",
      "position": [
        -120,
        140
      ]
    },
    {
      "id": "665f8751-48b8-46cc-bd76-d82127435ea2",
      "name": "Wikipedia",
      "type": "@n8n/n8n-nodes-langchain.toolWikipedia",
      "position": [
        0,
        140
      ]
    },
    {
      "id": "54b0a604-9e7c-43dc-899b-80432e1e9aa8",
      "name": "Think",
      "type": "@n8n/n8n-nodes-langchain.toolThink",
      "position": [
        120,
        140
      ]
    },
    {
      "id": "8c4ecbd4-e340-4017-9c73-eea76aecb30f",
      "name": "Text or Voice",
      "type": "n8n-nodes-base.switch",
      "position": [
        -780,
        -80
      ]
    },
    {
      "id": "4a62e7d8-204d-407e-a090-3dcad37c70b2",
      "name": "Get Voice Message",
      "type": "n8n-nodes-base.telegram",
      "position": [
        -560,
        20
      ]
    },
    {
      "id": "7c0a4950-13c5-401a-b9bc-3409cd8cde24",
      "name": "Transcribe Voice Message",
      "type": "@n8n/n8n-nodes-langchain.openAi",
      "position": [
        -340,
        20
      ]
    },
    {
      "id": "73daa7c9-124f-4595-ae2a-de4aa9ce1cd4",
      "name": "Prepare Text Message for AI Agent",
      "type": "n8n-nodes-base.set",
      "position": [
        -340,
        -180
      ]
    },
    {
      "id": "c8d4fa95-94b4-47ae-9332-4cefe844d4f0",
      "name": "ElevenLabs Text to Speech",
      "type": "@elevenlabs/n8n-nodes-elevenlabs.elevenLabs",
      "position": [
        320,
        -80
      ]
    },
    {
      "id": "119ec323-c887-45ac-bd9d-b1b7691789df",
      "name": "Send Voice Response",
      "type": "n8n-nodes-base.telegram",
      "position": [
        540,
        -80
      ]
    },
    {
      "id": "c2e46d2f-01e9-4512-b44d-5b2bae881341",
      "name": "Wikipedia Podcast Agent",
      "type": "@n8n/n8n-nodes-langchain.agent",
      "position": [
        -88,
        -80
      ]
    },
    {
      "id": "d6dc5f36-789e-46df-88cd-2ad9b0be7d59",
      "name": "Sticky Note",
      "type": "n8n-nodes-base.stickyNote",
      "position": [
        -1900,
        -540
      ],
      "parameters": {
        "width": 820,
        "height": 1140,
        "content": "# Welcome to my Wikipedia Podcast Telegram Agent Workflow!\n\n## This workflow has the following sequence:\n\n1. **Telegram Trigger** - Receives incoming messages (text or voice) from users via Telegram b"
      }
    }
  ],
  "connections": {
    "Think": {
      "ai_tool": [
        [
          {
            "node": "Wikipedia Podcast Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Wikipedia": {
      "ai_tool": [
        [
          {
            "node": "Wikipedia Podcast Agent",
            "type": "ai_tool",
            "index": 0
          }
        ]
      ]
    },
    "Text or Voice": {
      "main": [
        [
          {
            "node": "Prepare Text Message for AI Agent",
            "type": "main",
            "index": 0
          }
        ],
        [
          {
            "node": "Get Voice Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Telegram Trigger": {
      "main": [
        [
          {
            "node": "Text or Voice",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Get Voice Message": {
      "main": [
        [
          {
            "node": "Transcribe Voice Message",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Anthropic Chat Model": {
      "ai_languageModel": [
        [
          {
            "node": "Wikipedia Podcast Agent",
            "type": "ai_languageModel",
            "index": 0
          }
        ]
      ]
    },
    "Wikipedia Podcast Agent": {
      "main": [
        [
          {
            "node": "ElevenLabs Text to Speech",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Transcribe Voice Message": {
      "main": [
        [
          {
            "node": "Wikipedia Podcast Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "ElevenLabs Text to Speech": {
      "main": [
        [
          {
            "node": "Send Voice Response",
            "type": "main",
            "index": 0
          }
        ]
      ]
    },
    "Prepare Text Message for AI Agent": {
      "main": [
        [
          {
            "node": "Wikipedia Podcast Agent",
            "type": "main",
            "index": 0
          }
        ]
      ]
    }
  }
}