Skip to main content

Personal assistant bot with multi-agent system using Telegram & Google Gemini

Workflow preview

Workflow preview
100%
Personal assistant bot with multi-agent system using Telegram & Google Gemini preview
Open on n8n.io

Important notice

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

1. Workflow Overview

How It Works Telegram Trigger receives incoming messages (text, voice, photo, document). Switch routes by message type to appropriate processors: Text → forwarded as is. Voice → downloaded and sent...

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

Original n8n.io source

1.1 Workflow description

Title
Personal assistant bot with multi-agent system using Telegram & Google Gemini
Workflow name
Personal assistant bot with multi-agent system using Telegram & Google Gemini

How It Works

  • Telegram Trigger receives incoming messages (text, voice, photo, document).
  • Switch routes by message type to appropriate processors:
    • Text → forwarded as-is.
    • Voice → downloaded and sent to Transcribe a recording.
    • Photo → downloaded, converted to base64, then sent to Analyze image.
    • Document → routed to document handler.
  • Merge collects the processed input and passes a unified prompt to Manager Agent.
  • Manager Agent (LM: Google Gemini) orchestrates specialized agents/tools:
    • memory_base (Airtable) → saving & retrieving personal/company memory
    • todo_and_task_manager (Todoist / Google Sheets) → tasks
    • email_agent (Gmail) → composing/sending emails
    • calendar_agent (Google Calendar) → scheduling
    • research_agent (SerpAPI / Wikipedia / Wolfram) → web research
    • project_management (Google Sheets) → project updates
  • Manager Agent updates memory windows and sends the final reply back to Telegram.

Setup Steps

  1. Create and configure Telegram bot; set bot token/webhook in Telegram Trigger and Telegram nodes. Update chatId placeholders.
  2. Add Google Gemini (PaLM) credentials in the Gemini model nodes.
  3. Configure Airtable knowledge-base: set base ID & table IDs used by memory_base nodes.
  4. Connect Google APIs: Sheets, Calendar, Gmail credentials and set document/sheet IDs.
  5. Configure Todoist, SerpAPI, WolframAlpha credentials and any other tool API keys.
  6. Verify Window Buffer Memory sessionKey values (match user sessions).
  7. Check schedule triggers (cron expressions) and adjust times/timezone.
  8. Run quick tests: send text, voice, image, and confirm replies and memory writes.

Estimated Setup Time

  • 30–60 minutes → if credentials & IDs are ready.
  • 2–4 hours → full setup (API keys, spreadsheets, Airtable, detailed permissions).
  • 4–8 hours → complex deployment (team permissions, multiple calendars, advanced tool tuning, production testing).

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 85 workflow blocks. Download the JSON for the full node graph.

3. Summary Table

Workflow Personal assistant bot with multi-agent system using Telegram & Google Gemini
Complexity advanced
Nodes 85
Categories Personal Productivity, AI Chatbot
Author Akil A
Published 14 Sept 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/8582/8582.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 Personal assistant bot with multi-agent system using Telegram & Google Gemini do?

How It Works Telegram Trigger receives incoming messages (text, voice, photo, document). Switch routes by message type to appropriate processors: Text → forwarded as is. Voice → downloaded and sent...

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.