Skip to main content

Google Calendar Bubble

Google Calendar integration for managing events

Quick Start

import { GoogleCalendarBubble } from '@bubblelab/bubble-core';
import { CredentialType } from '@bubblelab/shared-schemas';
const result = await new GoogleCalendarBubble({
operation: 'list_calendars',
credentials: {
[CredentialType.GOOGLE_CALENDAR_CRED]: process.env.GOOGLE_CALENDAR_CRED as string,
},
}).action();

Operation Details

list_calendars

operation 'list_calendars' required
List calendars for the user
max_results number
Maximum number of calendars to return
page_token string
Token for fetching next page
credentials Record<CredentialType,string>
Object mapping credential types to values (injected at runtime)

list_events

operation 'list_events' required
List events in a calendar
calendar_id string
Calendar ID
time_min string
Lower bound (RFC3339 timestamp)
time_max string
Upper bound (RFC3339 timestamp)
q string
Free text search query
single_events boolean
Expand recurring events
order_by 'startTime' | 'updated'
Sort order
page_token string
Token for fetching next page
max_results number
Maximum number of events to return
credentials Record<CredentialType,string>
Object mapping credential types to values (injected at runtime)

get_event

operation 'get_event' required
Get a single event
calendar_id string
Calendar ID
event_id string required
Event ID to retrieve
credentials Record<CredentialType,string>
Object mapping credential types to values (injected at runtime)

create_event

operation 'create_event' required
Create an event
calendar_id string
Calendar ID
summary string required
Event title
description string
Event description
location string
Event location
start object required
Start date/time
end object required
End date/time
attendees object[]
List of event attendees
conference boolean
Create a Google Meet conference link
credentials Record<CredentialType,string>
Object mapping credential types to values (injected at runtime)

update_event

operation 'update_event' required
Update an existing event
calendar_id string
Calendar ID
event_id string required
Event ID to update
summary string
Event title
description string
Event description
location string
Event location
start object
Start date/time
end object
End date/time
attendees object[]
List of event attendees
credentials Record<CredentialType,string>
Object mapping credential types to values (injected at runtime)

delete_event

operation 'delete_event' required
Delete an event
calendar_id string
Calendar ID
event_id string required
Event ID to delete
send_updates 'all' | 'externalOnly' | 'none'
Whether to notify attendees
credentials Record<CredentialType,string>
Object mapping credential types to values (injected at runtime)