Skip to main content

Telegram voice assistant with OpenAI & Gmail: manage & draft emails via voice

Workflow preview

Workflow preview
100%
Telegram voice assistant with OpenAI & Gmail: manage & draft emails via voice 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 AI Voice & Email Assistant: Manage, Draft & Discuss Emails via Voice Who’s it for This workflow is perfect for professionals and teams who want to manage email communications hands free di...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.memorybufferwindow, n8n-nodes-base.telegramtrigger, n8n-nodes-base.set, n8n-nodes-base.switch, n8n-nodes-base.telegram, @n8n/n8n-nodes-langchain.openai, n8n-nodes-base.gmailtool, @n8n/n8n-nodes-langchain.lmchatopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Telegram voice assistant with OpenAI & Gmail: manage & draft emails via voice
Workflow name
Telegram voice assistant with OpenAI & Gmail: manage & draft emails via voice

Telegram AI Voice & Email Assistant: Manage, Draft & Discuss Emails via Voice

Who’s it for

This workflow is perfect for professionals and teams who want to manage email communications hands-free directly from Telegram. Simply send a voice message to your bot and seamlessly check your recent emails, draft or send a reply, and discuss email threads—all powered by OpenAI’s transcription and chat capabilities, with no third-party voice agent required.

How it works / What it does

  • Sends voice messages to a Telegram bot, which are then transcribed via OpenAI.
  • Retrieves recent emails, drafts, or sends replies based on your commands.
  • Engages the user in conversational discussion about email content using OpenAI chat.
  • Responds in text or synthesized voice (OpenAI), creating a natural interactive experience.
  • Automates email management from Telegram, keeping you efficient on the go.

How to set up

  1. Create a Telegram bot via @BotFather and obtain your API token.
  2. Add the OpenAI API key and Gmail OAuth credentials to n8n.
  3. Assign your credentials to the Telegram, OpenAI, and Gmail nodes (Draft/Send/Get Email).
  4. Deploy and activate the workflow.
  5. Interact with your Telegram bot: just send voice messages and let the assistant manage your emails!

Requirements

  • Telegram Bot Token
  • OpenAI API Key
  • Gmail OAuth Credentials

How to customize the workflow

  • Adjust the Switch node to route and handle new message types or responses.
  • Integrate additional services such as Slack, Notion, or custom tools as needed.
  • Fine-tune prompts or the OpenAI transcription settings for your specific use case.
  • Modify email templates and memory/session nodes for advanced conversation flows.
  • Embed video guides or extra sticky notes for enhanced onboarding and usability.

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 - Window Buffer Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 2 - Telegram Trigger

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

Block 3 - Set 'Text'

Type / Role
n8n-nodes-base.set - set
Config choices
Version 3.4

Block 4 - Switch

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

Block 5 - Download File

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

Block 6 - Transcribe

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

Block 7 - Draft Email

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

Block 8 - OpenAI Chat Model1

Type / Role
@n8n/n8n-nodes-langchain.lmChatOpenAi - lmChatOpenAi
Config choices
Version 1.2

Block 9 - Transcribe1

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

Block 10 - Send Email

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

Block 11 - Get Emails

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

Block 12 - Email Manager

Type / Role
@n8n/n8n-nodes-langchain.agent - agent
Config choices
Version 1.7

Block 13 - Sticky Note8

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

Block 14 - Audio Response

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

Block 15 - Text Response

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

3. Summary Table

Workflow Telegram voice assistant with OpenAI & Gmail: manage & draft emails via voice
Complexity advanced
Nodes 15
Categories AI Chatbot
Author Barbora Svobodova
Published 07 Oct 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/9339/9339.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 Telegram voice assistant with OpenAI & Gmail: manage & draft emails via voice do?

Telegram AI Voice & Email Assistant: Manage, Draft & Discuss Emails via Voice Who’s it for This workflow is perfect for professionals and teams who want to manage email communications hands free di...

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 Chatbot use case.