Deploy a powerful n8n workflow for a personalized AI assistant using Telegram and Google Gemini. Manage emails, tasks (Todoist), calendars, and knowledge bases using this complex n8n template.
Download this n8n workflow template and start using it instantly.
This sophisticated n8n workflow transforms a basic Telegram bot into a hyper-efficient personal AI assistant named 'Main,' characterized by a sharp, witty persona (like Donna Paulsen from Suits). The automation is designed to handle multi-modal inputs (text, voice, images) and orchestrate actions across several productivity tools—Gmail, Google Calendar, Todoist, Google Sheets, and Airtable—all driven by Google Gemini models.
The core value of this n8n workflow is its ability to contextually route complex requests, manage conversations via memory buffers, and perform scheduled proactive actions (like daily briefings and weekly team analysis). This n8n solution is far more than a simple chatbot; it is a complete digital twin managing your professional life, proving the versatility and power of the n8n automation platform.
The process begins with one of three primary n8n trigger types: a user input via the Telegram Trigger, a daily Schedule Trigger, or a weekly Schedule Trigger.
Switch determines the type of input: plain text, voice recording, or image/photo. Voice recordings are sent to Gemini for transcription; images are converted to Base64 via a Code n8n node and then analyzed by the Analyze image Gemini n8n node. Text is passed through directly.Merge n8n node.Manager Agent (an n8n LangChain agent node). This node, powered by a specific system prompt emphasizing a witty persona, decides which specialized sub-agent (tool) is required to fulfill the request. Conversation history is maintained using a Window Buffer Memory n8n node.memorybase (Airtable for long-term memory/contacts).todoandtaskmanager (Todoist for personal task actions).emailagent (Gmail and Google Sheets for contacts/email operations).projectmanagement (Google Sheets for company/client tasks).calendaragent (Google Calendar for scheduling).researchAgent (Wikipedia/Web research).Telegram n8n node.To deploy this comprehensive n8n workflow template, follow these steps:
Telegram Trigger and Telegram nodes.Google Gemini Chat Model and specific tool nodes.memorybase tools.todoandtaskmanager tools using OAuthchatId variables in the Telegram nodes (e.g., =1235543129) to match your personal Telegram chat ID for two-way communication. Telegram Trigger (n8n trigger): Starts the n8n workflow upon receiving a message (text, photo, voice) from the connected chat.
Switch (n8n node): Essential flow control, routing the incoming Telegram message based on content type (voice, photo, text, or document) to the appropriate pre-processing path.
Analyze image & Transcribe a recording (Gemini n8n nodes): These nodes preprocess multi-modal data, turning images into text descriptions and voice files into transcribed text, making them legible for the main AI agent.
Manager Agent (n8n Agent Node): The core intelligence. This n8n node utilizes Google Gemini to process complex requests, maintain the witty persona, and dispatch tasks to specialized tools based on the user's intent. Utilizes Window Buffer Memory for context.
memorybase (Airtable n8n Tool): This agent tool handles all persistent data, enabling the AI to retrieve and store personal details, contacts, and past conversations using Airtable operations (Create, Search, Update, Delete).
emailagent (Gmail & Google Sheets n8n Tools): Allows the AI to perform email actions (Send, Draft, Reply, Label, Mark Unread) and look up contact details via a Google Sheets n8n node.
todoandtask_manager (Todoist n8n Tools): Manages personal tasks via Todoist, allowing the agent to create, update, move, delete, and close tasks.
Schedule Trigger (n8n trigger): Executes specific prompts (Edit Fields3 and Edit Fields4) at scheduled times (daily and weekly) to prompt the Manager Agent for proactive routines like daily briefings or team follow-ups.
Use this powerful n8n workflow to log expenses via Telegram messages (text, voice, or image). AI extracts structured data and saves it to Google Sheets automatically.

Use this powerful n8n workflow to create a multi-modal Telegram bot that logs expenses via text, voice, or receipts using GPT-4, Gemini OCR, and Google Sheets integration.

Automate deep research using PerplexityAI and dynamic content creation using OpenAI via an advanced n8n workflow. Generate images, manage tags, and publish structured, multi-chapter articles directly to WordPress.

Build an expert multi-platform AI Sales Agent using n8n workflow automation. Integrates RAG (Postgres PGVector), CRM, Google Calendar, and Stripe for multi-channel sales support.

Use this comprehensive n8n workflow to scrape product prices from major e-commerce platforms (Amazon, eBay, Target, etc.), find the lowest price, generate promotional copy using Claude AI, and immediately send an alert via Telegram. Leverage robust n8n templates for retail monitoring.









































