Telegram Voice → AI Summary & Sentiment Analysis via Gmail
This n8n template demonstrates how to capture Telegram voice messages, transcribe them into text using AssemblyAI, analyze the transcript with AI for summary and sentiment insights, and finally deliver a structured email report via Gmail.
Use cases
- Automating meeting or lecture voice note transcriptions.
- Gathering student feedback or training session insights from voice messages.
- Quickly summarizing Telegram-delivered audio inputs into structured reports.
- Reducing manual effort in capturing sentiment and key action items from conversations.
How it works
- A voice message is sent to a connected Telegram Bot.
- The workflow fetches the file and uploads it to AssemblyAI.
- AssemblyAI generates a transcript from the audio.
- The transcript is analyzed by OpenAI to extract:
- Executive summary (120–180 words)
- Sentiment label and score
- Key points
- Action items (if any)
- Notable quotes
- Topics
- The formatted analysis is sent as an email report using Gmail.
- The workflow ends with a clean summary email containing actionable insights.
How to use
- Import this workflow into your n8n instance.
- Set up and connect the required credentials:
- Telegram Bot API token
- AssemblyAI API key
- OpenAI API key
- Gmail OAuth2 account
- Replace placeholders (e.g.,
<<YOUR_EMAIL ID>>
and <<YOUR_ASSEMBLYAI_API_KEY>>
) with your actual values.
- Start the workflow. Whenever a voice message is received on the Telegram Bot, the workflow will process it end-to-end and deliver a polished email report.
Requirements
- Telegram Bot account (API token)
- AssemblyAI account with API key
- OpenAI account with API key
- Gmail OAuth2 credentials configured in n8n
- Active n8n instance
Customising this workflow
You can customize the email formatting, sentiment thresholds, or extend the workflow to save transcripts into Google Drive, Airtable, or any other connected apps. Additionally, you can trigger the same workflow from multiple input sources (e.g., local audio files, Google Drive links, or Telegram).