Google Text-to-Speech Voiceover Automation - n8n Workflow

Generate high-quality, natural voiceovers using Google Text-to-Speech (Chirp 3 HD) via this powerful n8n workflow. Automatically upload audio files to Google Drive and log duration and metadata into Airtable for seamless content asset management.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

Content creators needing high-quality voiceovers for videos or articles.
Marketing teams managing large libraries of media assets.
Developers building interactive voice applications requiring a reliable n8n workflow for audio generation.
Users looking for advanced examples of integrating asynchronous HTTP requests and looping logic within an n8n template.

Overview

This comprehensive n8n workflow transforms raw text input into professional, natural-sounding audio files using the Google Text-to-Speech (TTS) API, leveraging the advanced Chirp 3 HD voices. The automation starts with an intuitive n8n trigger (a web form) where users define their script, language, and desired voice. The resulting audio data is processed, automatically stored securely in Google Drive, and then accurately cataloged in an Airtable database. A key technical feature of this n8n template is its use of asynchronous logic to calculate the audio file's duration using the fal.ai API, demonstrating powerful looping and conditional flow control within an n8n node sequence. This process ensures that your generated media assets are immediately usable and fully documented, saving significant manual effort in content pipeline management. This expertly designed n8n workflow is a perfect example of automated media generation.

How it Works

This automation is initiated by an n8n trigger and executes a series of steps to generate and catalog the voiceover:


  1. Input Trigger: The n8n workflow begins with an On form submission n8n trigger, collecting the user's script, desired voice (e.g., Aoede, Puck), and language (e.g., en-US).

  2. Request TTS Audio: An HTTP Request n8n node sends the script and voice configuration to the Google Text-to-Speech API. This request returns the audio data as a base64 encoded string.

  3. File Conversion: The Convert to File n8n node converts the base64 string into a usable binary audio file, which is necessary for file storage services.

  4. Google Drive Upload: The binary audio file is uploaded immediately to a specified folder in Google Drive using the file name provided in the binary data.

  5. Request Duration: A second HTTP Request n8n node calls the fal.ai media metadata API, passing the Google Drive link (webContentLink) to start the asynchronous duration calculation job.

  6. Polling Loop: The workflow enters a looping pattern using the Get Status HTTP Request n8n node and an If n8n node. The If node checks if the job status is COMPLETED. If not, a Wait n8n node pauses for one second before checking the status again, ensuring the workflow handles the asynchronous processing correctly.

  7. Retrieve Metadata: Once the job is COMPLETED, the Get Duration HTTP Request n8n node retrieves the final audio metadata, including the duration.

  8. Airtable Logging: Finally, an Airtable n8n node creates a new record in the "Assets" table, logging the Google Drive URL, WebView URL, the original script, and the calculated duration, completing the asset management process within the n8n workflow.

Installation Guide

To utilize this n8n template, follow these steps:


  1. Import the n8n workflow: Copy the provided JSON data and paste it directly into your n8n instance using the 'New' menu and the 'Import from JSON' option.

  2. Set up Credentials: You must provide credentials for the following services:

Google OAuth2 Client: Required for Google Text-to-Speech API and Google Drive operations. Ensure both APIs are enabled in your Google Cloud Project.
Google Drive Account: Used by the Google Drive n8n node to store generated audio files.
fal.ai Key: Required for the HTTP Request n8n nodes used for media duration calculation (as a generic HTTP Header Authentication).
Airtable Personal Access Token: Required for the Airtable n8n node to log the generated asset data. Ensure your target Airtable base/table has fields matching those used in the 'Create a record' node (URL, Duration, Asset Name, Description, WebView URL, Content Type).

  1. Configure Nodes: Review the Google Drive 'Upload file' n8n node and the Airtable 'Create a record' n8n node to ensure the target Folder IDs and Base/Table IDs match your specific accounts.

Node Details

The following major n8n node types drive the logic of this automation:

On form submission2 (Form Trigger): This n8n trigger initiates the workflow upon receiving a submission from the internal n8n form. Key Configuration: Collects Script, Voice (from a pre-defined list of Chirp 3 HD options), and Language.
Request TTS (HTTP Request): Sends the payload to Google's Text-to-Speech API. Key Configuration: POST request to https://texttospeech.googleapis.com/v1/text:synthesize, using JSON body to define input text and voice parameters.
Convert to File (Convert to File): Transforms the base64 output (audioContent) from Google TTS into a binary file object. Key Configuration: Operation set to toBinary, Source Property set to audioContent.
Upload file (Google Drive): Uploads the newly created binary audio file to a designated Google Drive folder. Key Configuration: Uses a specified Folder ID, setting the file name dynamically from the binary data.
Request Duration & Get Status & Get Duration (HTTP Request): A sequence of three n8n nodes interacting with the fal.ai API to start an asynchronous job, check its status, and retrieve the final media metadata. This showcases advanced use of the HTTP Request n8n node for third-party service integration.
If (If): Controls the looping logic for the duration calculation, checking if the job status equals COMPLETED.
Wait (Wait): Used in conjunction with the If n8n node to pause execution briefly before re-checking the asynchronous job status, crucial for robust n8n workflow design.
Create a record (Airtable): The final n8n node, logging all generated asset details, URLs, and the calculated duration into the asset database.

Related n8n Workflows

Free

Nodes: 9 Nodes
Updated: December 26 2025
View all
Created by
Jesse White
Jesse White

Driven by a passion for innovation and systems design, I specialize in building creative automations and AI-powered tools that simplify workflows and drive results. With a strong background in web development, API integration, and no-code platforms like n8n, I create scalable solutions for content creators, startups, and small businesses. My focus is on combining efficiency with creativity—turning ideas into streamlined digital products.

Featured*