๐ŸŽฌ Turn book PDFs into audio with OpenAI and Google Drive

โšก 105 views ยท ๐ŸŽฌ Content Creation & Video

Description

Book2Audio Pro

Workflow brief

Book2Audio Pro turns an uploaded book PDF into organized audio files. The workflow starts with a file upload form, extracts the book text, uses AI to detect the chapter structure and generate splitting logic, converts each chunk into audio, and then saves the final MP3 files into a Google Drive folder created for that upload.

How it works

  1. The user uploads a PDF through the form trigger.
  2. The PDF text is extracted from the uploaded binary file.
  3. An AI agent analyzes the first part of the book to detect chapter/section patterns and generates JavaScript code for structuring the full text.
  4. A code node executes the generated logic to split the book into chapters and smaller sentence-safe chunks.
  5. The text chunks are passed to OpenAI audio generation.
  6. Each generated audio file is uploaded to a Google Drive folder named after the uploaded book.

Quick Setup Guide

๐Ÿ‘‰ Demo & Setup Video ๐Ÿ‘‰ Course

Nodes of interest

What youโ€™ll need

Credentials

Input requirements

Customization ideas

Tags

book-to-audio, pdf-to-speech, openai, google-drive, n8n, text-to-audio, automation, ai-workflow, audiobook, document-processing

๐Ÿ”— Nodes Used

Google Drive, AI Agent, OpenAI Chat Model, Structured Output Parser, n8n Form Trigger, Extract from File

๐Ÿ“ฅ Import

Download workflow.json and import into n8n: Workflow menu โ†’ Import from File

๐Ÿ“– Importing guide ยท ๐Ÿ”‘ Credential setup