Skip to main content

Multi-modal personal AI assistant with Telegram & Google Gemini for productivity tools

Workflow preview

Workflow preview
100%
Multi-modal personal AI assistant with Telegram & Google Gemini for productivity tools preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Automate Your Life: The Ultimate AI Assistant in Telegram (Powered by Google Gemini) Transform your Telegram messenger into a powerful, multi modal personal or team assistant. This n8n workflow cre...

Best for

  • Personal Productivity automation workflows
  • 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.telegram, n8n-nodes-base.merge, n8n-nodes-base.set, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.scheduletrigger

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Multi-modal personal AI assistant with Telegram & Google Gemini for productivity tools
Workflow name
Multi-modal personal AI assistant with Telegram & Google Gemini for productivity tools

Automate Your Life: The Ultimate AI Assistant in Telegram (Powered by Google Gemini)

Transform your Telegram messenger into a powerful, multi-modal personal or team assistant. This n8n workflow creates an intelligent agent that can understand text, voice, images, and documents, and take action by connecting to your favorite tools like Google Calendar, Gmail, Todoist, and more.

At its core, a powerful Manager Agent, driven by Google Gemini, interprets your requests, orchestrates a team of specialized sub-agents, and delivers a coherent, final response, all while maintaining a persistent memory of your conversations.

Key Features

🧠 Intelligent Automation: Uses Google Gemini as a central "Manager Agent" to understand complex requests and delegate tasks to the appropriate tool.

🗣️ Multi-Modal Input: Interact naturally by sending text, voice notes, photos, or documents directly into your Telegram chat.

🔌 Integrated Toolset: Comes pre-configured with agents to manage your memory, tasks, emails, calendar, research, and project sheets.

🗂️ Persistent Memory: Leverages Airtable as a knowledge base, allowing the assistant to save and recall personal details, company information, or past conversations for context-rich interactions.

⚙️ Smart Routing: Automatically detects the type of message you send and routes it through the correct processing pipeline (e.g., voice is transcribed, images are analyzed).

🔄 Conversational Context: Utilizes a window buffer to maintain short-term memory, ensuring follow-up questions and commands are understood within the current conversation.

How It Works

  1. The Telegram Trigger node acts as the entry point, receiving all incoming messages (text, voice, photo, document).

  2. A Switch node intelligently routes the message based on its type:

  • Voice: The audio file is downloaded and transcribed into text using a voice-to-text service.

  • Photo: The image is downloaded, converted to a base64 string, and prepared for visual analysis.

  • Document: The file is routed to a document handler that extracts its text content for processing.

  • Text: The message is used as-is.

  1. A Merge node gathers the processed input into a unified prompt.

  2. The Manager Agent receives this prompt. It analyzes the user's intent and orchestrates one or more specialized agents/tools:

  • memory_base (Airtable): For saving and retrieving information from your long-term knowledge base.

  • todo_and_task_manager (Todoist): To create, assign, or check tasks.

  • email_agent (Gmail): To compose, search, or send emails.

  • calendar_agent (Google Calendar): To schedule events or check your agenda.

  • research_agent (Wikipedia/Web Search): To look up information.

  • project_management (Google Sheets): To provide updates on project trackers.

  1. After executing the required tasks, the Manager Agent formulates a final response and sends it back to you via the Telegram node.

Setup Instructions

Follow these steps to get your AI assistant up and running.

  1. Telegram Bot:
  • Create a new bot using the BotFather in Telegram to get your Bot Token.
  • In the n8n workflow, configure the Telegram Trigger node's webhook.
  • Add your Bot Token to the credentials in all Telegram nodes.
  • For proactive messages, replace the chatId placeholders with your personal Telegram Chat ID.
  1. Google Gemini AI:
  • In the Google Gemini nodes, add your credentials by providing your Google Gemini API key.
  1. Airtable Knowledge Base:
  • Set up an Airtable base to act as your assistant's long-term memory.
  • In the memory_base nodes (Airtable nodes), configure the credentials and provide the Base ID and Table ID.
  1. Google Workspace APIs:
  • Connect your Google account credentials for Gmail, Google Calendar, and Google Sheets.
  • In the relevant nodes, specify the Document/Sheet IDs you want the assistant to manage.
  1. Connect Other Tools:
  • Add your credentials for Todoist and any other integrated tool APIs.
  1. Configure Conversational Memory:
  • This workflow is designed for multi-user support. Verify that the Session Key in the "Window Buffer Memory" nodes is correctly set to a unique user identifier from Telegram (e.g., {{ $json.chat.id }}). This ensures conversations from different users are kept separate.
  1. Review Schedule Triggers:
  • Check any nodes designed to run on a schedule (e.g., "At a regular time"). Adjust their cron expressions, times, and timezone to fit your needs (e.g., for daily summaries).
  1. Test the Workflow:
  • Activate the workflow.
  • Send a text message to your bot (e.g., "Hello!").

Estimated Setup Time

  • 30–60 minutes: If you already have your API keys, account credentials, and service IDs (like Sheet IDs) ready.

  • 2–3 hours: For a complete, first-time setup, which includes creating API keys, setting up new spreadsheets or Airtable bases, and configuring detailed permissions.

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

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

Block 4 - Telegram1

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

Block 5 - Merge

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

Block 6 - Edit Fields

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

Block 7 - Edit Fields1

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

Block 8 - Switch

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

Block 9 - Manager Agent

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

Block 10 - Schedule Trigger

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

Block 11 - Edit Fields3

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

Block 12 - Edit Fields4

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

Block 13 - Schedule Trigger1

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

Block 14 - Telegram2

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

Block 15 - Code

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

Block 16 - Edit Fields5

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

Block 17 - Google Gemini Chat Model

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

Block 18 - Analyze image

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 19 - Transcribe a recording

Type / Role
@n8n/n8n-nodes-langchain.googleGemini - googleGemini
Config choices
Version 1

Block 20 - memory_base

Type / Role
@n8n/n8n-nodes-langchain.agentTool - agentTool
Config choices
Version 2.2

Block 21 - get many records

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

Block 22 - Create a record - personal

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

Block 23 - Search - personal

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

Block 24 - Create or Update Existing - personal

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

Showing the first 24 of 83 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Multi-modal personal AI assistant with Telegram & Google Gemini for productivity tools
Complexity advanced
Nodes 83
Categories Personal Productivity, AI Chatbot
Author Anshul Chauhan
Published 21 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8793/8793.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 Multi-modal personal AI assistant with Telegram & Google Gemini for productivity tools do?

Automate Your Life: The Ultimate AI Assistant in Telegram (Powered by Google Gemini) Transform your Telegram messenger into a powerful, multi modal personal or team assistant. This n8n workflow cre...

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