Connect Your Google Account to Agentforce Coworker

After an admin enables Google Workspace search for the org, connect your individual Google Account so Agentforce Coworker can search your Google Drive, Google Calendar, and Gmail.

These steps apply when your admin sets up Google Workspace as a federated search source. If your Google data is ingested through a Data 360 connector instead, you don’t connect your individual account.

REQUIRED EDITIONS, ROLES, AND PERMISSIONS
Available in:Enterprise, Unlimited, and Agentforce 1 Editions
To use Agentforce Coworker:Access_Ai_Search (API Name) Permission Set Group. Admins grant user access via Manage Users in Coworker Setup (recommended) or the main Setup menu.
  1. In Salesforce, check that the Ask button appears near your search bar.
    • If you see the Ask button, Agentforce Coworker is enabled in your org.
    • If you don’t see the Ask button, ask your admin to enable Agentforce Coworker.
  2. Connect to your Google account using one of these methods. Both methods open the same Manage Connections view, where you connect to a Google app from your available sources.
    • Method A: From the Ask button
      • Click the Ask button.
      • Below the input box, click the available connections link.
    • Method B: From the search results page
      • On the search results page, click the All Connections dropdown.
      • Click Manage Connections.

Image shows Method A from the Ask button connections link and Method B from the All Connections dropdown on the search results page

  1. In the Manage Connections window, select a Google app.
  2. In the Google sign-in window, select your Google account and click Allow.
  3. On the Salesforce Confirm External Access page, click Confirm.
  4. Repeat the steps for each Google app you want to connect

Considerations for Searching Your Google Workspace with Agentforce Coworker 

Agentforce Coworker retrieves extracted text from supported Google Drive files. It doesn’t return the original file or preserve its visual layout.

File and Content Limits 

ContentLimitDetails
PDF and Microsoft Office files16 MiBApplies to the uploaded source file
Google Sheets5 MiBApplies to the exported spreadsheet before text extraction
Google Docs and Google Slides10 MBApplies to the generated text export, not the original file size
Extracted text response200 KiB per fileLonger content is truncated; a request can specify a smaller limit

Supported File Types 

File typeSupported formatsRetrieval behavior
Google DocsGoogle DocsReturns exported document text
Google SlidesGoogle SlidesReturns slide text without images or visual layout
Google SheetsGoogle SheetsExtracts text from worksheets
PDF.pdfExtracts text from the available text layer; OCR isn’t performed
Microsoft Word.doc, .docxExtracts document text
Microsoft Excel.xls, .xlsxExtracts text from worksheets
Microsoft PowerPoint.ppt, .pptxExtracts slide text
Other text formats.rtf, .txt, .csvReturns extracted text

Unsupported Content 

Agentforce Coworker can’t retrieve or analyze the following content:

  • Standalone images, audio, and video
  • Google Drawings, Google Forms, and Google Workspace file types not listed above
  • Text contained only in images
  • Scanned PDFs without a usable text layer
  • OCR, visual-layout interpretation, and analysis of charts or embedded images
  • Password-protected, encrypted, corrupted, and download-restricted files
    • Users can retrieve only files available to their connected Google Drive account.