Turn chat messages into Google Calendar events
An n8n calendar agent takes a chat message, extracts event title, location and times, and creates a Google Calendar entry.
Done withn8n
- What they did
- The tutorial builds an n8n workflow with a chat trigger, an AI Agent node on an OpenAI chat model, and a Google Calendar node. The prompt tells the agent to resolve relative dates against the current time and default to 60 minutes. The agent calls a Date & Time tool to produce Unix timestamps, then returns structured JSON. Those fields are mapped into a calendar event.
- How it went
- The article says the workflow creates events, and the Google Calendar node returns an htmlLink to the new event. It shows no test results, accuracy figures or failure cases.
- Worth knowing
- Setup uses n8n's free OpenAI credits, a Google OAuth2 sign-in, and a free n8n cloud trial or self-hosting. A public chat URL lets others book events on your calendar.
Try it yourself with n8n
Build me an n8n workflow that takes a chat message like 'Dinner with [person] at [place] on [day] at [time]' and extracts the event title, location, start and end times. Have it create an event in my [Google Calendar name] and reply in the chat with the details. If the time or date is missing or ambiguous, have it ask me before creating anything, and stop once a test message produces a correct event.
Source: freecodecamp.org · Undated
Five of these in your inbox every morning
The best things people got an AI agent to do, each with the prompt to try it.
More like this
Draft email replies and LinkedIn posts with n8n workflows
The author built n8n workflows that draft Gmail replies for approval, generate LinkedIn posts from a topic, and extract tasks from emails into Google Tasks or Notion.
Call and text appointment reminders every morning
An n8n workflow pulls the day's Google Calendar appointments, places automated voice calls via Retell AI, then sends follow-up SMS through Twilio.
Track daily arXiv papers into a Notion database
An n8n workflow fetches arXiv papers daily for a keyword, summarizes them with Gemini 2.5 Flash, writes them to Notion and sends Feishu and Gmail notifications.
Get a second opinion on an MRI
One person's account of using Claude Code to analyze their own MRI.
Run grocery, email and photo tasks through Comet browser
A reviewer gave Comet access to his Intermarché account and tried it on email cleanup, sorting 8,000 Dropbox photos and calendar planning, with failures and security risks.
- Custom agent
Map and control a whole smart home
Karpathy's agent scanned the home network, logged into Sonos, reverse-engineered APIs, mapped lights, HVAC, shades, pool and security, and built a dashboard.