How to Use n8n with ElevenLabs for AI Voice Automation
Convert text into realistic AI voice and automate calls, alerts, and voice agents using n8n + ElevenLabs 🎙️
If you're building AI systems with voice capabilities, combining n8n with ElevenLabs is a powerful setup. ElevenLabs generates realistic human-like speech, while n8n automates when and how voice is used.
📌 What You'll Learn
- Connect ElevenLabs API to n8n
- Convert text to speech (TTS)
- Use dynamic inputs
- Play or send audio automatically
- Build real-world voice workflows
Step 1: Get ElevenLabs API Key
- Login to ElevenLabs
- Go to Profile → API Key
- Copy your API key
Step 2: Setup HTTP Request in n8n
Use HTTP Request node:
- Method: POST
- URL: https://api.elevenlabs.io/v1/text-to-speech/YOUR_VOICE_ID
Headers:
xi-api-key: YOUR_API_KEY
Content-Type: application/json
Step 3: Convert Text to Speech
{
"text": "Access granted. Welcome!",
"model_id": "eleven_multilingual_v2"
}
This will return audio output (MP3 or stream).
Step 4: Use Dynamic Input
{
"text": "Hello {{ $json.name }}, access granted.",
"model_id": "eleven_multilingual_v2"
}
Full Workflow Example
RFID Scan → Webhook → n8n → ElevenLabs → Speaker / Telegram / Storage
- Scan RFID
- Trigger webhook
- Generate voice
- Play or send audio
Real Use Cases
Common Errors
❌ Wrong voice ID
❌ Empty text
❌ Audio not playing
Pro Tips
- Use custom voices for branding
- Combine with Retell for voice agents
- Store audio in Supabase or cloud
- Use caching to reduce cost
🎥 Watch My AI Automation Builds
I share real n8n workflows, voice AI systems, and automation builds on my YouTube channel.
▶ Visit My YouTube ChannelFAQ
Q: Can I use ElevenLabs with n8n?
Yes, via HTTP Request node.
Q: Can I create voice alerts?
Yes, perfect for IoT systems.
Q: Can I build AI voice agents?
Yes, combine with OpenAI or Claude.
SEO Title: n8n ElevenLabs Tutorial: AI Voice Automation
Meta Description: Learn how to use n8n with ElevenLabs to generate AI voice and automate real-world workflows.

No comments:
Post a Comment