Google Workspace

Sign in with Google once and use Gmail, Drive, Sheets, Calendar, and other Google connectors in your workflows.

On this page

This page is for people who want workflows to use Gmail, Google Sheets, Google Calendar, and other Google services. You sign in with Google once, and several connectors can share that one connection.

What you get

One Google connection can power many connectors. You add one MCP instance per connector, and each instance uses the same Google connection.

Services you can pick

When you sign in, the services checklist offers these Google services. A green · MCP next to a name means its connector is ready.

ServiceConnector slug
Gmailgmail
Google Drivegoogle-drive
Google Sheetsgoogle-sheets
Google Docsgoogle-docs
Google Slidesgoogle-slides
Google Formsgoogle-form
Google Contactsgoogle-contacts
Google Chatgoogle-chat
Google Calendargoogle-calendar
Google Tasksgoogle-tasks
Google Meetgoogle-meet
YouTubeyoutube
Google Search Consolegoogle-search-console
Google Business Profilegoogle-business-profile
Google Analyticsgoogle-analytics-4
Google Adsgoogle-ads

Connectors with their own guide are linked from the connector catalog.

Before you begin

  • The project_contributor role or higher in your project.
  • A Google account that can approve the permissions you request.
  • A workspace selected in the Console header.

Set it up

  1. Sign in with Google

    Open Connections and click Sign in with Google. Enter a Display name (for example Work Google).

  2. Pick the services

    Tick the services you need. Select all and Clear all are available. You must pick at least one. The dialog does not say whether a service is read-only or can also send, edit or delete. Tick only what your workflow needs.

  3. Choose who can use it

    Under Who can use it, pick Only me (only you; agents use it when you ask them to, if the connector is set to each person's own account), Specific people, or Everyone in this workspace (teammates, agents and workflows; choose this for a shared account such as a team inbox). You can change permissions later from the account's details. See Choose who can use a connection.

  4. Continue to Google

    Click Continue to Google, choose your account, and approve the permissions. You return to the Console, and the account appears under Accounts.

  5. Add a connector instance

    Open MCP, click Add connectors, pick a connector such as google-sheets, and click Add to workspace.

  6. Attach the Google connection

    Open the instance. On Instance config, click New profile, choose your Google account in the credentials section, set Status to Active, click Save, then click Use this profile for workflows.

  7. Check it

    Run MCP validation for the connector, or run a small workflow that calls one read-only tool.

If Sign in with Google is missing or Continue to Google is disabled, Google sign-in is not set up for your workspace. Contact support@agentruntime.io.

Gmail has its own guide with tool details.

The Connect Google dialog with a Display name field, a list of Google services to tick with Select all and Clear all, a Who can use it choice, and a Continue to Google button that stays disabled until a service is ticked
The Google sign-in dialog

Use your own Google app (optional)

By default, Google's consent screen shows AgentRuntime's app. To show your own app name instead, you can register your own Google Cloud OAuth client:

  1. In the Console, open Settings, then Integrations (under Developers).
  2. Find Google OAuth application. Copy the authorized redirect URI shown there into your OAuth client in Google Cloud Console.
  3. Turn on Use workspace OAuth app, enter a Display name, your OAuth client ID, and OAuth client secret, and save.

The client secret is stored in the Vault only.

Add services or fix a broken connection

  • Add a service later: open the Google account on Connections and click Update permissions. Google asks you to approve the new permissions.
  • Reconnect: if access stops working (for example, someone revoked it), open the account and click Reconnect and approve again. Start a new run for any run that failed in the meantime.

Example workflows

Read a Sheet and email a summary

  1. google-sheets step: read a range.
  2. A lua or for_each step: process the rows.
  3. gmail step: gmail_send_email with the summary.

Create a calendar event after approval

  1. human step: someone approves the meeting details.
  2. google-calendar step: create the event.

See Workflow patterns for approve-then-send and webhook triggers.

Common problems

ProblemWhat to do
A 403 mentions permissions or scopesOpen the account, click Update permissions, tick the service, and approve.
A 404 not foundCheck the file, calendar, or spreadsheet ID in the tool arguments.
Google access stopped workingClick Reconnect on the account.
Works in testing but not in productionUse a separate instance and profile that point to the production Google account, and select the right instance on each step.

See Troubleshooting for more.

Edit this pageagentruntime-io/agentruntime-docs