Skip to main content

Convert Telegram voice notes into markdown journals with Groq Whisper and Gemini

Workflow preview

Workflow preview
100%
Convert Telegram voice notes into markdown journals with Groq Whisper and Gemini preview
Open on n8n.io

1. Workflow Overview

Telegram Voice Notes to Markdown Journal with Groq Whisper and Gemini This workflow transforms Telegram voice notes and audio files into clean markdown journal entries using Groq Whisper, CloudConv...

Best for

  • Personal Productivity automation workflows
  • Multimodal AI automation workflows
  • advanced n8n builders looking for reusable templates

Tools used

@n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.telegramtrigger, n8n-nodes-base.telegram, n8n-nodes-base.httprequest, n8n-nodes-base.code, @n8n/n8n-nodes-langchain.chainllm, n8n-nodes-base.converttofile, n8n-nodes-base.if

Source and attribution

This workflow is cataloged by N8N Workflows and links back to its original n8n.io source page by Atha Ahsan Xavier Haris.

Original n8n.io source

1.1 Workflow description

Title
Convert Telegram voice notes into markdown journals with Groq Whisper and Gemini
Workflow name
Convert Telegram voice notes into markdown journals with Groq Whisper and Gemini

Telegram Voice Notes to Markdown Journal with Groq Whisper and Gemini

This workflow transforms Telegram voice notes and audio files into clean markdown journal entries using Groq Whisper, CloudConvert, and Google Gemini.

It automatically downloads incoming Telegram audio messages, transcribes them with Groq Whisper, cleans the transcript into a readable reflective journal using Gemini, converts the result into a markdown file, and sends the journal back to Telegram.

For better audio compatibility, the workflow also includes a CloudConvert fallback path. If Groq Whisper rejects the original audio file because of container or codec issues, the workflow converts the audio to MP3 with CloudConvert and retries transcription automatically.

An optional Google Drive section can also archive all generated journals automatically.

This workflow is useful for journaling, voice-based note-taking, personal reflection, idea capture, daily logging, and building a lightweight AI-assisted second brain.


Common use cases

  • Convert Telegram voice notes into readable journal entries
  • Convert uploaded audio files into markdown journals
  • Create markdown journals automatically using AI
  • Capture thoughts, reflections, and ideas on the go
  • Build a voice-based personal knowledge system
  • Handle more audio formats by converting failed files to MP3
  • Archive AI-cleaned journals to Google Drive
  • Learn how to combine Telegram, Groq Whisper, CloudConvert, Gemini, markdown generation, and Google Drive in n8n

How it works

  • Starts from a Telegram Trigger
  • Detects incoming voice notes or audio files
  • Downloads the Telegram audio file
  • Sends the original audio to Groq Whisper for transcription
  • If Groq rejects the file, converts the audio to MP3 with CloudConvert
  • Retries transcription with Groq Whisper using the converted MP3 file
  • Formats the transcript with timestamps
  • Sends the transcript to Google Gemini for cleanup and readability improvements
  • Preserves the original tone and meaning while removing filler words and transcription artifacts
  • Parses the AI response into structured JSON
  • Converts the final journal into a markdown (.md) file
  • Sends the markdown journal back to Telegram
  • Optionally uploads the journal to Google Drive

Setup steps

  • Connect your Telegram credentials
  • Open the Transcribe Audio with Groq Whisper node
  • Replace the placeholder Authorization header with your Groq API key
  • Install the verified CloudConvert community node if it is not already installed
  • Connect your CloudConvert credentials for the MP3 fallback path
  • Connect your Google Gemini credentials
  • (Optional) Connect your Google Drive credentials
  • Test the workflow manually with a Telegram voice note or audio file
  • Activate the workflow
  • Send a voice note or audio file to your Telegram bot

CloudConvert Audio Compatibility Fallback

The CloudConvert path is included to improve reliability with different audio uploads.

Groq Whisper supports common audio formats, but some files may still fail because of unusual containers, codecs, MIME types, or metadata. When that happens, this workflow converts the failed audio file to MP3 with CloudConvert, then sends the MP3 back to Groq Whisper for transcription.

This fallback is especially useful for some uploaded M4A, OGG, OPUS, or recording files that may not be accepted directly.

If you only want to support files that Groq accepts directly, you can disconnect the CloudConvert fallback path.


Optional Google Drive Backup

The Google Drive section is fully optional.

If connected:

  • The workflow searches for a Personal Journal (n8n) folder
  • Creates the folder automatically if it does not exist
  • Uploads generated markdown journals automatically

If you do not want cloud backups, simply disconnect the Google Drive section.


Notes

This workflow uses:

  • Groq Whisper (whisper-large-v3) for transcription
  • CloudConvert for optional audio-to-MP3 fallback conversion
  • Google Gemini for transcript cleanup and journal formatting
  • Telegram Bot API for message delivery
  • Markdown file generation for portable journaling

The AI prompt is designed to:

  • Preserve the speaker’s original meaning
  • Keep the natural reflective monologue style
  • Improve punctuation and readability
  • Avoid summarization or hallucinated content

The generated markdown journals can easily be imported into note-taking tools such as Obsidian, Logseq, Notion, or any markdown-based system.


Need Help?

Have questions or want to connect? Reach me on LinkedIn.

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 - Google Gemini Chat Model

Type / Role
@n8n/n8n-nodes-langchain.lmChatGoogleGemini - lmChatGoogleGemini
Config choices
Version 1.1

Block 2 - Telegram Voice Trigger

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

Block 3 - Download Telegram Audio File

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

Block 4 - Transcribe Audio with Groq Whisper

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

Block 5 - Format Timestamped Transcript

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 6 - Clean Transcript with Gemini

Type / Role
@n8n/n8n-nodes-langchain.chainLlm - chainLlm
Config choices
Version 1.9

Block 7 - Parse AI Response JSON

Type / Role
n8n-nodes-base.code - code
Config choices
Version 2

Block 8 - Convert Journal to Markdown File

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

Block 9 - Send Markdown Journal to Telegram

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

Block 10 - Check if Journal Folder Exists

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

Block 11 - Upload Journal to New Folder

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 12 - Upload Journal to Existing Folder

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 13 - Find “Personal Journal (n8n)” Folder

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 14 - Create “Personal Journal (n8n)” Folder

Type / Role
n8n-nodes-base.googleDrive - googleDrive
Config choices
Version 3

Block 15 - Sticky Note

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

Block 16 - Sticky Note1

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

Block 17 - Sticky Note2

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

Block 18 - Sticky Note3

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

Block 19 - Sticky Note4

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

Block 20 - Sticky Note5

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

Block 21 - Sticky Note6

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

Block 22 - Sticky Note7

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

Block 23 - Convert Audio to MP3 with CloudConvert

Type / Role
@cloudconvert/n8n-nodes-cloudconvert.cloudConvert - cloudConvert
Config choices
Version 1

Block 24 - Transcribe Converted MP3 with Groq Whisper

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

3. Summary Table

Workflow Convert Telegram voice notes into markdown journals with Groq Whisper and Gemini
Complexity advanced
Nodes 24
Categories Personal Productivity, Multimodal AI
Author Atha Ahsan Xavier Haris
Published 12 May 2026

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/15652/15652.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 Convert Telegram voice notes into markdown journals with Groq Whisper and Gemini do?

Telegram Voice Notes to Markdown Journal with Groq Whisper and Gemini This workflow transforms Telegram voice notes and audio files into clean markdown journal entries using Groq Whisper, CloudConv...

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 Personal Productivity, Multimodal AI use case.