Google Calendar Connector Guide
The Google Calendar connector lets Tealfabric workflows create and retrieve calendar events through Google Calendar APIs. It is useful for automating scheduling, operational reminders, and timeline synchronization across business systems.
Document information
| Field | Value |
|---|---|
| Canonical URL | /docs/04_connecting-systems/connectors/g/google-calendar |
| Version (published date) | 2026-11-26 |
| Tags | connectors, reference, google-calendar |
| Connector ID | google-calendar-1.1.0 |
Configure OAuth access
Configure client_id, client_secret, and either access_token or refresh_token from your Google Cloud project. In production, use a refresh token so the connector can renew access automatically without manual token replacement.
Set redirect_uri, scope, and timeout_seconds as needed for your deployment. Before enabling workflows, complete OAuth consent and redirect URI configuration in Google Cloud Console.
Create events with send
Use send when your workflow needs to create meetings or operational events in a target calendar. Keep event payloads explicit for summary, start, end, and timezone fields so downstream participants receive accurate times.
const baseUrl = "https://api.example.com/api/v1";
const tenantId = "<TENANT_ID>";
const apiKey = "<API_KEY>";
async function createCalendarEvent(integrationId: string) {
const response = await fetch(`${baseUrl}/integrations/${encodeURIComponent(integrationId)}/execute`, {
method: "POST",
headers: {
"X-API-Key": apiKey,
"X-Tenant-ID": tenantId,
"Content-Type": "application/json",
},
body: JSON.stringify({
operation: "send",
calendar_id: "primary",
method: "POST",
event: {
summary: "Weekly Operations Review",
description: "Review uptime, incidents, and release plan.",
start: {
dateTime: "2026-05-12T09:00:00",
timeZone: "Europe/Oslo"
},
end: {
dateTime: "2026-05-12T09:30:00",
timeZone: "Europe/Oslo"
}
}
}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
return response.json();
}curl -X POST "https://api.example.com/api/v1/integrations/<ENTITY_ID>/execute" \
-H "X-API-Key: <API_KEY>" \
-H "X-Tenant-ID: <TENANT_ID>" \
-H "Content-Type: application/json" \
-d '{
"operation": "send",
"calendar_id": "primary",
"method": "POST",
"event": {
"summary": "Weekly Operations Review",
"description": "Review uptime, incidents, and release plan.",
"start": {
"dateTime": "2026-05-12T09:00:00",
"timeZone": "Europe/Oslo"
},
"end": {
"dateTime": "2026-05-12T09:30:00",
"timeZone": "Europe/Oslo"
}
}
}'
{
"success": true,
"result": {
"id": "2s2h4g5d8ks9m0c1n2q3r4",
"status": "confirmed"
}
}
Add a Google Meet conference
Put conferenceData.createRequest on the event when the meeting needs a Meet link. send sets the Calendar API query parameter conferenceDataVersion to 1 for POST, PUT, and PATCH whenever that field is present. Google ignores conferenceData when the query parameter is missing or 0.
You can pass conferenceDataVersion next to event. 1.1.0 forwards that value as the query parameter. A copy inside the event JSON is lifted out of the body. Omit it when you want the default of 1.
Read data.event.hangoutLink or data.event.conferenceData.entryPoints[0].uri from the response. If conferenceData.createRequest.status.statusCode is pending, Google has not finished creating the conference. Call receive with event_id and use the link from that event.
const baseUrl = "https://api.example.com/api/v1";
const tenantId = "<TENANT_ID>";
const apiKey = "<API_KEY>";
async function createMeetEvent(integrationId: string) {
const response = await fetch(`${baseUrl}/integrations/${encodeURIComponent(integrationId)}/execute`, {
method: "POST",
headers: {
"X-API-Key": apiKey,
"X-Tenant-ID": tenantId,
"Content-Type": "application/json",
},
body: JSON.stringify({
operation: "send",
calendar_id: "primary",
method: "POST",
conferenceDataVersion: 1,
event: {
summary: "Customer call",
start: {
dateTime: "2026-05-12T09:00:00",
timeZone: "Europe/Oslo"
},
end: {
dateTime: "2026-05-12T09:30:00",
timeZone: "Europe/Oslo"
},
conferenceData: {
createRequest: {
requestId: "meet-<ENTITY_ID>",
conferenceSolutionKey: { type: "hangoutsMeet" }
}
}
}
}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
return response.json();
}curl -X POST "https://api.example.com/api/v1/integrations/<ENTITY_ID>/execute" \
-H "X-API-Key: <API_KEY>" \
-H "X-Tenant-ID: <TENANT_ID>" \
-H "Content-Type: application/json" \
-d '{
"operation": "send",
"calendar_id": "primary",
"method": "POST",
"conferenceDataVersion": 1,
"event": {
"summary": "Customer call",
"start": {
"dateTime": "2026-05-12T09:00:00",
"timeZone": "Europe/Oslo"
},
"end": {
"dateTime": "2026-05-12T09:30:00",
"timeZone": "Europe/Oslo"
},
"conferenceData": {
"createRequest": {
"requestId": "meet-<ENTITY_ID>",
"conferenceSolutionKey": { "type": "hangoutsMeet" }
}
}
}
}'
{
"success": true,
"data": {
"message": "Google Calendar event created successfully",
"event_id": "<ENTITY_ID>",
"event": {
"id": "<ENTITY_ID>",
"hangoutLink": "https://meet.google.com/abc-defg-hij",
"status": "confirmed"
}
}
}
Retrieve event windows with receive
Use receive to list events in a time range for planning and scheduling logic. Time-bounded queries help avoid large payloads and make periodic sync workflows easier to control.
const baseUrl = "https://api.example.com/api/v1";
const tenantId = "<TENANT_ID>";
const apiKey = "<API_KEY>";
async function listUpcomingEvents(integrationId: string) {
const response = await fetch(`${baseUrl}/integrations/${encodeURIComponent(integrationId)}/execute`, {
method: "POST",
headers: {
"X-API-Key": apiKey,
"X-Tenant-ID": tenantId,
"Content-Type": "application/json",
},
body: JSON.stringify({
operation: "receive",
calendar_id: "primary",
timeMin: "2026-05-12T00:00:00Z",
timeMax: "2026-05-19T00:00:00Z",
singleEvents: true,
orderBy: "startTime",
maxResults: 50
}),
});
if (!response.ok) throw new Error(`Request failed: ${response.status}`);
return response.json();
}curl -X POST "https://api.example.com/api/v1/integrations/<ENTITY_ID>/execute" \
-H "X-API-Key: <API_KEY>" \
-H "X-Tenant-ID: <TENANT_ID>" \
-H "Content-Type: application/json" \
-d '{
"operation": "receive",
"calendar_id": "primary",
"timeMin": "2026-05-12T00:00:00Z",
"timeMax": "2026-05-19T00:00:00Z",
"singleEvents": true,
"orderBy": "startTime",
"maxResults": 50
}'
{
"success": true,
"item_count": 2,
"items": [
{
"id": "2s2h4g5d8ks9m0c1n2q3r4",
"summary": "Weekly Operations Review"
}
]
}
Reliability guidance
Most failures come from expired OAuth credentials, insufficient calendar scopes, or malformed event payloads. If a request fails, refresh authorization first, then validate required event fields for date-time and timezone consistency.
For production scheduling flows, keep event reads time-bounded, add retry/backoff on 429 responses, and monitor token refresh behavior. This keeps calendar automation stable as request volume grows.