Generate audio from text using OpenAI and Webhook | Text to Speech Workflow
n8n template #2386Summary
Use templateWho is this for? This workflow is ideal for developers, content creators, or customer support teams looking to automate text-to-speech conversion using OpenAI. What problem does this solve? It automates the process of converting text inputs into speech, reducing manual effort and enhancing productivity. What this workflow does: This workflow triggers when a text input is received via a webhook, converts it into audio using the OpenAI API, and sends the generated speech back through a webhook response. Setup: Ensure you have an OpenAI API key (you can get it from OpenAI website). Set up the webhook URL and parameters. Configure the OpenAI node with your API key (Create New Credentials). set u
How to set it up
- Open template #2386 on n8n.io and click Use for free, or copy the template JSON and paste it onto an empty canvas in n8n.
- Create a credential under Credentials → Add credential: OpenAI. Then open each of those nodes and pick the credential.
- Check the model in the OpenAI node. The template may point at a model your account can't use; swap it for one you have access to.
- Click Execute workflow and step through each node's output to confirm the data looks right.
- Toggle the workflow to Active so its trigger runs on its own.
Hand off to your agent
Prompt
Help me set up the n8n workflow "Generate audio from text using OpenAI and Webhook | Text to Speech Workflow" (https://n8n.io/workflows/2386). It uses: OpenAI. Import the template JSON into my n8n instance, list every credential I need to create, and walk me through testing it.
Paste into Claude Code and it will do the rest.
Apps and nodes
Questions
Yes. Ayoub published it free on n8n.io, and it has 9,792 views. It runs on n8n Cloud or a self-hosted n8n instance.
OpenAI. The other 0 nodes are built into n8n.
Similar workflows
NameViews
- Angie, personal AI assistant with Telegram voice and text326K
- ✨🤖Automate Multi-Platform Social Media Content Creation with AI205K
- Fully Automated AI Video Generation & Multi-Platform Publishing191K
- Telegram AI Chatbot169K
- Generate AI Videos with Google Veo3, Save to Google Drive and Upload to YouTube156K
- AI-Powered Short-Form Video Generator with OpenAI, Flux, Kling, and ElevenLabs93K
- Clone Viral TikToks with AI Avatars & Auto-Post to 9 Platforms using Perplexity & Blotato84K
- Conversational Telegram Bot with GPT-5/GPT-4o for Text and Voice Messages82K