Googlecalendar

Learn how to use Googlecalendar with Composio

Overview

Enum

GOOGLECALENDAR

Description

Google Calendar is a time-management and scheduling calendar service developed by Google.

Authentication Details

client_id
stringRequired
client_secret
stringRequired
oauth_redirect_uri
stringDefaults to https://backend.composio.dev/api/v1/auth-apps/add
scopes
stringDefaults to https://www.googleapis.com/auth/calendar https://www.googleapis.com/auth/calendar.events
token
stringRequired

Actions

Action to duplicate a google calendar based on the provided summary. the duplicated calendar can be used similarly to manage other goals.

Action Parameters

summary
string

Action Response

data
object
successful
boolean
error

Create a new event in a google calendar based on a simple text string like ‘appointment at somewhere on june 3rd 10am-10:25am’ you can only give title and timeslot here. no recurring meetings and no attendee can be added here. this is not a preferred endpoint. only use this if no other endpoint is possible.

Action Parameters

calendar_id
stringDefaults to primary
text
string
send_updates
stringDefaults to none

Action Response

data
object
successful
boolean
error

Find events in a google calendar based on a search query.

Action Parameters

calendar_id
stringDefaults to primary
query
string
max_results
integerDefaults to 10
order_by
string
show_deleted
boolean
single_events
booleanDefaults to True
timeMax
string
timeMin
string
updated_min
string
event_types
arrayDefaults to ['default', 'outOfOffice', 'focusTime', 'workingLocation']
page_token
string

Action Response

data
object
successful
boolean
error

Delete an event from a google calendar.

Action Parameters

calendar_id
stringDefaults to primary
event_id
stringRequired

Action Response

data
object
successful
boolean
error

Find free slots in a google calendar based on for a specific time period.

Action Parameters

time_min
string
time_max
string
timezone
stringDefaults to UTC
group_expansion_max
integerDefaults to 100
calendar_expansion_max
integerDefaults to 50
items
arrayDefaults to ['primary']

Action Response

data
object
successful
boolean
error

Action to fetch a calendar based on the provided calendar id.

Action Parameters

calendar_id
stringDefaults to primary

Action Response

data
object
successful
boolean
error

Action to list all google calendars from the user’s calendar list with pagination.

Action Parameters

max_results
integerDefaults to 10
min_access_role
string
page_token
string
show_deleted
boolean
show_hidden
boolean
sync_token
string

Action Response

data
object
successful
boolean
error

Update an existing event in a google calendar.

Action Parameters

description
string
eventType
stringDefaults to default
create_meeting_room
boolean
guestsCanSeeOtherGuests
boolean
guestsCanInviteOthers
boolean
location
string
summary
string
transparency
stringDefaults to opaque
visibility
stringDefaults to default
timezone
string
recurrence
array
guests_can_modify
boolean
attendees
array
send_updates
boolean
start_datetime
stringRequired
event_duration_hour
integer
event_duration_minutes
integerDefaults to 30
calendar_id
stringDefaults to primary
event_id
stringRequired

Action Response

data
object
successful
boolean
error

Remove an attendee from an existing event in a google calendar.

Action Parameters

calendar_id
stringDefaults to primary
event_id
stringRequired
attendee_email
stringRequired

Action Response

data
object
successful
boolean
error

Action to update a google calendar based on the provided calendar id and other required and optional parameters. note that ‘summary’ is a mandatory parameter. use googlecalendar list calendars action to get the list of calendars and their ids.

Action Parameters

calendar_id
stringRequired
description
string
location
string
summary
stringRequired
timezone
string

Action Response

data
object
successful
boolean
error

Action to get the current date and time of a specified timezone, given its utc offset value.

Action Parameters

timezone
number

Action Response

data
object
successful
boolean
error

Create a new event in a google calendar.

Action Parameters

description
string
eventType
stringDefaults to default
create_meeting_room
boolean
guestsCanSeeOtherGuests
boolean
guestsCanInviteOthers
boolean
location
string
summary
string
transparency
stringDefaults to opaque
visibility
stringDefaults to default
timezone
string
recurrence
array
guests_can_modify
boolean
attendees
array
send_updates
boolean
start_datetime
stringRequired
event_duration_hour
integer
event_duration_minutes
integerDefaults to 30
calendar_id
stringDefaults to primary

Action Response

data
object
successful
boolean
error