Skip to main content

Convert PDF documents to AI podcasts with Google Gemini and text-to-speech

Workflow preview

Workflow preview
100%
Convert PDF documents to AI podcasts with Google Gemini and text-to-speech preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

Convert PDF documents to AI generated podcasts with Google Gemini and Text to Speech Transform any PDF document into an engaging, natural sounding podcast using Google's Gemini AI and advanced Text...

Best for

  • Content Creation automation workflows
  • Multimodal AI automation workflows
  • intermediate n8n builders looking for reusable templates

Tools used

n8n-nodes-base.manualtrigger, n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.chainllm, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.code, n8n-nodes-base.httprequest, n8n-nodes-base.writebinaryfile, n8n-nodes-base.stickynote

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Mathis.

Original n8n.io source

1.1 Workflow description

Title
Convert PDF documents to AI podcasts with Google Gemini and text-to-speech
Workflow name
Convert PDF documents to AI podcasts with Google Gemini and text-to-speech

Convert PDF documents to AI-generated podcasts with Google Gemini and Text-to-Speech

Transform any PDF document into an engaging, natural-sounding podcast using Google's Gemini AI and advanced Text-to-Speech technology. This automated workflow extracts text content, generates conversational scripts, and produces high-quality audio files.

Who is this for?

This workflow template is perfect for content creators, educators, researchers, and marketing professionals who want to repurpose written content into audio format. Ideal for creating podcast episodes, educational content, or making documents more accessible.

What problem does this solve?

Converting written documents to engaging audio content manually is time-consuming and requires scriptwriting skills. This workflow automates the entire process, turning static PDFs into dynamic, conversational podcasts that sound natural and engaging.

What this workflow does

  1. Extracts text from uploaded PDF documents
  2. Generates podcast script using Google Gemini AI with conversational tone
  3. Converts script to speech using Google's advanced TTS with customizable voices
  4. Processes audio into properly formatted WAV files
  5. Saves final podcast ready for distribution

Setup

  1. Obtain API credentials:

    • Get Google Gemini API key from AI Studio
    • Configure credentials in n8n as "Google Gemini(PaLM) Api account"
  2. Configure voice settings:

    • Choose from available voices: Kore (professional), Aoede (conversational), Laomedeia (energetic)
    • Customize script generation prompts if needed
  3. Test the workflow:

    • Upload a sample PDF file
    • Verify audio output quality
    • Adjust voice settings as preferred

How to customize this workflow

  • Modify script style: Edit the prompt in the "Generate Podcast Script" node to change tone, length, or format
  • Change voice: Update the voice name in "Prepare TTS Request" node
  • Add preprocessing: Insert text cleaning nodes before script generation
  • Integrate with storage: Connect to Google Drive, Dropbox, or other storage services
  • Add notifications: Include Slack or email notifications when podcasts are ready

Note: This template requires Google Gemini API access and works best with text-based PDF files under 10MB.

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - 🎬 Start: Upload PDF File

Type / Role
n8n-nodes-base.manualTrigger - manualTrigger
Config choices
Version 1

Block 2 - 📄 Extract Text from PDF

Type / Role
n8n-nodes-base.extractFromFile - extractFromFile
Config choices
Version 1

Block 3 - 🤖 Generate Podcast Script

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.7

Block 4 - Google Gemini Flash 2.0

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1

Block 5 - ⚙️ Prepare TTS Request

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - 🎙️ Convert Text to Speech With Gemini

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 7 - 🔧 Process Audio Response

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - 💾 Save Podcast Audio

Type / Role
n8n-nodes-base.writeBinaryFile - writeBinaryFile
Config choices
Version 1

Block 9 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 10 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Convert PDF documents to AI podcasts with Google Gemini and text-to-speech
Complexity intermediate
Nodes 10
Categories Content Creation, Multimodal AI
Author Mathis
Published 11 Jun 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/4883/4883.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Convert PDF documents to AI podcasts with Google Gemini and text-to-speech do?

Convert PDF documents to AI generated podcasts with Google Gemini and Text to Speech Transform any PDF document into an engaging, natural sounding podcast using Google's Gemini AI and advanced Text...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your Content Creation, Multimodal AI use case.