Google Calendar
Learn how to integrate AI agents with Google Calendar using xpander.ai. Create intelligent workflows that automatically schedule meetings, manage availability, send reminders, and adjust events in real-time based on contextual data.
About Google Calendar
Google Calendar is a free, cloud-based time-management and scheduling service developed by Google.
Key features include:
-
Event Creation & Management: Schedule one-time or recurring events, set start and end times, add locations, and invite guests. You can also set reminders via email or push notifications.
-
Multiple Calendar Support: Create and manage multiple calendars within your account to separate work, personal, or project-specific events. Each calendar can be color-coded for easy identification.
-
Sharing & Collaboration: Share your calendar with others, allowing them to view or edit events. This is particularly useful for coordinating schedules within teams or families.
-
Integration with Google Services: Events from Gmail (like flight or hotel reservations) are automatically added to your calendar. It also integrates with Google Meet for video conferencing.
-
Cross-Platform Accessibility: Accessible via web browsers and dedicated apps for Android and iOS, ensuring your schedule is always at your fingertips.
-
Customizable Views: Switch between daily, weekly, monthly, or agenda views to suit your planning needs.
Authentication Options
Below are possible authentication options you can choose:
The simplest way to connect Google Calendar is by using xpander.ai’s built-in authentication:
- Go to the Apps section in the sidebar of your xpander.ai dashboard.
- Select Google Calendar from the available integrations.
- Click Sign in with Google Calendar.
- Grant xpander.ai permission to access your account.
- Your Google Calendar integration is now ready to use.
This method is recommended for most users. xpander.ai securely manages your OAuth tokens without exposing any credentials.
The simplest way to connect Google Calendar is by using xpander.ai’s built-in authentication:
- Go to the Apps section in the sidebar of your xpander.ai dashboard.
- Select Google Calendar from the available integrations.
- Click Sign in with Google Calendar.
- Grant xpander.ai permission to access your account.
- Your Google Calendar integration is now ready to use.
This method is recommended for most users. xpander.ai securely manages your OAuth tokens without exposing any credentials.
Generate a Google Calendar API Key
-
Log in to your Google Cloud Console.
-
Create a new project or select an existing one.
-
Go to the Google Cloud API Library.
-
Search for and select Google Calendar API, then click Enable.
-
In the sidebar, go to Credentials.
-
Click Create credentials, and select API key.
-
Restrict the API key to Google Calendar API only (optional but recommended).
Integrate Google Sheets into xpander.ai
- Go to the Apps section in the sidebar of your xpander.ai dashboard.
- Select Google Calendar from the available integrations.
- Click Other auth options.
- Enter an Interface name, e.g., “xpander-google-calendar”.
- Select API Key as the authentication mode.
- Select Integration User as the authentication scope.
- Paste the Google Calendar API key into the provided field.
- Choose Basic as the Auth Type.
- Save the configuration.
API keys provide limited functionality and are best for read-only operations on public files. For full access, use OAuth methods.
Integration of Google Calendar into AI Agent
Once you’ve configured your Google Calendar account with the authentication option(s) described above, you can integrate it into your AI agent with xpander.ai:
- Go to the + sign located in the top right of the graph visualization of your xpander.ai agent.
- Select Apps.
- Choose Google Calendar with the same Interface name you configured in the previous section (e.g., xpander-google-calendar).
- Select the available Google Calendar operations that suit your use case.
Expose Google Calendar as MCP Server
Alternatively, you can also expose your Google Calendar account as an MCP server. To do so:
- Go to the Apps section in the sidebar of your xpander.ai dashboard.
- Select Google Calendar with the same Interface name you configured in the previous section (e.g., xpander-google-calendar).
- Click MCP Configuration.
- Enter the MCP configuration into the appropriate settings of the client app you want to use (e.g., Cursor, Windsurf, Claude Desktop, etc.).
AI Agent Google Calendar Prompt Library
Below are possible prompts or use cases you can try after integrating Google Calendar into your xpander AI agent: