# Connect Bart and Google Calendar

When **New service advisory** fires in [Bart](https://apiant.ai/connections/bart), your agent runs **Create Event** in [Google Calendar](https://apiant.ai/connections/google-calendar), or **Attendee Response Changed** in Google Calendar to **Find trips by origin and destination** in Bart. Describe the whole flow and it is built, tested on every scenario and kept running.

Bart **1** trigger Bart **8** actions Google Calendar **6** triggers Google Calendar **27** actions

What the catalog holds today. Ask for anything missing and your agent reads the API documentation and adds it.

## What do you want Bart and Google Calendar to do together?

Give your AI client this address.

`https://mcp.apiant.ai`

Any client that takes a remote MCP server. Nothing to install. Create your free account, then sign in once in your browser.

### Set it up in your client

### Claude Code

Run this in the directory you want to work in.

`claude mcp add --transport http -s project apiant-ai https://mcp.apiant.ai`

Start Claude Code there, approve the server, and sign in in the browser page it opens.

[Claude Code guide (opens in a new tab)](https://apiant.ai/docs/mcp/claude-code)

### Claude, web and desktop

Open Customize, then Connectors, then Add custom connector, and paste the address. On Team and Enterprise an owner adds it first.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Cursor

Add the address to your MCP configuration as a server URL. Cursor signs you in in your browser.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Zed

Open Settings, then AI, then MCP Servers, then Add Server, then Add Remote Server.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Codex and the ChatGPT desktop app

Open Settings, then MCP servers, then Add server, and choose Streamable HTTP. From the terminal, Codex takes the address with its own add command and then signs you in.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

### Any other MCP client

Paste the address where the client asks for a remote MCP server URL, and name the server apiant-ai where it lets you. APIANT's skills reach the client over the same connection.

[Setup guide (opens in a new tab)](https://apiant.ai/docs/mcp)

Example flows

## What Bart and Google Calendar can do together

### From Bart to Google Calendar

- When **New service advisory** in Bart then **Create Event** in Google Calendar
- When **New service advisory** in Bart then **Update Event** in Google Calendar

### From Google Calendar to Bart

- When **Attendee Response Changed** in Google Calendar then **Find trips by origin and destination** in Bart
- When **Event Created** in Google Calendar then **Get route** in Bart

Starting points drawn from the triggers and actions in the catalog today. Describe the flow you need, at any depth, and your agent builds it and tests every scenario before it ships.

Everything your agent can do with Bart and Google Calendar

## Triggers and actions 7 triggers · 35 actions

- Trigger

**New service advisory**

Triggers when BART posts a new service advisory (delay, emergency or information notice).

- Action

**Find trips by origin and destination**

Finds BART trips departing from an origin station to a destination station around a given time, with fares and legs for each trip.

- Action

**Get route**

Returns details for a BART route: its name, colour, origin and destination, and the ordered list of stations it serves.

- Action

**Get station**

Returns detailed information about a BART station, including its address, location, routes, platforms and nearby attractions.

- Action

**Get station schedule**

Returns the full day's scheduled train departures from a BART station, with line, destination, time and platform for each.

- Action

**List real-time departures**

Returns the current estimated departure times for trains leaving a BART station, grouped by destination.

- Action

**List routes**

Returns the list of BART routes (lines) in service for the current or a chosen schedule date.

- Action

**List service advisories**

Returns BART's current service advisories (delays, emergencies and general information).

- Action

**List stations**

Returns every BART station with its full name, abbreviation, coordinates and address.

- Trigger

**Attendee Response Changed**

Polling trigger that fires when any attendee's RSVP changes to accepted, declined, or tentative. Returns attendee info and current status.

- Trigger

**Calendar Event Sync**

Polling trigger that returns full event data including details, attendees, and metadata. For real-time notifications with basic info, use Calendar Event Changes (webhook).

- Trigger

**Event Canceled or Deleted**

Triggers when a Google Calendar event is cancelled or deleted. Returns minimal data: event_id, summary (if available), and cancellation timestamp.

- Trigger

**Event Created**

Polling trigger that fires when a new calendar event is created. Returns event ID, summary, start/end times, and organizer info.

- Trigger

**Event Starting Soon**

Triggers when a calendar event is within a configured number of minutes from starting. Returns event details, time remaining, attendees, and join links when available.

- Trigger

**Event Updated**

Triggers when an existing Google Calendar event is modified. Returns the event ID, change type, and the specific fields that changed with their previous and new values.

- Action

**Calendar List Insert**

Inserts an existing calendar into the user's calendar list.

- Action

**Calendar List Update**

Updates an existing entry on the user\'s calendar list.

- Action

**Calendars Delete**

Deletes a secondary calendar. use calendars.clear for clearing all events on primary calendars.

- Action

**Calendars Update**

Updates metadata for a calendar.

- Action

**Create Event**

Creates an event on a google calendar, needing rfc3339 utc start/end times (end after start) and write access to the calendar. by default, adds the organizer as an attendee unless exclude organizer is set to true.

- Action

**Delete Event**

Deletes a specified event by `event id` from a google calendar (`calendar id`); this action is idempotent and raises a 404 error if the event is not found.

- Action

**Duplicate Calendar**

Creates a new, empty google calendar with the specified title (summary).

- Action

**Events Instances**

Returns instances of the specified recurring event.

- Action

**Events List**

Returns events on the specified calendar.

- Action

**Events Move**

Moves an event to another calendar, i.e., changes an event's organizer.

- Action

**Events Watch**

Watch for changes to events resources.

- Action

**Find Event**

Finds events in a specified google calendar using text query, time ranges (event start/end, last modification), and event types; ensure `timemin` is not chronologically after `timemax` if both are provided.

- Action

**Find Free Slots**

Finds free/busy time slots in google calendars for specified calendars within a defined time range (defaults to the current day utc if `time min`/`time max` are omitted), enhancing busy intervals with event details; `time min` must precede `time max` if both are provided.

- Action

**Free Busy Query**

Returns free/busy information for a set of calendars.

- Action

**Get Calendar**

Retrieves a specific google calendar, identified by `calendar id`, to which the authenticated user has access.

- Action

**Get Current Date Time**

Gets the current date and time, allowing for a specific timezone offset.

- Action

**List Acl Rules**

Retrieves the list of access control rules (acls) for a specified calendar, providing the necessary 'rule id' values required for updating specific acl rules.

- Action

**List Calendars**

Retrieves calendars from the user's google calendar list, with options for pagination and filtering.

- Action

**Patch Calendar**

Partially updates (patches) an existing google calendar, modifying only the fields provided; `summary` is mandatory and cannot be an empty string, and an empty string for `description` or `location` clears them.

- Action

**Patch Event**

Updates specified fields of an existing event in a google calendar using patch semantics (array fields like `attendees` are fully replaced if provided); ensure the `calendar id` and `event id` are valid and the user has write access to the calendar.

- Action

**Quick Add**

Parses natural language text to quickly create a basic google calendar event with its title, date, and time, suitable for simple scheduling; does not support direct attendee addition or recurring events, and `calendar id` must be valid if not 'primary'.

- Action

**Remove Attendee**

Removes an attendee from a specified event in a google calendar; the calendar and event must exist.

- Action

**Settings List**

Returns all user settings for the authenticated user.

- Action

**Settings Watch**

Watch for changes to settings resources.

- Action

**Sync Events**

Synchronizes google calendar events, performing a full sync if no `sync token` is provided or if a 410 gone error (due to an expired token) necessitates it, otherwise performs an incremental sync for events changed since the `sync token` was issued.

- Action

**Update Acl Rule**

Updates an access control rule for the specified calendar.

- Action

**Update Event**

Updates an existing event by `event id` in a google calendar; this is a full put replacement, so provide all desired fields as unspecified ones may be cleared or reset.

## Each app on its own

- [ **Bart** Real-time BART (Bay Area Rapid Transit) train schedules, arrivals, and station data API.](https://apiant.ai/connections/bart)
- [ **Google Calendar** Google Calendar is a time management tool providing scheduling features, event reminders, and integration...](https://apiant.ai/connections/google-calendar)

Reviews

## What our customers say

## More from Bart

- [ **Bart to HubSpot** HubSpot is your all-in-one stop for all of your marketing software needs.](https://apiant.ai/connect/bart-to-hubspot)
- [ **Bart to Salesforce** Salesforce is a leading enterprise customer relationship management (CRM) platform.](https://apiant.ai/connect/bart-to-salesforce)
- [ **Bart to Slack** Slack is a messaging platform for teams. Post messages, manage channels, users, reminders, and react to...](https://apiant.ai/connect/bart-to-slack)
- [ **Bart to Google Sheets** Google Sheets](https://apiant.ai/connect/bart-to-google-sheets)
- [ **Bart to Gmail** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/bart-to-gmail)
- [ **Bart to Google Drive** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connect/bart-to-google-drive)

## More into Google Calendar

- [ **Gmail to Google Calendar** Gmail is Google’s email service, featuring spam protection, search functions, and seamless integration with...](https://apiant.ai/connect/gmail-to-google-calendar)
- [ **Google Drive to Google Calendar** Google Drive is a cloud storage solution for uploading, sharing, and collaborating on files across devices...](https://apiant.ai/connect/google-drive-to-google-calendar)
- [ **Mailchimp to Google Calendar** Mailchimp marketing automation and email platform.](https://apiant.ai/connect/mailchimp-to-google-calendar)
- [ **Pipedrive to Google Calendar** Pipedrive is a sales CRM and pipeline management tool.](https://apiant.ai/connect/pipedrive-to-google-calendar)
- [ **Airtable to Google Calendar** Organize anything with Airtable, a modern database created for everyone.](https://apiant.ai/connect/airtable-to-google-calendar)
- [ **Trello to Google Calendar** Trello is a visual collaboration tool that organizes projects into boards, lists, and cards.](https://apiant.ai/connect/trello-to-google-calendar)

Questions

## Bart and Google Calendar, answered

###

### What can start an automation from Bart?

Any of Bart's 1 trigger in the catalog, including New service advisory. Describe the moment in plain language and your agent picks the right one.

###

### What can your agent do in Google Calendar when something happens in Bart?

Any of Google Calendar's 27 actions, including Create Event, Update Acl Rule, Update Event and Calendar List Insert. Your agent maps the data both ways and tests every scenario before it ships.

###

### Can it also run from Google Calendar to Bart?

Yes. When something happens in Google Calendar, your agent can act in Bart too. This page covers both directions: Google Calendar's triggers and Bart's actions are listed here as well.

###

### Do I have to build a connector for Bart or Google Calendar?

No. Both are in the catalog with their triggers and actions. You describe the automation; your agent builds it, tests every scenario and keeps it running.

###

### What happens when something fails?

Your agent works that out for you. It plans the failure paths along with the happy path, then tests every scenario before it ships.

###

### Is there a free plan?

Yes. Every plan includes the agent, including free, and building from your own AI client spends no assistant credits.
