> ## Documentation Index
> Fetch the complete documentation index at: https://docs.omni.co/llms.txt
> Use this file to discover all available pages before exploring further.

<AgentInstructions>

## Submitting Feedback

If you encounter incorrect, outdated, or confusing documentation on this page, submit feedback:

POST https://docs.omni.co/feedback

```json
{
  "path": "/integrations/ai/google-calendar",
  "feedback": "Description of the issue"
}
```

Only submit feedback when you have something specific and actionable to report.

</AgentInstructions>

# Google Calendar AI integration

> Extend the Omni Agent with context from your Google Calendar, so you can reference events and meetings alongside your data analysis.

export const integration_0 = "Google Calendar"

Omni's Google Calendar AI integration extends the Omni Agent with the ability to reference events, meetings, and schedules from your Google Calendar. This allows you to bring scheduling context into your data analysis workflows. Using the Google Calendar integration, you could:

* **Correlate events with metrics** - Review when a launch, campaign, or team offsite occurred while analyzing the corresponding trends in your data
* **Pull meeting context** - Reference the attendees, timing, or notes of a specific meeting while preparing analysis for a follow-up
* **Plan around your schedule** - Incorporate upcoming events into analysis that informs decisions or deliverables

For example, you could ask: *"Find the product launch event from last month and show me the change in signups that week"* - combining calendar context with data analysis in a single conversation.

## Common questions

<AccordionGroup>
  <Accordion title="What can the Omni Agent access?">
    Every Omni user that wants to use the Google Calendar AI integration must connect their Google account. This means that the Omni Agent will have the same permissions as the prompting user, accessing only the calendars and events they have access to.
  </Accordion>

  <Accordion title="How are calendar events processed?">
    Calendar events and meeting details are processed the same way as other AI features in Omni. Refer to [AI data privacy](/ai/security) for more information.
  </Accordion>
</AccordionGroup>

## Setting up the Google Calendar integration

See [Setting up Google AI integrations](/integrations/ai/google-setup) for help setting up the Google Calendar integration for your Omni organization.

After Google Calendar is set up, each user in your Omni organization must connect their individual accounts in their [user settings](/administration/users/your-account) to use the integration.

<h2 id="connect-user-account">
  Connecting your Google Calendar account
</h2>

<Note>
  **This section applies to all users**, not only {integration_0} admins. Every user who wants to use the {integration_0} AI integration must connect their {integration_0} account.
</Note>

After the {integration_0} AI integration is enabled for your Omni organization, users will need to connect their individual {integration_0} accounts to use the integration:

<Steps>
  <Step noAnchor>
    In Omni, click your user icon and then [**Manage account**](/administration/users/your-account).
  </Step>

  <Step noAnchor>
    Scroll down to the **Connected Services** section.
  </Step>

  <Step noAnchor>
    Next to the **{integration_0}** integration, click **Connect**.
  </Step>

  <Step noAnchor>
    Complete the authentication flow to connect your account.
  </Step>
</Steps>

## Using Google Calendar in the Omni Agent

<Note>
  Before users can use Google Calendar with the Omni Agent, they will need to connect their Google accounts in their [user settings](/administration/users/your-account).
</Note>

Once your Google Calendar account is connected, you can ask the Omni Agent to look up events and meetings from the calendars you have access to.

### Finding events

The Omni Agent can search your calendars for events based on time ranges, attendees, or keywords. To find events, ask questions like:

* "What meetings do I have about the Q3 roadmap this month?"
* "Find the product launch event from last month"
* "Show me all meetings with the finance team last week"

The Agent returns matching events in the chat, including:

* Event title
* Date and time
* Attendees
* Description or notes (if available)

### Referencing meeting context

You can also ask the Omni Agent to pull details about a specific event to pair with your analysis:

* "Get the details of tomorrow's planning meeting and summarize the agenda"
* "Show me who attended the pricing review last Thursday"

## Troubleshooting

<AccordionGroup>
  <Accordion title="Failed to connect Google Calendar error">
    This error can be caused by:

    * An incorrect or rotated client secret
    * An incorrect callback URL
    * An expired authorization code. Codes are single-use and expire after a short period.
  </Accordion>

  <Accordion title="Google Calendar tools not appearing in the Omni Agent">
    Tools will only become accessible after an individual user connects their Google account in their user settings. Verify that the user has [connected their Google Calendar account](#connect-user-account).
  </Accordion>
</AccordionGroup>

## Next steps

* [Explore the Omni Agent](/ai/chat) to learn more about conversational data analysis
* [Optimize your models for AI](/modeling/develop/ai-optimization) to improve AI-generated query quality
* [Connect other AI integrations](/integrations/ai) to add external context
* [Review AI security practices](/ai/security) to understand how Omni processes data
