AI Agent Dynamic Google Calendar Scheduling Tool Server - n8n Workflow

A powerful n8n workflow utilizing the specialized MCP n8n trigger for AI agents. Manage Google Calendar events (create, update, delete, check availability) seamlessly using this n8n template.

Workflow Preview

Ready to automate?

Download this n8n workflow template and start using it instantly.

Who is this best for?

AI/ML developers and researchers building complex, grounded AI agents.
Users of LangChain or similar frameworks who need to integrate real-time scheduling capabilities.
Businesses requiring an automated, dynamic scheduling backend.
n8n experts looking for examples of advanced n8n workflow design using specialized triggers.

Overview

This specialized n8n workflow is designed to serve as a backend tool server, specifically optimized for use by AI agents. Instead of running on a schedule or standard webhook, this n8n workflow leverages the MCP Trigger n8n node (Multi-Chain Processor) to expose six distinct Google Calendar functions via a single API endpoint. This setup is crucial for building sophisticated AI agents that need to dynamically schedule, verify, or modify appointments based on conversational context. By providing this robust set of actions, the n8n template allows the AI to perform complex calendar operations like checking availability or creating new events automatically, making the agent significantly more capable and efficient. The flexibility of this n8n template streamlines development for any application requiring dynamic calendar interaction.

How it Works

The entire process is initiated by a specialized n8n trigger called the MCPCALENDAR n8n node, which is configured to listen on a dynamic path (/mcp/:tool/calendar). When an AI agent determines it needs to perform a calendar action (e.g., 'check availability' or 'create event'), it sends a request to this n8n trigger, specifying the required tool (operation).


  1. Trigger Initiation: The MCPCALENDAR n8n trigger receives the request from the AI agent. This specialized n8n trigger automatically parses the desired action and input parameters (such as EventID, StartTime, Description) passed by the AI.

  2. Tool Routing: Depending on the AI's instruction, the n8n workflow routes the execution to the corresponding Google Calendar n8n node.

  3. Action Execution: The relevant n8n node executes the requested operation:

AVALIABILITYCALENDAR checks for free/busy status.
GET
ALLCALENDAR retrieves a list of events.
CREATECALENDAR books a new appointment.
DELETECALENDAR or UPDATECALENDAR modifies existing entries.

  1. Response: Once the Google Calendar n8n node completes its task, the result is immediately returned back through the MCP_CALENDAR n8n trigger to the originating AI agent, providing the necessary output for the agent to continue its task or conversation. This seamless integration showcases the power of this type of n8n workflow.

Installation Guide


  1. Import: Copy the provided n8n workflow JSON and import it directly into your n8n instance.

  2. Google Calendar Credentials: This n8n workflow requires valid OAuth2 credentials for Google Calendar. You must set up a credential named 'Google Calendar account' (or update the credential ID in the nodes) that has read/write access to the target calendar (referenced here as 'ODONTOLOGIA').

  3. MCP Trigger Setup: Ensure your n8n instance is accessible externally and the URL endpoint generated by the MCP_CALENDAR n8n trigger is correctly configured within your AI agent framework (e.g., LangChain) to call this specific n8n workflow as a tool.

  4. Activation: Ensure the n8n workflow is set to 'Active' to enable the specialized n8n trigger to listen for incoming requests.

Node Details

This n8n workflow leverages one specialized n8n trigger and six Google Calendar n8n nodes:

MCPCALENDAR (MCP Trigger):
Function: Acts as the primary API endpoint and specialized n8n trigger for the AI agent to call. It routes the request to the appropriate calendar tool based on the path parameter.
Key Configuration: Path is set to /mcp/:tool/calendar.

AVALIABILITYCALENDAR (Google Calendar Tool):
Function: Checks for available time slots between StartTime and EndTime provided by the AI agent.
Key Configuration: Operation set to 'calendar', Resource set to 'calendar', dynamic parameters mapped via $fromAI.

GETALLCALENDAR (Google Calendar Tool):
Function: Retrieves a list of events in a specified date range (timeMin, timeMax).
Key Configuration: Operation set to 'getAll', returnAll is true.

DELETECALENDAR (Google Calendar Tool):
Function: Deletes an event identified by the dynamically provided EventID parameter.
Key Configuration: Operation set to 'delete'.

UPDATECALENDAR (Google Calendar Tool):
Function: Modifies details of an event identified by the dynamically provided Event
ID.
Key Configuration: Operation set to 'update', pulling various fields via $fromAI.

GETCALENDAR (Google Calendar Tool):
Function: Fetches the detailed information for a single event based on the EventID.
Key Configuration: Operation set to 'get'.

CREATE_CALENDAR (Google Calendar Tool):
Function: Creates a brand new event using Start, End, and Description data passed from the AI agent.
* Key Configuration: Operation set to 'create', inputs mapped dynamically.

Related n8n Workflows

Free

Nodes: 2 Nodes
Updated: December 26 2025
View all
Created by

🇧🇷 Argentino de 30 anos e fundador da KORE Soluções em Belo Horizonte (MG). Há 1 ano, fornecemos automações, cursos, configurações e manutenção de workflows, ajudando empresas a aumentar eficiência e escalar processos com tecnologia. 🇺🇸 I’m a 30‑year‑old Argentine founder of KORE Soluções in Belo Horizonte (MG). For 1 year, we’ve delivered automations, courses, configuration, and workflow maintenance, helping businesses boost efficiency and scale processes with technology.

Featured*