🎬 Clone and change your voice 🤖🎙️with Elevenlabs and Telegram

⚡ 615 views · 🎬 Content Creation & Video

💡 Pro Tip — YouTube’s API quotas can be a bottleneck when you’re pulling data at scale. ScraperNode is a community node with dedicated scrapers for channels, videos, and comments — no quota limits, just structured data.

View All Scrapers

Description

This workflow creates a voice AI assistant accessible via Telegram that leverages ElevenLabs* powerful voice synthesis technology. Users can either clone their own voice or transform their voice using pre-existing voice models, all through simple voice messages sent to a Telegram bot.

*ONLY FOR STARTER, CREATOR, PRO PLAN

This workflow allows users to:

  1. Clone their voice by sending a voice message to a Telegram bot (creates a new voice profile on ElevenLabs)
  2. Change their voice to a cloned voice and save the output to Google Drive

For Best Results

Important Considerations for Best Results: For optimal voice cloning via Telegram voice messages:

1. Recording Quality & Environment

2. Content Selection & Variety

3. Audio Consistency

4. Technical Preparation


How it works

  1. Trigger
    The workflow starts with a Telegram trigger that listens for incoming messages (text, voice notes, or photos).

  2. Authorization check
    A Code node checks whether the sender’s Telegram user ID matches your predefined ID. If not, the process stops.

  3. Message routing
    A Switch node routes the message based on its type:

    • Text → Not processed further in this flow.
    • Voice message → Sent to the “Get audio” node to retrieve the audio file from Telegram.
    • Photo → Not processed further in this flow.
  4. Two main options
    From the “Get audio” node, the workflow splits into two possible paths:

    • Option 1 – Clone voice
      The audio file is sent to ElevenLabs via an HTTP request to create a new cloned voice. The voice ID is returned and can be saved for later use.
    • Option 2 – Voice changer
      The audio is sent to ElevenLabs for speech-to-speech conversion using a pre-existing cloned voice (voice ID must be set in the node parameters). The resulting audio is saved to Google Drive.
  5. Output

    • Cloned voice ID (for Option 1).
    • Converted audio file uploaded to Google Drive (for Option 2).

Set up steps

  1. Telegram bot setup

    • Create a bot via BotFather and obtain the API token.
    • Set up the Telegram Trigger node with your bot credentials.
  2. Authorization configuration

    • In the “Sanitaze” Code node, replace XXX with your Telegram user ID to restrict access.
  3. ElevenLabs API setup

    • Get an API key from ElevenLabs.
    • Configure the HTTP Request nodes (“Create Cloned Voice” and “Generate cloned audio”) with:
      • API key in the Xi-Api-Key header.
      • Appropriate endpoint URLs (including voice ID for speech-to-speech).
  4. Google Drive setup (for Option 2)

    • Set up Google Drive OAuth2 credentials in n8n.
    • Specify the target folder ID in the “Upload file” node.
  5. Voice ID configuration

    • For voice cloning: The voice name can be customized in the “Create Cloned Voice” node.
    • For voice changing: Replace XXX in the “Generate cloned audio” node URL with your ElevenLabs voice ID.
  6. Test the workflow

    • Activate the workflow.
    • Send a voice note from your authorized Telegram account to trigger cloning or voice conversion.

👉 Subscribe to my new YouTube channel. Here I’ll share videos and Shorts with practical tutorials and FREE templates for n8n.

image


Need help customizing?

Contact me for consulting and support or add me on Linkedin.

đź”— Nodes Used

HTTP Request, Telegram, Telegram Trigger, Google Drive

📥 Import

Download workflow.json and import into n8n: Workflow menu → Import from File

📖 Importing guide · 🔑 Credential setup