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