Mindket

Chat agent that reads and creates Google Calendar events

Newversion 1 · updated

Overview

An n8n workflow with a chat. You ask in plain words, and an OpenAI agent lists the events in a time range or creates a new one in your Google Calendar after you confirm its title and description.

Chat agent that reads and creates Google Calendar events is an n8n workflow in the Productivity category, listed by Mindket. It is free. This is version 1, last updated on . Download it on this page or copy its JSON, then import it into an n8n canvas. Nothing runs until you activate it in n8n.

At a glance

Runs in
  • n8n Cloud: import the file into a new workflow there
  • Your own n8n server: the same file and steps
  • Google Calendar: events are read from and created in the calendar you pick
  • A chat page or a messaging app: swap the trigger for a webhook or a chat app’s trigger, and keep the agent as it is

Platform

Connects 2 apps

How it works

Trigger

Chat message

It starts when you send a message in n8n’s chat, such as a request to:

  • Create an event with a start, an end and a title
  • List the events of a day, a week or another range

Actions

  1. The agent reads your message and today’s date, and asks for any start, end or period you left out
  2. For a new event, it drafts an uppercase title and a short description and asks you to confirm
  3. The create tool adds the event to the calendar you picked
  4. For a question about your calendar, the retrieval tool lists the events in the range
  5. The agent answers in your language, with the last five messages as memory

Result

A reply in the chat that lists your events or confirms the new one, and the event itself in your Google Calendar

Integrations

What you need before you start.

OpenAI

Language model

Runs gpt-4o as the agent that talks to you and decides which calendar tool to call.

NeedsOpenAI API key

Google Calendar

Calendar

Lists events between two dates and creates events with a title, a description and a time.

NeedsA Google Calendar OAuth2 credential and a calendar to pick

Workflow check

Checked by Mindket on 13 Nov 2026

Steps
2 steps, starting on a chat message
AI
1 step calls an AI model: Calendar AI Agent
Sign-ins
Signs in to: Google Calendar and OpenAI
API keys
No API key is left in the file
Step types
Mindket’s checker reads all 2 of its step types

Read from the workflow’s file, not from a run.

About

What it is

This n8n workflow is a chat that manages your Google Calendar. You type a request, and an OpenAI agent either lists the events in a time range or creates a new event. It asks for any missing date, drafts the event’s title and description for you to confirm, and answers in the language you write in. Six nodes run it. Seven sticky notes beside them explain what each one does.

Who it suits

Anyone who books and checks events all day and would rather type a sentence than open a calendar. It is also a short first project for n8n users learning how an agent calls tools. Skip it if you need attendees, reminders or deletions. The two tools only retrieve and create events, and nothing else.

Who uses it, and how
IndustryWho uses itHow they use itExample
ConsultingIndependent consultantsAsk what is booked this week before they accept a new callA consultant asks for Thursday and sees the three calls already in it.
Healthcare and wellnessPractice ownersAdd a block for a client from a quick messageA therapist types the time and a name, and the agent drafts the event.
SoftwareDevelopers learning agentsUse it as a first tool-calling exampleA developer adds a third tool for deleting events.
EducationTutorsPlan a term of sessions in the chatA tutor adds a weekly lesson one message at a time.

You need a little n8n: import a file, add two credentials and pick a calendar in two nodes.

Where to use it

Any n8n that can reach OpenAI and Google will run it. You chat from n8n’s own chat panel, and the events land in your Google Calendar.

  • n8n Cloud: import the file into a new workflow there
  • Your own n8n server: the same file and steps
  • Google Calendar: events are read from and created in the calendar you pick
  • A chat page or a messaging app: swap the trigger for a webhook or a chat app’s trigger, and keep the agent as it is

Setup

Download saves a zip with workflow.json and Mindket’s setup notes in your downloads folder. Two credentials cover every step.

What you need first
NeedDetail
n8nOn n8n Cloud or on a server of your own
OpenAIAn API key
GoogleAn account with a calendar, for a Google Calendar OAuth2 credential
  1. In n8n, create a workflow, open its menu, choose Import from File and pick workflow.json.
  2. Add an OpenAI credential and select it in OpenAI Chat Model.
  3. Add a Google Calendar OAuth2 credential and select it in both calendar tool nodes.
  4. In each of those two nodes, open the Calendar field and pick the calendar to read and write.
  5. Save, open the chat from the canvas and send a first message.

How to use it

Open the chat and ask in plain words. “What is on my calendar this week?” returns a list. “Create an event called team review next Tuesday at 10” makes the agent ask for an end time, suggest a title in capitals, write a short description and wait for your yes. Then it creates the event.

What to change for a different result
To changeWhere
What the agent says and asksThe system message in Calendar AI Agent
Which calendarThe Calendar field of each tool
The modelOpenAI Chat Model, which sets gpt-4o
How much it remembersThe context window length in Window Buffer Memory, 5 by default
What else it can doMore Google Calendar tools beside the two

Example

A tutor opens the chat on Monday and asks for the events between Tuesday and Friday. The agent lists them. The tutor then asks to add a maths lesson on Thursday from 4 to 5 pm.

The agent proposes the title in capitals and a one-line description, then asks whether both are right. After a yes, it calls the create tool. The lesson shows up in the picked calendar. Open Google Calendar and check the time against your time zone, because the agent writes the date and time as plain text and a slip there moves the event.

For newcomers and experts

If you are new. n8n draws a workflow as boxes joined by lines, and each box, a node, does one job. Here the agent sits in the middle with three small boxes plugged into it: a model, a memory and two calendar tools. Start with a question. Then ask it something it cannot do, and see how it answers.

For experts. The tools fill their fields with $fromAI, so the model, not the workflow, decides each date, title and description.

Where to look closer
NodeWhat it doesWhat to know
Calendar AI AgentTools agent on version 1.7 with a system message of its ownThe prompt reads chatInput from the trigger, and the system message holds the date format
The retrieval toolLists events between start_date and end_dateReturns at most 50 events, n8n’s default limit
The create toolCreates an event from five AI-filled valuesIt sets no attendees and turns the default reminders off
Window Buffer MemoryKeeps the last five messagesIt lives inside the n8n instance and does not work in queue mode

Good to know

It writes to your calendar, and only its instructions make it ask first.

  • Confirmation: the system message tells the agent to confirm details before it creates an event. Nothing in the workflow enforces that, so a model can skip it
  • Model: the chat node sets gpt-4o. OpenAI’s deprecations page, read on 12 November 2026, gives 14 January 2027 as the shutdown of gpt-4o-2024-08-06 and gpt-4o-2024-11-20, with gpt-6-luna as the replacement
  • Limits: retrieval lists at most 50 events a call, and created events carry no attendees
  • Time zone: the original’s settings named Europe/Paris, and Mindket’s copy leaves that out. The agent reads today’s date from your n8n’s clock
  • Memory: it is temporary and sits inside the n8n instance
  • Open chat: the trigger’s public setting is off. If you switch it on, anyone with the address can use your calendar and your OpenAI key
  • Billing: OpenAI bills each turn, with up to five earlier messages in it
  • Your data: your requests and the events the tool returns go to OpenAI, and Google handles the calendar
  • Credentials: the JSON holds none

README and files

README

Chat agent that reads and creates Google Calendar events

An n8n workflow with a chat. You type a request, and an OpenAI agent either lists the events in a time range or creates a
new event in your Google Calendar. It asks for any missing date, drafts the event's title and description for you to
confirm, and answers in the language you write in.

What is inside

  • workflow.json: the workflow as n8n exports it, 6 nodes and 7 sticky notes. It holds no credential.
  • README.md: these notes.

What we changed from the original copy

The workflow's settings named the Europe/Paris time zone, and a caller policy. Mindket's copy leaves both out, so your
own n8n's time zone applies. That matters here, because the agent reads today's date from n8n's clock.

The copy had no key, token or private id to remove. Its two calendar tools had already been cleared, so you pick the
calendar yourself.

Before you start

  • An n8n instance, on n8n Cloud or your own server.
  • An OpenAI API key.
  • A Google account with a calendar, for a Google Calendar OAuth2 credential. On your own n8n server, the Google Cloud
    project behind it needs the Google Calendar API turned on.

Set it up

  1. In n8n, create a workflow, open its menu and choose Import from File. Pick workflow.json.
  2. Add an OpenAI credential and select it in OpenAI Chat Model.
  3. Add a Google Calendar OAuth2 credential. Select it in Google Calendar - Get Events and
    Google Calendar - Create events.
  4. In each of those two nodes, open the Calendar field and pick the calendar to read and write.
  5. Save, then open the chat from the workflow's canvas and send a message such as "What is on my calendar this week?".

How a run goes

  1. When chat message received passes each message you type to the agent. The trigger's public setting is off, so the
    chat opens only from inside n8n.
  2. Calendar AI Agent takes the message as its prompt. Its system message sets today's date from n8n's clock and gives
    it two tools, one for creating events and one for retrieving them.
  3. For a vague opening such as "hello", it explains what it can do. For a request to retrieve events, it asks for a date
    range if you gave none, then calls Google Calendar - Get Events with a start and an end the model fills in.
  4. For a new event, it collects the start and end as YYYY-MM-DD HH:mm:ss, suggests an uppercase title if you gave none,
    writes a short description and asks you to confirm. Then it calls Google Calendar - Create events.
  5. OpenAI Chat Model writes each turn on gpt-4o. Window Buffer Memory keeps the last five messages of the chat.

Change the look

  • What the agent says and asks: the system message in Calendar AI Agent. It also holds the date format and the rule that
    titles are uppercase.
  • What it can do with a calendar: add more Google Calendar tools, such as one for adding attendees or deleting events.
  • Which calendar it uses: the Calendar field of each tool. A $fromAI value there would let the agent choose.
  • The model: OpenAI Chat Model. The node sets gpt-4o and no other option.
  • How much it remembers: the context window length in Window Buffer Memory, which is at its default of 5.

Good to know

  • The OpenAI facts below come from a page read on 12 November 2026.
  • OpenAI's deprecations page gives 14 January 2027 as the shutdown date of gpt-4o-2024-08-06 and gpt-4o-2024-11-20,
    with gpt-6-luna as the replacement. Choose another model in the node before then.
  • Retrieval lists at most 50 events a call, the default limit of n8n's Google Calendar node.
  • Window Buffer Memory is temporary: the original's note says so, and n8n's source says it lives inside the instance and
    does not work in queue mode.
  • Created events carry no attendees, and the tool turns the default reminders off.
  • The agent creates an event after it asks you to confirm, but only the system message enforces that. A model can skip it.
  • The system message makes the agent reply in your language, and event titles and descriptions follow it.
  • The chat is not public. Switching on the trigger's public setting would let anyone with the address use your calendar and
    your OpenAI key.
  • Billing: OpenAI bills each turn, with up to five earlier messages included.
  • Your requests and the events the tool returns go to OpenAI. Google handles the calendar.
  • The sticky notes keep the original's explanations of each node, with their links to Streamlit, OpenWebUI and Supabase.
Files
NOTICE.md  630 B
README.md  4 KB
workflow.json  13 KB

3 files, 18 KB, downloaded as a zip.

What’s new

  • Version 1 · 2026-11-12

Reviews

No ratings yet

Write a review

No reviews yet.

More from Mindket

See all from Mindket

anaksor-ocr

Sokheng · Kit

Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…

New

Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…

New

ACE-Step 1.5 XL SFT

ACE-Step · Kit

Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…

New

Similar in Productivity

See all in Productivity

Guizang PPT Skill

op7418 · Skill

Skill that makes single-file HTML slide decks, slide illustrations and platform covers in two visual styles, with a presenter mode for rehearsal. For speakers…

New29.8k

Frontend Slides

zarazhangrui · Skill

Builds HTML presentations from scratch or from a PowerPoint file and shows visual style previews to pick from, for people who want web slides with no CSS or Ja…

New32.3k

IPTV

iptv-org · Kit

Collects publicly available live TV channels from many countries into playlists that any video player with live streaming can open. Made for viewers and for de…

New144k