Build a powerful personal AI assistant using n8n that connects Telegram, xAI Grok, Gmail, Google Calendar, and persistent memory storage. This advanced n8n workflow handles text and voice inputs.
Download this n8n workflow template and start using it instantly.
Individuals seeking a powerful, personalized digital assistant.
Users who want to interact with their AI agent primarily through Telegram.
Developers and power users looking for advanced n8n templates integrating multiple cloud services (Airtable, Gmail, Google Calendar).
Anyone interested in deploying custom, stateful AI agents using the n8n automation platform.
Managing personal productivity across multiple platforms can be fragmented. This sophisticated n8n workflow solves this by centralizing all your command interactions through a single Telegram bot. Acting as a central hub, this n8n automation uses the powerful xAI Grok model to understand complex requests, maintain long-term context using an Airtable-based memory system, and execute actions across your digital ecosystem—from searching the web via SerpAPI to scheduling events in Google Calendar or checking your Gmail.
This specific n8n template is designed to handle both text and voice messages, making the assistant highly accessible. The integration of memory ensures the AI is context-aware and remembers previous preferences and facts about the user, vastly improving the quality of the interaction. Setting up this n8n workflow provides a robust, scalable foundation for personal AI automation.
This n8n workflow initiates immediately upon receiving a message via the Telegram n8n trigger node.
Telegram Trigger n8n node. The subsequent Text vs Voice Router (an If n8n node) determines if the message is text or a voice recording.Get a file n8n node retrieves the audio from Telegram, which is then passed to the Transcribe a recording (OpenAI n8n node) for conversion into text.Get memories n8n node, retrieving the user's long-term conversational history from Airtable. This history is aggregated by the Aggregate n8n node.Merge n8n node.AI Agent n8n node. This agent is powered by the xAI Grok Chat Model and uses Simple Memory (Buffer Window) for short-term session context. Crucially, the system prompt instructs the agent to analyze the input and utilize its extensive toolset (Gmail, Calendar, SerpAPI, Notion) or call the Save Memory n8n node if the user provides new facts.Send a text message Telegram n8n node, completing the interaction cycle of this powerful n8n workflow.To deploy this comprehensive n8n workflow template, follow these steps:
Telegram Trigger and output nodes. Ensure you configure your bot token and specify your personal chat ID in the trigger node.Get memories, Save Memory). Configure the Base ID and Table ID where your agent memories will reside. Note: Update the 'User' filter in 'Get memories' and 'Save Memory' with your actual identifier.xAI Grok Chat Model n8n node.Transcribe a recording n8n node (used for voice messages).AI Agent n8n node and customize the system message (Role, Name, Gender) to match your desired persona. Telegram Trigger (n8n trigger): Starts the n8n workflow upon receiving a new message (text or voice) in the configured Telegram chat ID.
Text vs Voice Router (If n8n node): Determines the path based on whether the incoming Telegram message contains the message.text field. Routes voice messages for transcription.
Get memories (Airtable n8n node): Retrieves long-term contextual memories from the specified Airtable base, filtered by the user identifier. This ensures the AI Agent has history.
xAI Grok Chat Model (Langchain n8n node): Serves as the primary Large Language Model, providing the reasoning and response generation capability for this n8n workflow.
AI Agent (Langchain Agent n8n node): The core intelligence. It uses the Grok model and strategically selects from an array of tools (Gmail, Calendar, SerpAPI, Save Memory) based on the user's request and provided memory context.
Save Memory (Airtable Tool n8n node): A specialized tool used by the AI Agent itself to persist important user details and conversation facts into the Airtable database, ensuring the agent remains stateful and personalized.
Google Calendar Tools (n8n node family): Includes nodes for getting, creating, updating, and deleting calendar events, allowing the AI to manage the user's schedule directly based on natural language commands.
Gmail Tools (n8n node family): Enables the AI to search for and retrieve specific email messages, functioning as a powerful email assistant within the n8n workflow.
Use this powerful n8n workflow to deploy a Telegram-based AI Quant Agent. It provides multi-timeframe trading reports (15m/1h/4h/1d) for WEEX Spot Market using OpenAI and real-time market data.

Deploy this robust n8n workflow to create an AI console. Use a single n8n trigger command to access Gmail, X/Twitter, news, stocks, and Telegram using a cynical Gemini agent.

Automate video publishing across 9+ social networks (YouTube, TikTok, Instagram, X) using a scheduled n8n workflow. Reads content from Google Sheets and utilizes AI for caption optimization. This powerful n8n template streamlines content distribution.

Use this advanced n8n workflow template to automate B2B lead generation, enrichment, AI-powered email personalization using GPT-4o, and intelligent reply classification. Maximize your sales efficiency with a compliant n8n solution.

Deploy a robust, multilingual Telegram bot using this advanced n8n workflow. It tracks new/returning users in NocoDB and delivers localized, dynamic responses for /start and /help commands.

Implement an advanced n8n workflow to automatically translate, summarize, and draft replies to multilingual Gmail messages using DeepL and GPT-4o, requiring human approval via Slack before sending. Get started with these powerful n8n templates.

VP of Engineering. Machine Learning, NLP, Computer Vision, Geospatial, Navigation, Data Analysis, Generative Models, Healthcare. Over 20 years in delivering client-centric tools and driving multinational cross-functional engineering teams. I've been there and everywhere and beyond.







































