Skip to main content

Transcribe & analyze Telegram voice messages with AssemblyAI & GPT-4.1 to Gmail

Workflow preview

Workflow preview
100%
Transcribe & analyze Telegram voice messages with AssemblyAI & GPT-4.1 to Gmail preview
Open on n8n.io

Important notice

This workflow is provided as-is. Please review and test before using in production.

1. Workflow Overview

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 ...

Best for

  • AI Summarization automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

n8n-nodes-base.telegram, n8n-nodes-base.wait, n8n-nodes-base.if, n8n-nodes-base.stickynote, n8n-nodes-base.httprequest, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.gmail

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Sridevi Edupuganti.

Original n8n.io source

1.1 Workflow description

Title
Transcribe & analyze Telegram voice messages with AssemblyAI & GPT-4.1 to Gmail
Workflow name
Transcribe & analyze Telegram voice messages with AssemblyAI & GPT-4.1 to Gmail

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

  1. A voice message is sent to a connected Telegram Bot.
  2. The workflow fetches the file and uploads it to AssemblyAI.
  3. AssemblyAI generates a transcript from the audio.
  4. 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
  5. The formatted analysis is sent as an email report using Gmail.
  6. The workflow ends with a clean summary email containing actionable insights.

How to use

  1. Import this workflow into your n8n instance.
  2. Set up and connect the required credentials:
    • Telegram Bot API token
    • AssemblyAI API key
    • OpenAI API key
    • Gmail OAuth2 account
  3. Replace placeholders (e.g., <<YOUR_EMAIL ID>> and <<YOUR_ASSEMBLYAI_API_KEY>>) with your actual values.
  4. 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).

1.2 Logical Blocks

This catalog entry is organized from the workflow JSON. The node-level section below shows the executable blocks available for review before importing the template.

2. Block-by-Block Analysis

Block 1 - Get a file

Type / Role
n8n-nodes-base.telegram - telegram
Config choices
Version 1.2

Block 2 - Wait

Type / Role
n8n-nodes-base.wait - wait
Config choices
Version 1.1

Block 3 - If

Type / Role
n8n-nodes-base.if - if
Config choices
Version 2.2

Block 4 - Sticky Note

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 5 - Sticky Note2

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 6 - Sticky Note3

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 7 - Sticky Note5

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 8 - Sticky Note6

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

Block 9 - Get Transcript

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 10 - Upload Audio to Assembly AI

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 11 - Route: Text vs Audio

Type / Role
n8n-nodes-base.switch - switch
Config choices
Version 3.2

Block 12 - Transcript Analysis (AI)

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 13 - Send Analysis Email

Type / Role
n8n-nodes-base.gmail - gmail
Config choices
Version 2.1

Block 14 - The End

Type / Role
n8n-nodes-base.noOp - noOp
Config choices
Version 1

Block 15 - Request Transcript from AssemblyAI2

Type / Role
n8n-nodes-base.httpRequest - httpRequest
Config choices
Version 4.2

Block 16 - Voice Message

Type / Role
n8n-nodes-base.telegramTrigger - telegramTrigger
Config choices
Version 1.2

Block 17 - Sticky Note1

Type / Role
n8n-nodes-base.stickyNote - stickyNote
Config choices
Version 1

3. Summary Table

Workflow Transcribe & analyze Telegram voice messages with AssemblyAI & GPT-4.1 to Gmail
Complexity advanced
Nodes 17
Categories AI Summarization
Author Sridevi Edupuganti
Published 15 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8605/8605.json as the source template for this automation.

  2. 2. Import the template into n8n

    Open n8n, import the downloaded JSON, and review each node before activating the workflow.

  3. 3. Configure credentials and variables

    Replace placeholder credentials, API keys, webhook URLs, account IDs, and environment-specific values with your own settings.

  4. 4. Test with sample data

    Run the workflow manually or in a staging workspace, inspect node output, and confirm downstream systems receive the expected data.

  5. 5. Activate and monitor

    Enable the workflow only after testing, then monitor executions, errors, and rate limits during the first production runs.

5. General Notes & Resources

Review imported nodes carefully before activation. This catalog entry is intended to help you inspect the workflow structure, understand required services, and find related templates faster.

Node names, credentials, schedules, webhook paths, and external service limits may need adjustment for your workspace.

Frequently asked questions

What does Transcribe & analyze Telegram voice messages with AssemblyAI & GPT-4.1 to Gmail do?

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 ...

What do I need before importing this workflow?

Review the workflow JSON, configure any required credentials in n8n, and test the automation in a safe workspace before using it in production.

Can I customize this workflow?

Yes. Use the block-by-block analysis and the downloadable JSON to inspect each node, then adjust credentials, prompts, schedules, filters, or destinations for your AI Summarization use case.