Googlecalendar

Learn how to use Googlecalendar with Composio

Overview

Enum

GOOGLECALENDAR

Description

Google Calendar is a time management tool providing scheduling features, event reminders, and integration with email and other apps for streamlined organization

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

Create a new event in a google calendar.

Action Parameters

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

Action Response

data
object
error
successful
boolean

Delete an event from a google calendar.

Action Parameters

calendar_id
stringDefaults to primary
event_id
stringRequired

Action Response

data
object
error
successful
boolean

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
error
successful
boolean

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

Action Parameters

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

Action Response

data
object
error
successful
boolean

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

Action Parameters

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

Action Response

data
object
error
successful
boolean

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

Action Parameters

calendar_id
stringDefaults to primary

Action Response

data
object
error
successful
boolean

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
error
successful
boolean

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
error
successful
boolean

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
error
successful
boolean

Patches an event in google calendar. this method supports patch semantics - only specified fields will be updated. note that each patch request consumes three quota units. array fields, if specified, will completely replace existing arrays.

Action Parameters

attendees
array
calendar_id
stringRequired
conference_data_version
integer
description
string
end_time
string
event_id
stringRequired
location
string
max_attendees
integer
send_updates
string
start_time
string
summary
string
supports_attachments
boolean
timezone
string

Action Response

data
object
error
successful
boolean

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
send_updates
stringDefaults to none
text
string

Action Response

data
object
error
successful
boolean

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

Action Parameters

attendee_email
stringRequired
calendar_id
stringDefaults to primary
event_id
stringRequired

Action Response

data
object
error
successful
boolean

Get events from last sync. the flow should be following 1. you use list or find events to get the list of events. you will get the nextsynctoken. 2. you use sync events to get the list of events that have changed since the last sync. you will get the nextsynctoken. 3. continue to use sync events. in case the synctoken expires, you will have to start syncing from the beginning.

Action Parameters

calendar_id
stringDefaults to primary
event_types
array
max_results
integer
pageToken
string
single_events
boolean
sync_token
string

Action Response

data
object
error
successful
boolean

Update an existing event in a google calendar.

Action Parameters

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

Action Response

data
object
error
successful
boolean