Files & Documents

Convert Text to Speech with OpenAI

8 nodes 107 77 Automatic trigger
Download

Workflow Description

Automate the transformation of written text into professional audio files using OpenAI's text-to-speech API. Enable rapid audio content creation for documentation, training materials, and customer communications without outsourcing to external voice talent. Streamline workflows that require audio output at scale.

How it works

  1. 1.Trigger the automation manually when text conversion is needed
  2. 2.Define and prepare the text input for processing within the workflow
  3. 3.Send the text to OpenAI's API with appropriate voice and format parameters
  4. 4.Receive and store the generated audio file in your system
  5. 5.Log the conversion details for tracking and quality assurance

Use cases

  • Convert business reports and articles into audio files for quick review
  • Generate voiceovers for online courses, webinars, and training modules
  • Create automated voice notifications and customer alert messages

Requirements

  • Active OpenAI API key with text-to-speech permissions
  • Well-formatted text input to ensure high-quality audio output
  • Storage solution or designated folder for saving generated audio files

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 107
Downloads 77

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