Connect OpenClaw to Google Workspace

If you run your life on Google Workspace, giving your bot safe access is essential so it can manage your calendar, edit docs and sheets, and send you invites. You need a Google Cloud project, the right APIs enabled, and an OAuth client. Prerequisites: your bot has its own Gmail, and you've already shared your calendar and select files with that Gmail.

Tip: Google Cloud's UI can be confusing. If you get stuck, ask your bot with a screenshot—it can point you to the right screen. You can also ask it to "walk me through setting up a Google Cloud project so you can view and edit my calendar and docs."

1

Create a Google Cloud project

  1. Go to Google Cloud Console.
  2. Open the project picker (top bar) and click New project.
  3. Name the project (e.g. "Zoe demo" or "OpenClaw bot") and click Create.
2

Enable the APIs

Go to APIs & Services → Library. Search for and enable each of these APIs (click the API, then Enable):

  • Gmail API
  • Google Calendar API
  • Google Drive API
  • Google Docs API
  • Google Sheets API
  • Google Slides API

You can confirm under APIs & Services → Enabled APIs & services that all six appear in the list.

4

Create an OAuth client and give the bot the JSON

  1. Go to APIs & Services → Credentials.
  2. Click Create credentials → OAuth client ID.
  3. Choose Desktop app, name it (e.g. "OpenClaw desktop"), and click Create.
  4. Download the JSON (download icon for the new client).
  5. Paste the JSON into your bot (e.g. in chat or upload where the bot reads config) and ask the bot to complete the rest of the setup—it can handle the remaining steps for you.

If the bot asks you to add scopes or a test user and you haven't yet, go back to the OAuth consent screen and add them, then retry. Once the bot has the JSON and finishes setup, it can view and edit your shared calendar and docs as configured.

Next: Use OpenClaw for calendar, docs, voice, and briefings, or set up OpenClaw safely.

Sign up

Welcome to ClawNode

Get your personal AI assistant in minutes.

or

By selecting Agree and continue, I agree to ClawNode's Terms of Service and Privacy Policy.

or

Already have an account? Log in