Hi everyone 👋
I’m building a Zap that automatically transforms a PDF into an MP3 audio file using Zapier, and I’d love to confirm if this process can be done fully within Zapier or if I need an external integration.
Here’s my current workflow:
- 	Email by Zapier – receive an email with a PDF attachment 
- 	PDF.co – convert PDF to text 
- 	AI by Zapier – rewrite and format the text into a natural spoken narration 
- 	Code by Zapier (JavaScript) – split the text into smaller chunks (for large files) 
- 	Code by Zapier (JavaScript) – prepare each chunk for text-to-speech conversion 
- 	Looping by Zapier – loop through text chunks 
- 	Webhooks by Zapier – send each chunk to Google Cloud Text-to-Speech (returns audioContentin base64)
- 	Code by Zapier (JavaScript) – decode the base64 audio into a valid MP3 file object 
- 	Google Drive – upload the MP3 
- 	Email by Zapier – send the Drive link back to the sender 
Everything works fine up to the upload step — the audio data is valid, but sometimes Google Drive saves it as .mp3.txt instead of a playable file.
👉 My question:
Has anyone here successfully completed a PDF → Text → MP3 automation inside Zapier without external apps?
And if so, what’s the best way to handle the final file creation so Drive recognizes it as an actual MP3 (not text)?
Thanks so much for any insight or examples!
— Giovanni
