Skip to main content

Generate two-host PDF podcasts with GPT-5, Smallest AI, and Gmail

Workflow preview

Workflow preview
100%
Generate two-host PDF podcasts with GPT-5, Smallest AI, and Gmail preview
Open on n8n.io

1. Workflow Overview

Generate two host AI podcast episodes from any PDF — in 9 Indian languages or your own cloned voice — powered by Smallest AI. Turn whitepapers, research reports, blog drafts, lecture notes, or comp...

Best for

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

Tools used

n8n-nodes-base.stickynote, n8n-nodes-base.formtrigger, n8n-nodes-base.extractfromfile, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.splitout, n8n-nodes-base.switch, n8n-nodes-smallestai.smallestai, n8n-nodes-base.set

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Generate two-host PDF podcasts with GPT-5, Smallest AI, and Gmail
Workflow name
Generate two-host PDF podcasts with GPT-5, Smallest AI, and Gmail

Generate two-host AI podcast episodes from any PDF — in 9 Indian languages or your own cloned voice — powered by Smallest AI.

Turn whitepapers, research reports, blog drafts, lecture notes, or company memos into NotebookLM-style audio briefings. Native Hindi, Tamil, Telugu, Kannada, Malayalam, Bengali, Marathi, Gujarati, and Punjabi support makes this the only n8n template that ships authentic Indian-language podcast generation out of the box.

Good to know

  • Lightning V3.1 generates ~100ms time-to-first-byte; a 5-page PDF produces a 4-minute podcast in roughly 60 seconds total
  • Smallest AI offers a free tier — get an API key
  • Voice cloning lets you cast yourself or a colleague as one of the hosts using just a 10-second voice sample
  • Pure JavaScript audio concatenation — no FFmpeg required, works on n8n Cloud

How it works

  • Upload a PDF via the form trigger
  • Extract text and pass it to GPT-5 to generate a structured 2-host script in JSON
  • Split the script and route each turn to the matching host's TTS branch
  • Smallest AI Lightning synthesizes each turn at 24 kHz with sub-100ms latency
  • A Code node concatenates all WAV chunks into a single audio file in correct conversational order
  • The finished podcast is emailed to the address you specify

Set up steps

  • Install the n8n-nodes-smallestai community node via Settings → Community Nodes
  • Connect Smallest AI, OpenAI, and Gmail credentials (~5 minutes)
  • Pick voice IDs for Host A and Host B in the two Synthesize Host nodes (defaults: avery and devansh)
  • Update the recipient email in the Gmail node
  • Sticky notes inside the workflow walk you through each section

Requirements

  • Smallest AI account — free tier available at smallest.ai
  • OpenAI API key — GPT-5 or GPT-4o-mini both work
  • Gmail OAuth2 credential for delivery
  • n8n-nodes-smallestai community node installed

Customising this workflow

  • Swap the Form trigger for a Webhook to integrate with other apps or chatbots
  • Change the LLM system prompt to alter podcast format (interview, debate, monologue, kids' story)
  • Edit english in the prompt to generate podcasts in any of Smallest AI's supported languages — try arjun + aanya for Hindi, arvind + niharika for Tamil
  • Use cloned voices from the Voice Clone resource for personalized hosts
  • Replace Gmail with Slack, Telegram, or Drive Upload for different delivery channels

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 - Main Overview

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

Block 2 - Section 1

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

Block 3 - Section 2

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

Block 4 - Section 3

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

Block 5 - Section 4

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

Block 6 - Section 5

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

Block 7 - When Form Submitted

Type / Role
n8n-nodes-base.formTrigger - formTrigger
Config choices
Version 2.5

Block 8 - Extract Data from File

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

Block 9 - Generate Podcast Script (GPT-5)

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 2.1

Block 10 - Split Script Into Turns

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

Block 11 - Route by Host

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.4

Block 12 - Synthesize Host A Audio

Type / Role
n8n-nodes-smallestai.smallestai - smallestai
Config choices
Version 1

Block 13 - Synthesize Host B Audio

Type / Role
n8n-nodes-smallestai.smallestai - smallestai
Config choices
Version 1

Block 14 - Preserve Host A Order

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 15 - Preserve Host B Order

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 16 - Merge Both Hosts

Type / Role
n8n-nodes-base.merge - merge
Config choices
Version 3.2

Block 17 - Sort by Conversational Order

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

Block 18 - Concatenate WAV Audio

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

Block 19 - Email Podcast to User

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.2

3. Summary Table

Workflow Generate two-host PDF podcasts with GPT-5, Smallest AI, and Gmail
Complexity advanced
Nodes 19
Categories Content Creation, Multimodal AI
Author Sumit Mor
Published 28 Apr 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15350/15350.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 Generate two-host PDF podcasts with GPT-5, Smallest AI, and Gmail do?

Generate two host AI podcast episodes from any PDF — in 9 Indian languages or your own cloned voice — powered by Smallest AI. Turn whitepapers, research reports, blog drafts, lecture notes, or comp...

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.