Manage Google Calendar Events with OpenAI Assistant (Get, Create, Delete)
What this workflow does Provides the tools layer for the Parent agent to manage Google Calendar: Get (list events), Create, and Delete. Accepts text + sessionid from the Parent and uses an LLM with short-term memory to choose and run the correct tool.
Pipeline: Execute Workflow Trigger → Sub-Agent → (Get / Create / Delete) → Google Calendar
Category: Productivity / Calendar / Agentic
Time to set up: ~10 minutes
Difficulty: Intermediate
Cost: Mostly free (n8n CE; OpenAI + Google Calendar usage as configured)
What you'll need OpenAI credentials.
Google Calendar OAuth2 credentials.
A calendar ID (use a placeholder like your.calendar@example.com in the node and select your actual calendar at runtime).
Set up steps Import this Sub-Agent workflow.
Open the Google Calendar tool nodes (Get, Create, Delete) and select your OAuth2 credential and calendar.
Ensure the Execute Workflow Trigger exposes two inputs: text and sessionid.
Connect the Parent's toolWorkflow node to this workflow.
Testing (direct call example) From the Parent, send: "Schedule 'Team Sync' tomorrow 10:00--11:00" → Sub-Agent should call Create.
"List events next week" → Get with timeMin/timeMax.
"Delete event 'Team Sync'" → Delete with eventId once matched.
Related Templates
Use OpenRouter in n8n versions <1.78
What it is: In version 1.78, n8n introduced a dedicated node to use the OpenRouter service, which lets you to use a lot...
Task Deadline Reminders with Google Sheets, ChatGPT, and Gmail
Intro This template is for project managers, team leads, or anyone who wants to automatically remind teammates of tasks ...
🤖 Build Resilient AI Workflows with Automatic GPT and Gemini Failover Chain
This workflow contains community nodes that are only compatible with the self-hosted version of n8n. How it works This...
🔒 Please log in to import templates to n8n and favorite templates
Workflow Visualization
Loading...
Preparing workflow renderer
Comments (0)
Login to post comments