You can build a full-stack automated audiobook production pipeline by connecting n8n to ElevenLabs for voice synthesis, then routing the audio through Audacity for post-processing and file export. Start with n8n pulling book text from a source (Google Sheets, a database, or API), send each chapter to ElevenLabs' text-to-speech API to generate narration in your chosen voice, store the MP3 files, then use Audacity's command-line batch processing to normalize audio levels, add chapter markers, and export final files. n8n orchestrates the entire workflow - triggering on new uploads, managing API rate limits, logging failures, and pushing completed audiobooks to your distribution platform. This removes the manual narration bottleneck and scales to dozens of titles per week without hiring voice actors.
What you need
Automated audiobook production requires a text source, voice synthesis engine, audio editor, and workflow orchestrator. Here's the core stack:
| Tool | Plan/Price | Role |
|---|---|---|
| n8n | Free tier (up to 5 active workflows); Cloud Pro from $20/month | Workflow orchestration: triggers on new text files, routes to ElevenLabs, manages file outputs, logs metadata |
| ElevenLabs | Free tier (10,000 characters/month); Creator from $5/month | Text-to-speech voice synthesis; generates MP3 chapters with consistent voice and tone across the audiobook |
| Audacity | Free (open-source) | Audio post-processing: normalize levels, remove silence, add chapter markers, export to MP3 or WAV at target bitrate |
| Google Drive or S3 | Google Drive free tier (15 GB); AWS S3 $0.023/GB/month | Storage for source text files (chapters), raw audio outputs, and final audiobook files |
| Deepgram or Whisper | Deepgram free tier (up to 600 minutes/month); check current pricing for paid | Optional: validate text extraction from PDFs or scanned manuscripts before synthesis |
| FFmpeg | Free (open-source) | Command-line audio batch processing: concatenate chapters, normalize, add metadata tags (title, author, ISBN) |
How it works
- Source text ingestion. n8n polls a Google Drive folder or Airtable base for new manuscript files (PDF, DOCX, or plain text). A webhook or scheduled trigger fires every hour; n8n parses the text and splits it into chunks under 5,000 characters to respect ElevenLabs API limits.
- Voice synthesis via ElevenLabs. n8n sends each text chunk to the ElevenLabs API with your chosen voice ID and stability/similarity settings. ElevenLabs returns MP3 audio files (check current pricing for per-character costs); n8n stores the URLs and file paths in a temporary database record or Google Sheet.
- Audio assembly and metadata tagging. Audacity (via command-line batch processing or manual import) concatenates the MP3 segments in sequence, applies crossfades between chunks to smooth transitions, and normalizes audio levels to -3 dB. n8n can trigger Audacity scripts via shell commands on a local machine or a containerized worker.
- Quality check and format export. The assembled audio is exported as WAV for lossless storage, then transcoded to M4B (audiobook format) with embedded metadata - title, author, chapter markers - using FFmpeg (called by n8n).
- Distribution and logging. n8n uploads the final M4B file to AWS S3 or a content delivery network, logs the completion status to Airtable, and sends a Slack notification with the download link. Metadata is stored for future re-runs or edits.
How to build it
- Set up your n8n workflow with a trigger node. Create a new workflow in n8n and add an HTTP Request trigger node (or Webhook node if you want external systems to push book data). Configure it to receive a POST payload containing
bookTitle,authorName, andbookText(the full manuscript). This is your entry point - every audiobook production run starts here.
- Split the manuscript into chunks. Add a Code node after the trigger. Use JavaScript to break the incoming
bookTextinto segments of 3,000-5,000 characters each (ElevenLabs handles up to 5,000 characters per request, but shorter chunks allow better pacing and error recovery). Store these chunks in an array. Example logic:
This prevents timeouts and lets you retry individual segments without re-processing the entire book.
- Call ElevenLabs text-to-speech for each chunk. Add a Loop node set to iterate over the
chunksarray. Inside the loop, add an HTTP Request node configured as POST tohttps://api.elevenlabs.io/v1/text-to-speech/{voice_id}. Set your headers to includexi-api-key: YOUR_API_KEYandContent-Type: application/json. The request body should be:
ElevenLabs returns binary audio data; save each response as a file in your n8n storage or cloud bucket (AWS S3, Google Cloud Storage). Name each file sequentially: chunk_001.mp3, chunk_002.mp3, etc. This modular approach lets you regenerate a single chapter if the voice quality isn't right.
- Store metadata and file paths. After each ElevenLabs call succeeds, add a Set node to capture the file path, chunk index, duration estimate, and timestamp. Build an array of objects like
{ chunkIndex: 1, filePath: "s3://bucket/chunk_001.mp3", duration: 245 }. This metadata is essential for the assembly step and for tracking which segments have been processed.
- Merge audio files in Audacity via command-line. Once all chunks are generated, add a Code node that constructs an Audacity script (
.nyfile format) or uses FFmpeg commands to concatenate the MP3s in order. FFmpeg is simpler:
Write filelist.txt with lines like file 'chunk_001.mp3' for each segment. Execute this via n8n's Execute Command node (or shell script). The result is a single, continuous MP3 file ready for distribution.
- Normalize and validate audio quality. Add another Execute Command node to run FFmpeg's loudness analysis and normalization:
This ensures consistent volume across all chapters and meets standard audiobook loudness specs (-16 LUFS for most platforms). Validate the file size and duration; flag if the output is suspiciously short (indicates a failed merge).
- Upload to distribution platforms. Add HTTP Request nodes to push the final MP3 to your chosen platforms. For Findaway Voices, Draft2Digital, or ACX, use their API endpoints (or upload manually if their API is limited). Store the upload confirmation and platform-specific ISBN or ASIN in your n8n database or CRM for tracking.
- Log completion and trigger notifications. Add a final Set node to record the workflow run: book title, total duration, file size, ElevenLabs cost (API calls × per-character rate), and completion timestamp. Send a Slack or email notification with a download link or status summary. This closes the loop and gives you visibility into production volume and costs.
- Test with a short sample first. Before running a full 80,000-word novel, test the entire pipeline with a 2,000-word excerpt. Verify that ElevenLabs voice quality matches your brand, that audio merging works without gaps, and that loudness normalization doesn't introduce artifacts. Adjust
stabilityandsimilarity_boostvalues in step 3 based on the sample output, then scale to production.
What it costs to run
| Component | 100 audiobooks/mo | 1,000 audiobooks/mo | 10,000 audiobooks/mo |
|---|---|---|---|
| ElevenLabs text-to-speech | $25-50 | $250-500 | $2,500-5,000 |
| n8n (self-hosted) | $0 | $0 | $0 |
| Audacity (local processing) | $0 | $0 | $0 |
| Storage (AWS S3 or Backblaze) | $5-10 | $15-30 | $50-150 |
| Total | $30-60/mo | $265-530/mo | $2,550-5,150/mo |
Assumptions: ElevenLabs pricing assumes 5,000-10,000 characters per audiobook at the standard tier (check current pricing for exact per-character rates); n8n runs self-hosted on your own server or VPS (~$5-20/mo for compute, not included above); Audacity runs locally with no recurring cost; storage assumes 50 MB average file size per finished audiobook on S3 standard tier. Voice cloning or premium voices add 2-3× to ElevenLabs cost. Bandwidth egress for downloads not included.
Where this breaks
Voice consistency drift across chapters If you process each chapter separately through ElevenLabs without locking the voice ID and stability settings, the same character voice will sound subtly different between chapters - pitch, breathiness, and emotional tone shift. Lock the voice ID, set stability to 0.75 or higher in every ElevenLabs API call within n8n, and test a 30-second sample from chapter 1 against chapter 10 before full production.
Audio file corruption during batch processing Large audiobook files (12+ hours) sometimes fail midway through Audacity's export or n8n's file handling, leaving you with truncated MP3s or unplayable WAV headers. Break the audiobook into 2-4 hour chunks in n8n before sending to ElevenLabs, validate each output file's duration and bitrate with FFprobe in an n8n Execute Command node, and re-trigger only failed segments rather than reprocessing the entire book.
Rate-limit throttling on ElevenLabs API
ElevenLabs free tier allows 10,000 characters per month; paid plans start at $5/month for 50,000 characters. If you queue 50 chapters at once, the API will reject requests or queue them for hours, stalling your pipeline. Implement exponential backoff in n8n's HTTP Request node (start at 2 seconds, cap at 60), space requests 1-2 seconds apart, and monitor the x-ratelimit-remaining header to pause before hitting limits.
Metadata loss during file transfer Chapter markers, ISBN, cover art, and author metadata often strip out when files move between ElevenLabs, n8n, and Audacity because each tool handles tags differently. Use n8n's File node to embed metadata in the MP3 ID3 tags before final export, or store metadata in a separate JSON file alongside each audio chunk and re-attach it in post-production using FFmpeg.
Can I use a free tier to start automated audiobook production?
ElevenLabs offers 10,000 free characters per month, which covers roughly 30-50 minutes of narration depending on voice and speed; n8n's free tier includes 5,000 executions per month and unlimited workflows. For a single 300-page novel (≈80,000 words), you'll exceed ElevenLabs free limits, so budget $5-15/month for starter text-to-speech credits or use an open-source alternative like Piper or Coqui TTS if cost is the primary constraint.
How do I handle chapters and metadata in the pipeline?
Split your source text into chapter files before feeding them to n8n; use a webhook or file-upload trigger to process each chapter sequentially, store the MP3 output with a naming convention (e.g., 01-chapter-title.mp3), and use Audacity's batch processing or a command-line tool like FFmpeg to tag metadata (title, author, chapter number) before packaging into an M4B or ZIP. Store chapter metadata (duration, file path, order) in a JSON file or database row so downstream steps can assemble a valid audiobook structure.
What quality loss happens when I automate voice synthesis?
ElevenLabs' neural voices are near-human but can mispronounce proper nouns, technical terms, and unusual punctuation; Audacity's normalization and compression help but cannot fix synthesis errors. Test a 5-10 minute sample chapter with your chosen voice and review for mispronunciations, pacing, and breath placement; if errors are frequent, either add a pronunciation guide in your source text (e.g., [Pronunciation: Cholmondeley = "Chumley"]) or use a lower-cost voice and accept minor artifacts.
How do I distribute the finished audiobooks?
Export your final M4B or MP3 chapters from Audacity, upload to a distribution platform like Draft2Digital, Findaway Voices, or ACX (Amazon's audiobook marketplace), or host on your own website with a player embed. n8n can automate the upload step by triggering after Audacity finishes processing, sending the file to cloud storage (S3, Google Drive) and logging the URL and metadata to a CRM or spreadsheet for tracking.
For a deeper technical reference, see n8n's documentation.