FM
FlowMarket
AI Agents Intermediate ⚡ 7 n8n Nodes

Google calendar MCP server for AI agent with dynamic scheduling

Google Calendar AI Agent with Dynamic Scheduling Version: 1.0.0 n8n Version: 1.88.0+ Author: Koresolucoes License: MIT --- Description An AI-powered workflow...

🔌 Nodes & Integrations Used (2)

Mcp Trigger Google Calendar Tool

📖 Implementation & Setup Guide

Google Calendar AI Agent with Dynamic Scheduling **Version**: 1.0.0 **n8n Version**: 1.88.0+ **Author**: Koresolucoes **License**: MIT

---

Description An AI-powered workflow to automate Google Calendar operations using **dynamic parameters** and **MCP (Model Control Plane)** integration. Enables event creation, availability checks, updates, and deletions with timezone-aware scheduling [[1]][[2]][[8]].

**Key Features**: - 📅 **Full Calendar CRUD**: Create, read, update, and delete events in Google Calendar. - ⏰ **Availability Checks**: Verify time slots using `AVALIABILITY_CALENDAR` node with timezone support (e.g., `America/Sao_Paulo`). - 🤖 **AI-Driven Parameters**: Use `$fromAI()` to inject dynamic values like `Start_Time`, `End_Time`, and `Description` [[3]][[4]]. - 🔗 **MCP Integration**: Connects to an MCP server for centralized AI agent control [[5]][[6]].

---

Use Cases 1. **Automated Scheduling**: Book appointments based on AI-recommended time slots. 2. **Meeting Coordination**: Sync calendar events with CRM/task management systems. 3. **Resource Management**: Check room/equipment availability before event creation.

---

Instructions ### 1. Import Template - Go to **n8n > Templates > Import from File** and upload this workflow.

2. Configure Credentials - Add **Google Calendar OAuth2** credentials under **Settings > Credentials**. - Ensure the calendar ID matches your target (e.g., `ODONTOLOGIA` group calendar).

3. Set Up Dynamic Parameters - Use `$fromAI('Parameter_Name')` in nodes like `CREATE_CALENDAR` to inject AI-generated values (e.g., event descriptions).

4. Activate & Test - Enable the workflow and send test requests to the webhook path `/mcp/:tool/calendar`.

---

Tags `Google Calendar` `Automation` `MCP` `AI Agent` `Scheduling` `CRUD`

---

Screenshots ![Captura de tela 20250423 155432.png](fileId:1160) ---

License This template is licensed under the MIT License.

---

Notes: - Extend multi-tenancy by adding `:userId` to the webhook path (e.g., `/mcp/:userId/calendar`) [[7]]. - For timezone accuracy, always specify `options.timezone` in availability checks [[8]]. - Refer to [n8n’s Google Calendar docs](https://docs.n8n.io/) for advanced field mappings.

⚡ How to import this workflow into n8n:

  1. Click the Direct Download JSON button above to save Google_calendar_MCP_server_for_AI_agent_with_dynamic_scheduling.json.
  2. Log in to your n8n Cloud or self-hosted n8n instance.
  3. In your workflow canvas, click the menu in top-right and select Import from File (or paste the JSON directly).
  4. Configure your credentials (e.g. API keys, database URLs) in the corresponding node settings.
  5. Click Execute Workflow to test and switch to Active!

Related AI Agents Workflows

View All in AI Agents →