Automatically Transcribe Telegram Voice Messages with OpenAI Whisper & Google Workspace

πŸŽ™οΈ VoiceScribe AI: Telegram Audio Message Auto Transcription with OpenAI Whisper > Automatically transcribe Telegram voice messages and store them as structured logs in Google Sheets, while backing up the audio in Google Drive.

πŸ§‘β€πŸ’Ό Who’s it for

Journalists, content creators, or busy professionals who often record voice memos or short interviews on the go. Anyone who wants to turn voice recordings into searchable, structured notes.

βš™οΈ How it works / What it does

User sends a voice message to a Telegram bot. n8n checks if the message is an audio voice note. If valid, it downloads the audio file and: Transcribes it using OpenAI Whisper (or your LLM of choice). Uploads the original audio to Google Drive for safekeeping. The transcript and audio metadata are merged. The workflow: Logs the data into a Google Sheet. Sends a formatted confirmation message to the user via Telegram.

If the input is not audio, the bot politely informs the user that only voice messages are accepted.

βœ… Features

Accepts only Telegram voice messages. Transcribes via OpenAI Whisper. Logs DateTime, Duration, Transcript, and Audio URL to Google Sheets. Sends user feedback message via Telegram with download + transcript link.

πŸš€ How to set up Prerequisites

Telegram Bot connected to n8n (via Telegram Trigger) Google Drive & Google Sheets credentials configured OpenAI or Whisper API credentials (for transcription)

Steps

Telegram Trigger
Start the flow when a new message is sent to your bot. Check Message Type
Use a conditional node to confirm it's a voice message. Download Voice Message
Download the .oga file from Telegram. Transcribe Audio
Send the binary audio to OpenAI Whisper or your transcription service. Upload to Google Drive
Backup the original audio file. Merge Outputs
Combine transcription with Drive metadata. Transform to Row Format
Prepare structured JSON for Google Sheets. Append to Google Sheet
Store the transcript log (DateTime, Duration, Transcript, AudioURL). Send Confirmation to User
Inform the user via Telegram with their transcript and download link. Unsupported Message Handler
Reply to users who send non-audio messages.

πŸ“„ Example Output in Google Sheet

| DateTime | Duration | Transcript | AudioURL | |-----------------------|----------|--------------------------------------------|------------------------------------------------------------| | 2025-08-07T13:12:19Z | 27 | Dα»± Γ‘n Outlet Activation lΓ ... | https://drive.google.com/uc?id=xxxx&export=download |

🧠 How to customize the workflow

Swap Whisper with Deepgram, AssemblyAI, or other providers. Add speaker name detection or prompt-based tagging via GPT. Route transcripts into Notion, Airtable, or CRM systems. Add multi-language support or summarization steps.

πŸ“¦ Requirements

| Component | Required | |---------------------|----------| | Telegram API | βœ… | | Google Drive API | βœ… | | Google Sheets API | βœ… | | OpenAI Whisper API | βœ… | | n8n Cloud or Self-hosted | βœ… |

Created with ❀️ using n8n

0
Downloads
0
Views
8.74
Quality Score
intermediate
Complexity
Author:Trung Tran(View Original β†’)
Created:8/13/2025
Updated:8/25/2025

πŸ”’ Please log in to import templates to n8n and favorite templates

Workflow Visualization

Loading...

Preparing workflow renderer

Comments (0)

Login to post comments