Automating Audio-to-Text Transcription via Telegram and Cloudflare (n8n template)
How It Works:
1️⃣ Telegram Bot as a Trigger – Listens for voice messages and downloads them.
2️⃣ Filtering Audio Files – Ensures only valid audio formats (like OGG) are processed.
3️⃣ Google Drive Upload – Saves the audio file for further processing.
4️⃣ Convertio API – Converts the audio file to MP3.
5️⃣ Cloudflare Whisper AI – Transcribes the MP3 file to text.
6️⃣ Cohere AI Search – Performs an intelligent search based on the transcribed text.
7️⃣ Sending Response to Telegram – The final text output is returned to the user via Telegram.
8️⃣ Cleanup – Deletes the processed file from Google Drive to keep things tidy.
Setup Telegram Bot: Goto BotFather and type /newbot and get the access/API token
Setup your Telegram credentials inside n8n:
Change Your $CLOUDFLARE_ACCOUNT_ID to Your Original ID
login to your dashboard: https://dash.cloudflare.com/

Change $CLOUDFLARE_API_TOKEN to your original API key:

