Voice To Podcast Script Generator
Send a voice note via Telegram to get an automatically transcribed and structured podcast script saved to Notion.
freelancers and consultants
What it does
Send a voice note via Telegram to instantly turn your ideas into a structured podcast script with hooks and CTAs, ready in your Notion workspace for quick editing or publishing.
Step by step
- Set up a Telegram bot webhook to listen for incoming voice messages.
- Use the OpenAI Whisper API endpoint to convert audio files into text transcripts.
- Parse the JSON response from Notion's create_page API to save the final script.
- Implement a simple state machine in your code to handle the sequence of steps.
Where the LLM does the work
- Prompt the LLM to extract specific podcast elements like hooks and calls-to-action from the raw transcript.
- Instruct the model to restructure fragmented voice notes into a coherent, professional script format.
- Ask the AI to suggest engaging titles or summaries based on the content's tone and key topics.
Watch out for
Large audio files may exceed Telegram's size limits so you must compress or chunk the audio before sending it to OpenAI.
Notion API permissions can cause silent failures if the bot token lacks write access to the target database, add explicit error handling for 403 responses.
Voice notes often contain filler words and rambling that confuse structure extraction so include a cleanup step in your prompt instructions.
OpenAI transcription costs can accumulate quickly with long recordings so implement a duration check to warn users before processing lengthy files.
Tools that fit
The agent brief
Everything your agent needs, including the gotchas. Copy it and go.
You are helping me build the following AI agent workflow. ## Goal Voice To Podcast Script Generator: Send a voice note via Telegram to get an automatically transcribed and structured podcast script saved to Notion. ## Specification - What it does: Send a voice note via Telegram to instantly turn your ideas into a structured podcast script with hooks and CTAs, ready in your Notion workspace for quick editing or publishing. - Trigger: Triggered by an event (Event · on new Telegram voice message) - Autonomy: Fully hands-off - Expected setup effort: under an hour - Tools/services involved: - Telegram: Receive voice notes - OpenAI: Transcribe and analyze audio - Notion: Save script outlines and metadata ## Known pitfalls, handle each one explicitly in your implementation 1. Large audio files may exceed Telegram's size limits so you must compress or chunk the audio before sending it to OpenAI. 2. Notion API permissions can cause silent failures if the bot token lacks write access to the target database, add explicit error handling for 403 responses. 3. Voice notes often contain filler words and rambling that confuse structure extraction so include a cleanup step in your prompt instructions. 4. OpenAI transcription costs can accumulate quickly with long recordings so implement a duration check to warn users before processing lengthy files. ## Reference implementation https://n8n.io/workflows/7142 (workflow template) Fetch and inspect this before building. If it matches my stack, adapt it; if not, rebuild the pattern with my tools. ## Process requirements 1. Before building: ask me which of the listed tools I actually use and what my platform is (n8n / Make / code / other). Do not assume. 2. Adapt the pattern to my answers; do not force the reference stack. 3. Address every pitfall above; tell me how you handled each. 4. Provide a test plan I can run before letting this touch real data. 5. Ask before any step that sends messages, modifies data, or spends money. Source: https://usecasesforagents.com/use-case/voice-to-podcast-script-generator/ via usecasesforagents.com
Frequently asked questions
Can I use a different Messaging than Telegram?
Yes. Telegram is only the example messaging in this recipe. The same flow works with ClickSend API, Discord, Google Chat and LINE Messaging API. Swap the messaging connection and keep the rest of the setup as written.
Want this running in your business?
This is what I do. I design and build AI agents like this one, and keep them running. If you want it set up for your team instead of doing it yourself, get in touch.
Who it's for
Built for freelancers and consultants juggling this across every client, not just one.