Skip to main content

Personal AI agent

Workflow preview

Workflow preview
100%
Personal AI agent preview
Open on n8n.io

Important notice

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

1. Workflow Overview

Use cases are many: Manage your Gmail inbox, schedule calendar events, and handle contact details — all from one central AI powered assistant. Perfect for freelancers managing clients, agency owner...

Best for

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

Tools used

@n8n/n8n-nodes-langchain.agent, n8n-nodes-base.gmailtool, @n8n/n8n-nodes-langchain.lmchatgooglegemini, n8n-nodes-base.telegramtrigger, n8n-nodes-base.telegram, n8n-nodes-base.gmailtrigger, n8n-nodes-base.googlecalendartool, 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 Rakin Jakaria.

Original n8n.io source

1.1 Workflow description

Title
Personal AI agent
Workflow name
Personal AI agent

Use cases are many: Manage your Gmail inbox, schedule calendar events, and handle contact details — all from one central AI-powered assistant. Perfect for freelancers managing clients, agency owners who need streamlined communication, or busy professionals who want a personal AI secretary handling their email and calendar.


Good to know At time of writing, each Gemini request is billed per token. See Gemini Pricing for the latest info. The workflow requires Gmail, Calendar, Sheets, and Telegram integrations. Ensure you’ve set up OAuth2 credentials correctly before running.


How it works

  • Triggers: The workflow listens for new Gmail messages or Telegram commands.
  • Smart AI Processing: Incoming emails are summarized, classified (Client, Sponsorship, or Not Business), and labeled automatically.
  • Auto-Replies: Depending on classification, the assistant sends pre-written replies (e.g., client acknowledgment, sponsorship rates, or polite rejection).
  • Calendar Management: Through natural language requests in Telegram, you can schedule, update, or delete calendar events with conflict-checking in place.
  • Contact Handling: If you send an email to someone not yet in your database, the agent will prompt you for their email, add it to Google Sheets, and reuse it for future tasks.
  • Memory: The AI maintains conversation context, so repeated tasks feel seamless and natural.

How to use

  • Send commands via Telegram like: “Schedule a meeting with Sarah on Monday at 3 PM” “Send an email to David about the proposal”
  • Watch as the assistant checks your calendar, sends emails, and keeps your contacts updated — all automatically.

Requirements

  • Gmail account (with labels created for Client, Sponsorship Request, and Not Business)
  • Google Calendar for scheduling
  • Google Sheets for contact management
  • Google Gemini API key
  • Telegram bot for live interaction

Customising this workflow

You can expand it to:

  • Handle Slack or WhatsApp messages in addition to Telegram.
  • Add more classification categories (e.g., Invoices, Personal, Leads).
  • Extend auto-replies with dynamic templates stored in Google Sheets.
  • Log all interactions to Notion or Airtable for a CRM-style history of communications.

👉 Rakin Jakaria

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 - AI Agent

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

Block 2 - Send

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

Block 3 - Reply

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

Block 4 - Delete

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

Block 5 - Get Many

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

Block 6 - Gemini

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

Block 7 - Telegram Trigger

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

Block 8 - Send a text message

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

Block 9 - Gmail Trigger

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

Block 10 - Create Event

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 11 - Get Many2

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 12 - Delete2

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 13 - Send a text message1

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

Block 14 - If

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

Block 15 - No Operation, do nothing

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

Block 16 - Date & Time

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

Block 17 - Basic LLM Chain

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

Block 18 - Text Classifier

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

Block 19 - Update

Type / Role
n8n-nodes-base.googleCalendarTool - googleCalendarTool
Config choices
Version 1.3

Block 20 - Reply to a message

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

Block 21 - Not Business

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

Block 22 - Reply to a message1

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

Block 23 - Get Contacts

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.6

Block 24 - Add Contacts

Type / Role
n8n-nodes-base.googleSheetsTool - googleSheetsTool
Config choices
Version 4.6

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

3. Summary Table

Workflow Personal AI agent
Complexity advanced
Nodes 30
Categories AI Chatbot, Multimodal AI
Author Rakin Jakaria
Published 26 Aug 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/7901/7901.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 AI agent do?

Use cases are many: Manage your Gmail inbox, schedule calendar events, and handle contact details — all from one central AI powered assistant. Perfect for freelancers managing clients, agency owner...

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