Send a Voice Note on Telegram to Generate a Professional Email with ChatGPT - n8n Workflow | Neura Market

    Send a Voice Note on Telegram to Generate a Professional Email with ChatGPT

    ## Telegram Voice Message → Automatic Email ![baptistefortn8nautomationtelegramaudio.png](fileId:1951) **Imagine:** What if you could turn a simple Telegram voice message into a professional email—without typing, copying, pasting, or even opening Gmail? This workflow does it all for you: just record a voice note, and it will transcribe, format, and write a clean HTML email, **then send it to the right person—all by itself.** ## Prerequisites - **Create a Telegram bot** (via [BotFather](https://t.me/botfather)) and get the token. - **Have an OpenAI account** (API key for Whisper and GPT-4). - **Set up a Gmail account with OAuth2.** - **Import the JSON template** into your automation platform. ## © Detailed Flow Architecture ### 1. Telegram Trigger ![workflown8ntelegramvoicebaptistefort.png](fileId:1953) **Node:** Telegram Trigger. This node listens to all **Message** events received by the specified bot (e.g., “BO OFFICIEL BAPTISE”). Whenever a user sends a voice message, the trigger fires automatically. > Only one Telegram trigger per bot is possible (API limitation). **Key parameter:** - `Trigger On`: Message ### 2. Wait **Node:** Wait. Used to buffer or smooth out calls to avoid collisions if you receive several voice messages in a row. ### 3. Retrieve the Audio File ![workflowbaptistefortemailtelegramaudio.png](fileId:1952) **Node:** Get a file - **Type:** Telegram (resource: `file`) - **Parameter:** - `fileId = {{$json[message][voice][file_id]}}` This node fetches the voice file from Telegram received in step 1. ### 4. Automatic Transcription (Whisper) ![baptistefortn8ntranscriptiontelegramvoice.png](fileId:1950) **Node:** Transcribe a recording - **Resource:** audio - **Operation:** transcribe - **API Key:** Your OpenAI account. The audio file is sent to OpenAI Whisper: the output is clean, accurate text ready to be processed. ### 5. Optional Wait (Wait1) **Node:** Wait1. Same purpose as step 2: useful if you want to buffer or add a delay to absorb processing time. ### 6. Structured Email Generation (GPT-4 + Output Parser) **Node:** AI Agent. This is the core of the flow: - The transcribed text is sent to GPT-4 (or GPT-4.1-mini here, via OpenAI Chat Model) - **Prompt used:** ```markdown You are an assistant specialized in writing professional emails. Based on the text below, you must: {{ $json.text }} 1. Detect if there is a recipient's email address in the text (or something similar like send to fort.baptiste.pro) - If it's not a complete address, complete it by assuming it ends with `@gmail.com`. 2. Understand the user's intent (resignation, refusal, application, excuse, request, etc.) 3. Generate a relevant and concise email subject, faithful to the content 4. Write a professional message, structured in HTML: - With a polite tone, adapted to the situation - Formatted with HTML tags (`<p>`, `<br>`, etc.) - No spelling mistakes in French - My first name is Jeremy and if the text says he is not happy, specify the wish to resign You must always return your answer in the following strict JSON format, with no extra text: ``` ```json { "email": "adresse@gmail.com", "subject": "Objet de l'email", "body": "<p>Contenu HTML de l'email</p>" } ``` Everything is strictly validated and formatted with the **Structured Output Parser** node. ### 7. Automatic Email Sending (Gmail) **Node:** Send a message - **To:** `{{$json.output.email}}` - **Subject:** `{{$json.output.subject}}` - **HTML Body:** `{{$json.output.body}}` This node takes the JSON structure returned by the AI and sends the email via Gmail, to the right recipient, with the correct subject and full HTML formatting.

    Platform
    n8n
    Category
    Communication
    Price
    Free
    Creator
    Baptiste Fort
    • wait
    • gmail
    • telegram
    • stickyNote
    • agent
    • telegramTrigger
    • openAi
    • lmChatOpenAi
    • outputParserStructured
    Back to MarketplaceMore n8n Workflows

    How to import this workflow into n8n

    1. 1Purchase or download the workflow to get the n8n workflow JSON file.
    2. 2In your n8n instance, open Workflows and choose "Import from File" (or paste the JSON with Ctrl+V on the canvas).
    3. 3Open each node marked with a credential warning and connect your own accounts and API keys.
    4. 4Run the workflow once manually to verify the data flow, then toggle it to Active.

    Related Communication workflows

    • Automate Outbound Calls with Ultravox AI and TwilioFree
    • Automate Intelligent Email Classification with AI in Gmail
    Free
  1. Generate AI videos and carousels with Blotato for Instagram and TikTokFree
  2. Automating WhatsApp Replies Using GoHighLevel with Redis and AnthropicFree
  3. Automate Gmail Email Labeling with AI for Enhanced OrganizationFree
  4. Automate Email Summarization and Logging with AI and Google SheetsFree
  5. More from Baptiste Fort

    • Scrape Google Maps Leads (Email, Phone, Website) Using Apify + Google Places + Airtable
    • Daily Task Reminder System: Airtable to Slack Automated Notifications
    All Communication workflows →All n8n workflows →

    Need help customizing this workflow?

    Our automation experts adapt it to your exact stack, data, and process — or build one from scratch.

    Get a Custom Build
    Neura Market
    Neura Market
    Marketplace
    Directories
    Resources

    Marketplace

    • Prompts
    • Workflows
    • Agents Store
    • Workflow Packs
    • Categories
    • Marketplace

    Directories

    • AI Tools Directory
    • ChatGPT
    • Claude
    • Gemini
    • Cursor
    • Grok
    • DeepSeek
    • Perplexity
    • CoPilot
    • Midjourney
    • Stable Diffusion
    • MCP Servers
    • .md Directory
    • All Directories

    Free Tools

    • AI Text Humanizer
    • AI Content Detector
    • Workflow Generator
    • Model Comparison
    • AI Pricing Calculator
    • AI Benchmarks
    • ROI Calculator
    • All Free Tools

    Resources

    • AI News
    • Blog
    • AI Models
    • Integrations
    • Alternatives
    • n8n vs Zapier
    • Make vs Zapier
    • n8n vs Make
    • Resource Library
    • Documentation

    Community

    • AI Jobs
    • AI Events
    • AI Companies
    • Start Selling
    • Sell n8n Workflows
    • Sell AI Agents
    • Sell Prompts
    • Creator Guide
    • Advertise
    • Affiliates

    Company

    • About
    • Contact
    • Help
    • Careers
    • Pricing
    • Terms
    • Privacy
    • License
    • DMCA

    Stay Updated

    Get the latest AI tools and insights delivered to your inbox.

    Neura Market Logoneuramarket

    © 2026 Neura Market. All rights reserved.