Skip to main content

Wikipedia podcast generator - AI-powered voice content creator via Telegram

Workflow preview

Workflow preview
100%
Wikipedia podcast generator - AI-powered voice content creator via Telegram preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

This n8n workflow template uses community nodes and is only compatible with the self hosted version of n8n. Welcome to my Wikipedia Podcast Telegram Bot Workflow! This workflow creates an intellige...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegramtrigger, @n8n/n8n-nodes-langchain.lmchatanthropic, @n8n/n8n-nodes-langchain.toolwikipedia, @n8n/n8n-nodes-langchain.toolthink, n8n-nodes-base.switch, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.set

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Friedemann Schuetz.

Original n8n.io source

1.1 Workflow description

Title
Wikipedia podcast generator - AI-powered voice content creator via Telegram
Workflow name
Wikipedia podcast generator - AI-powered voice content creator via Telegram

This n8n workflow template uses community nodes and is only compatible with the self-hosted version of n8n.

Welcome to my Wikipedia Podcast Telegram Bot Workflow!

This workflow creates an intelligent Telegram bot that transforms Wikipedia articles into engaging 5-minute podcast episodes using natural language queries and voice messages.

What this workflow does

This workflow processes incoming Telegram messages (text or voice, e.g. "Berlin") and generates professional podcast content about any Wikipedia topic (e.g. "Berlin", "Shakespeare", etc.). The AI agent researches the requested subject, creates a structured podcast script, and delivers it as high-quality audio directly through Telegram.

Key Features:

  • Voice message support (speech-to-text and text-to-speech)
  • Wikipedia research integration for accurate content
  • Professional podcast structure (intro, main content, outro)
  • Natural-sounding AI voice synthesis
  • Conversational and educational tone optimized for audio consumption

This workflow has the following sequence:

  1. Telegram Trigger - Receives incoming messages (text or voice) from users via Telegram bot
  2. Text or Voice Switch - Routes the message based on input type (text message vs. voice message)
  3. Voice Message Processing (if voice input):
    • Retrieval of voice file from Telegram
    • Transcription of voice message to text using OpenAI Whisper
  4. Text Message Preparation (if text input) - Prepares the text message for the AI agent
  5. Wikipedia Podcast Agent - Core AI agent that:
    • Researches the requested topic using Wikipedia tool
    • Creates a professional 5-minute podcast script (600-750 words)
    • Follows structured format: intro, main content, outro
    • Uses conversational, accessible, and enthusiastic tone
  6. ElevenLabs Text to Speech - Converts the podcast script into natural-sounding audio using AI voice synthesis
  7. Send Voice Response - Delivers the generated podcast audio back to the user via Telegram

Requirements:

  • Telegram Bot API: Documentation
    • Create a bot via @BotFather on Telegram
    • Get bot token and configure webhook
  • Anthropic API (Claude 4 Sonnet): Documentation
    • Used for AI agent processing and podcast script generation
    • Provides Wikipedia research capabilities
  • OpenAI API: Documentation
    • Used for speech transcription (Whisper model)
  • ElevenLabs API: Documentation
    • Used for high-quality text-to-speech generation
    • Provides natural-sounding voice synthesis

Important: The workflow uses the Wikipedia tool integrated with Claude 4 Sonnet to ensure accurate and comprehensive research. The AI agent is specifically prompted to create engaging, educational podcast content suitable for audio consumption.

Configuration Notes:

  • Update the Telegram chat ID in the trigger for your specific bot
  • Modify the voice selection in ElevenLabs for different narrator styles
  • The system prompt can be customized for different podcast formats or target audiences
  • Supports both individual users and can be extended for group chats

Feel free to contact me via LinkedIn, if you have any questions!

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Telegram Trigger

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.1

Block 2 - Anthropic Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatAnthropic - lmChatAnthropic
Config choices
Version 1.3

Block 3 - Wikipedia

Type / Role
@n8n/n8n-nodes-langchain.toolWikipedia - toolWikipedia
Config choices
Version 1

Block 4 - Think

Type / Role
@n8n/n8n-nodes-langchain.toolThink - toolThink
Config choices
Version 1

Block 5 - Text or Voice

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 6 - Get Voice Message

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 7 - Transcribe Voice Message

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 8 - Prepare Text Message for AI Agent

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 9 - ElevenLabs Text to Speech

Type / Role
@elevenlabs/n8n-nodes-elevenlabs.elevenLabs - elevenLabs
Config choices
Version 1

Block 10 - Send Voice Response

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 11 - Wikipedia Podcast Agent

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 2

Block 12 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Wikipedia podcast generator - AI-powered voice content creator via Telegram
Complexity intermediate
Nodes 12
Categories Content Creation, Multimodal AI
Author Friedemann Schuetz
Published 29 May 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4496/4496.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Wikipedia podcast generator - AI-powered voice content creator via Telegram do?

This n8n workflow template uses community nodes and is only compatible with the self hosted version of n8n. Welcome to my Wikipedia Podcast Telegram Bot Workflow! This workflow creates an intellige...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.