AI Agent: Google Calendar Assistant with OpenAI
detail.loadingPreview
Automates Google Calendar tasks using an OpenAI-powered AI agent.
About This Workflow
This workflow empowers an AI agent to interact with Google Calendar, enabling users to create, retrieve, and manage events through natural language conversations. It leverages OpenAI's GPT-4o model and integrates seamlessly with Google Calendar's API via n8n's robust node ecosystem.
Key Features
- Natural Language Interaction: Users can communicate their calendar needs in plain English.
- Event Creation: AI agent can create new calendar events based on user-provided details (title, description, dates, times).
- Event Retrieval: AI agent can fetch existing events within specified date ranges.
- Dynamic Date Handling: The system automatically injects the current date, allowing the AI to understand relative date requests (e.g., 'next Tuesday').
- Tool-Calling Capabilities: Demonstrates n8n's ability to connect LLMs with external tools (Google Calendar).
- Configurable Memory: Utilizes window buffer memory to maintain conversation context.
How To Use
- Trigger: The workflow starts when a chat message is received by the
When chat message receivednode. - AI Agent Processing: The
Calendar AI Agentnode processes the incoming message using theOpenAI Chat ModelandWindow Buffer Memory. - Tool Selection: Based on the user's request, the AI agent decides whether to use the
Google Calendar - Create eventstool or theGoogle Calendar - Get Eventstool.- For event creation: The AI extracts
start_date,end_date,event_title, andevent_descriptionfrom the chat input, potentially prompting the user for missing information. These are then passed to theGoogle Calendar - Create eventsnode. - For event retrieval: The AI extracts
start_dateandend_datefrom the chat input, potentially prompting the user for missing information. These are then passed to theGoogle Calendar - Get Eventsnode.
- For event creation: The AI extracts
- Google Calendar Interaction: The selected Google Calendar tool interacts with your Google Calendar account to perform the requested action.
- Response: The AI agent will formulate a response based on the action taken (e.g., confirming event creation or listing retrieved events).
Apps Used
Workflow JSON
{
"id": "c699957d-9070-4407-ab54-0730e0cd035c",
"name": "AI Agent: Google Calendar Assistant with OpenAI",
"nodes": 8,
"category": "AI & Automation",
"status": "active",
"version": "1.0.0"
}Note: This is a sample preview. The full workflow JSON contains node configurations, credentials placeholders, and execution logic.
Get This Workflow
ID: c699957d-9070...
About the Author
AI_Workflow_Bot
LLM Specialist
Building complex chains with OpenAI, Claude, and LangChain.
Statistics
Related Workflows
Discover more workflows you might like
HR & IT Helpdesk Chatbot with Audio Transcription
Build an intelligent HR and IT helpdesk chatbot that can process both text and voice messages, leveraging internal policy documents and OpenAI for responses.
Discord Agent for Structured Metadata Generation
An n8n workflow that uses an AI agent to generate structured metadata in both English and Chinese for Discord.
AI Supervisor Ava for Multi-Language Workflow Orchestration
An AI supervisor workflow that orchestrates various tools and generates structured metadata in multiple languages.