Skip to main content

Ultimate AI assistant: Automate email, calendar, webSearch, Notion, RAG & X

Workflow preview

Workflow preview
100%
Ultimate AI assistant: Automate email, calendar, webSearch, Notion,  RAG & X preview
Open on n8n.io

Important notice

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

1. Workflow Overview

This is an ultimate AI assistant: Handle emails, schedule meetings, search the web, take notes, post to social media, and retrieve information from your knowledge base , all through simple Telegram...

Best for

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

Tools used

n8n-nodes-base.telegramtrigger, n8n-nodes-base.switch, @n8n/n8n-nodes-langchain.openai, @n8n/n8n-nodes-langchain.agent, n8n-nodes-base.telegram, n8n-nodes-base.set, @n8n/n8n-nodes-langchain.vectorstorepinecone, @n8n/n8n-nodes-langchain.embeddingsopenai

Source and attribution

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

Original n8n.io source

1.1 Workflow description

Title
Ultimate AI assistant: Automate email, calendar, webSearch, Notion, RAG & X
Workflow name
Ultimate AI assistant: Automate email, calendar, webSearch, Notion, RAG & X

This is an ultimate AI assistant: Handle emails, schedule meetings, search the web, take notes, post to social media, and retrieve information from your knowledge base, all through simple Telegram commands (text, voice, or image).

What is included:

  • 1 Ready-to-use n8n workflow file (.json)
  • 4 Instructional videos demonstrating how to connect n8n with:
    • Google Products (Gmail, Calendar, Sheets)
    • Telegram
    • Pinecone Vector Store
    • Notion

Who is this for?

This workflow is ideal for:

  • Individuals seeking to automate personal and professional tasks.
  • Professionals needing efficient management of emails, calendars, and contacts.
  • Content creators or researchers requiring quick information retrieval and drafting capabilities.
  • Anyone wanting a centralized AI assistant.

What problem is this workflow solving?

Managing numerous digital tasks across different platforms can be time-consuming and fragmented. This workflow consolidates control into Telegram, leveraging AI to understand your needs and automate actions across email, calendar, contacts, web search, note-taking (Notion), social media (X), and your personal knowledge base (Pinecone RAG), saving you time and effort. It ensures tasks are handled correctly using a built-in verification step.

What this workflow does:

This workflow acts as a central AI Agent that:

  1. Receives Input via Telegram: Accepts text messages, voice notes (transcribes them using OpenAI), or images (analyzes them using OpenAI).
  2. Understands Requests: Uses an AI Agent (powered by models like GPT) to interpret the user's instructions.
  3. Orchestrates Tools: Selects and uses the appropriate tools based on the request:
    • Email (Gmail): Send, read, reply, draft, and label emails.
    • Calendar (Google Calendar): Create, get, update, and delete events, managing attendees if needed.
    • Contacts (Google Sheets): Look up and add contact information.
    • Web Search (Tavily): Search the internet for up-to-date information.
    • Knowledge Retrieval (Pinecone): Query your personal vector database (RAG).
    • Note Taking (Notion): Create notes in a specified Notion database.
    • Social Media (X/Twitter): Post tweets directly to X.
  4. Maintains Context: Uses Window Buffer Memory to remember recent interactions.
  5. Ensures Accuracy: Employs a "Think" tool to double-check tool usage and task completion.
  6. Responds via Telegram: Sends the results or confirmation back to the user in the Telegram chat.

Setup:

  1. Telegram: Connect your Telegram bot credentials.
  2. AI Model: Connect your OpenAI API key.
  3. Email: Connect your Gmail account.
  4. Calendar: Connect your Google Calendar account.
  5. Contacts: Connect your Google Sheets account.
  6. Knowledge Base (RAG): Connect Pinecone.
  7. Note Taking: Connect Notion and configure Notion Database.
  8. Web Search: Add Tavily API key.
  9. Social Media: Connect your X (Twitter) account.

(Refer to the included videos for detailed setup guidance)

How to customize this workflow:

  • AI Prompts: Modify the system messages and prompts within the "AI Agent" node.
  • AI Models: Swap out the language model.
  • Tools: Add, remove, or replace tool nodes.

Category:

Automation, AI Agent, Personal Assistant, Productivity, Task Management, Telegram

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

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

Block 2 - Switch

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

Block 3 - OpenAI

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 4 - OpenAI1

Type / Role
@n8n/n8n-nodes-langchain.openAi - openAi
Config choices
Version 1.8

Block 5 - AI Agent

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

Block 6 - Telegram

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

Block 7 - Edit Fields_Audio

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

Block 8 - Edit Fields_Image

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

Block 9 - Edit Fields_Text

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

Block 10 - Pinecone Vector Store

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

Block 11 - Embeddings OpenAI

Type / Role
@n8n/n8n-nodes-langchain.embeddingsOpenAi - embeddingsOpenAi
Config choices
Version 1.2

Block 12 - Sticky Note

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

Block 13 - Window Buffer Memory

Type / Role
@n8n/n8n-nodes-langchain.memoryBufferWindow - memoryBufferWindow
Config choices
Version 1.3

Block 14 - Sticky Note1

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

Block 15 - Sticky Note2

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

Block 16 - Sticky Note3

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

Block 17 - Sticky Note4

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

Block 18 - Sticky Note5

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

Block 19 - Sticky Note6

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

Block 20 - Sticky Note7

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

Block 21 - Sticky Note8

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

Block 22 - Sticky Note10

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

Block 23 - Sticky Note11

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

Block 24 - DownloadAudio

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

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

3. Summary Table

Workflow Ultimate AI assistant: Automate email, calendar, webSearch, Notion, RAG & X
Complexity advanced
Nodes 51
Categories Personal Productivity, AI Chatbot
Author Tianyi
Published 21 Apr 2025

4. Reproducing the Workflow from Scratch

  1. 1. Download the workflow JSON

    Use the JSON export at /data/workflows/3629/3629.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 Ultimate AI assistant: Automate email, calendar, webSearch, Notion, RAG & X do?

This is an ultimate AI assistant: Handle emails, schedule meetings, search the web, take notes, post to social media, and retrieve information from your knowledge base , all through simple Telegram...

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.