Run a personal assistant for calendar, Gmail and utilities with OpenAI and MCP

Go to Workflow
0 views
Built by Dr. Firas Dr. Firas
Created on July 28, 2026

Description

Quick overview
This workflow runs a chat-based OpenAI assistant in n8n that calls three MCP servers for Google Calendar management, Gmail search and draft replies, and utility tools for weather, currency conversion, and calculations.

How it works
Receives a chat message in n8n to start or continue a conversation.
Loads the assistant configuration (model, memory window, and system prompt) and sends the user message to an OpenAI chat model with short-term conversation memory.
When the assistant needs calendar actions, it calls an MCP server that searches, creates, updates, or deletes Google Calendar events.
When the assistant needs email actions, it calls an MCP server that searches Gmail messages and creates draft replies for user review.
When the assistant needs quick utilities, it calls an MCP server that fetches weather from wttr.in, converts currency using frankfurter.app, or runs calculations.
Returns the assistant’s response back to the chat, including any results from the MCP tool calls.

Setup
Add credentials for OpenAI, Google Calendar (OAuth2), and Gmail (OAuth2) in n8n.
Activate the workflow, then copy each MCP Server Trigger Production URL for the Calendar, Gmail, and Utilities servers.
Replace https://YOUR-N8N-HOST/... in the three MCP Client endpoint URLs with the matching Production URLs.
Select the target Google Calendar in the Calendar tools and confirm any Gmail account/alias settings as needed.

Additional info
Build an MCP server and client AI assistant in n8n

đŸ“¥ Open full documentation on Notion

Need help customizing?
Contact me for consulting and support : Linkedin

MY NEW YOUTUBE CHANNEL
đŸ‘‰ Subscribe to my new YouTube channel. Here I'll share videos and Shorts with practical tutorials and FREE templates for n8n.

Nodes Used (5)

AI Agent
@n8n/n8n-nodes-langchain.agent
Calculator
@n8n/n8n-nodes-langchain.toolCalculator
MCP Client Tool
@n8n/n8n-nodes-langchain.mcpClientTool
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Simple Memory
@n8n/n8n-nodes-langchain.memoryBufferWindow