Skip to content
NEWMarketplace and the trig8n Agent: sell what you build, and get plans and changes that are tested before you see them. See what is new

Library / AI Agents & Assistants

AI Agents & Assistants

Create Google Calendar events with an OpenAI agent from chat requests

Runs manually and lets an OpenAI agent create Google Calendar events, asking the user for a date range and confirming before booking.

What it does

## Google Calendar - Create Events This sub-node is a tool used by the AI agent. Its purpose is to create events based on the user input. For example: "Can you create an event 'Quarter revenue meeting' on [date] from [hour] to [hour] ?" The AI agent is designed to use this tool only when it has a date range. If the user hasn’t provided a date range, the AI agent will ask the user for it. The variables {{ $fromAI('start_date') }} and {{ $fromAI('end_date') }} are dynamically filled by the AI. Before creating the event, the AI agent will confirm with the user if the title and description of the event are correct. The variables used for this are: - {{ $fromAI('event_title') }} - {{ $fromAI('event_description') }}

The steps

  1. Manual Trigger
  2. When chat message received
  3. OpenAI Chat Model
  4. Window Buffer Memory
  5. Google Calendar - Get Events
  6. Google Calendar - Create events
  7. Calendar AI Agent
  8. Error Handler

Similar automations