Convert chat messages into Google Calendar events
They used n8n to read a chat request, extract the event details, and add the meeting to Google Calendar.
- What they did
- They assembled a flow in n8n that starts from incoming chat, hands the text to an AI Agent node, and ends by writing to Google Calendar. The agent is connected to an OpenAI chat model, and its instructions tell it to interpret dates relative to the present moment and assume a one-hour event when no length is provided. A Date & Time tool turns the parsed schedule into Unix timestamps, and the agent sends back structured JSON for the calendar step to use.
- How it went
- The process creates calendar entries, and Google Calendar returns an htmlLink for each new event. The article did not report any test counts, success rate, or error cases.
- Tips
- Getting this working depends on n8nโs free OpenAI credits, Google OAuth2 access, and either the free n8n cloud trial or a self-hosted setup. If you publish the chat link, other people may be able to schedule items on your calendar.
Try it yourself with n8n
Set up an n8n flow that listens for a chat message such as "[example message]" and turns it into a Google Calendar event. Pull out the event name, place, start time, and finish time, and figure out relative dates using the current date and time. If the duration is not stated, use 60 minutes. Use a date/time tool to convert the schedule into Unix timestamps, then return the details as structured JSON. Before you create, send, or submit anything irreversible, stop and ask me to confirm if any date, time, or location is unclear. Then create the event in my [calendar name] and reply with the new event link and summary.
Fill in the [brackets]. Agents can make mistakes, so review anything before it is sent, paid or deleted.
Get 3 agent uses like this every morning
With the day's top AI news. Free, and one click to unsubscribe.
Related agent uses
Turn Telegram into a multi-agent n8n assistant
They created an n8n setup that uses Telegram, voice, and text to delegate everyday admin to eight specialized agents.
Capture text and voice notes into searchable records
Use n8n to collect messages, transcribe audio, and file notes into Notion with later review in mind.
Log meals from Telegram and track nutrition
An n8n Telegram agent records meals from text, voice, or photos, estimates nutrition, and sends daily progress updates.
Combine daily news, mail, events, and weather in one digest
An n8n workflow can gather several daily inputs, then let an agent turn them into a short message with a personal read on the day.
Connect Home Assistant voice requests to an n8n workflow
They routed Home Assistant voice queries through n8n so an agent could answer questions and run automations.
Turn Telegram messages into Todoist tasks
They use Telegram, an LLM, and n8n to convert plain messages into Todoist todos.