Files & Documents

Convert Text to Speech with OpenAI

8 nodes 124 86 Automatic trigger
Download

Workflow Description

Automates the conversion of text input into high-quality audio files using OpenAI's text-to-speech service. The workflow handles text processing, API communication, and file delivery, enabling you to generate professional voice recordings for various applications and content needs.

How it works

  1. 1.Trigger the automation manually and input the text to be converted
  2. 2.Process and prepare the text for transmission to OpenAI servers
  3. 3.Send an HTTP request to OpenAI's API endpoint to generate audio
  4. 4.Receive and store the resulting audio file for use or download

Use cases

  • Generate voice-over audio for marketing campaigns and promotional content
  • Create personalized audio notifications and message recordings
  • Enhance accessibility by providing audio versions of documents and written content

Requirements

  • Active OpenAI API key with valid credentials and sufficient quota
  • Well-formatted, clear text content ready for conversion
  • Stable internet connection for reliable data transfer to OpenAI services

Service Value

Ready-made workflow template for automation delivery and service execution.

Apps Used

Manual Trigger Set HTTP Request Note

Details

Trigger Automatic trigger
Nodes 8
Apps 4
Views 124
Downloads 86

How to Use

  1. 1.Click "Download Template"
  2. 2.Open your n8n dashboard
  3. 3.Go to Workflows > Import from File
  4. 4.Select downloaded file and configure credentials

Nodes Used (8)

When clicking "Test workflow"

Manual Trigger

#1

Set input text and TTS voice

Set

#2

Send HTTP Request to OpenAI's TTS Endpoint

HTTP Request

#3

Sticky Note

Sticky Note

#4

Sticky Note1

Sticky Note

#5

Sticky Note2

Sticky Note

#6

Sticky Note3

Sticky Note

#7

Sticky Note4

Sticky Note

#8