← All integrations

Content & Documents · Integration

Embed a Google Workspace integration in your product

Add Google Workspace to your product for your customers, and give your AI agents governed access to it.

Embed a Google Workspace integration so your customers can work their own documents, spreadsheets, and shared drives from inside your product. Access runs through each customer's own OAuth grant, so their existing sharing and permissions apply and your product cannot open a file the connected account could not open itself. fastn handles per-customer OAuth, token refresh, and pagination over large drives, and monitors the connector, proposing a fix for your team to approve when Google Workspace changes its API.

In your product

Embedded for your customers. Per-tenant auth, customized per customer, monitored by fastn.

  • Let customers browse their own folders and shared drives inside your product and pick a file.
  • Create a document or spreadsheet from data in your product and file it in the customer's own Drive.
  • Read a document's contents so your product can summarize or index it without a download step.
  • Trigger your product when a file in a watched folder is created or changed.

For your AI agents

Governed, audited access for the agents you build, through the MCP server.

  • An agent reads a customer's document to ground an answer in their own content.
  • An agent creates or updates a document within scoped permissions, with each action logged.
  • An agent files a generated report into the right shared drive folder for the customer.

Example prompt

Find documents in this shared drive changed in the last week and summarize the two most recently edited.

Set up Google Workspace in 4 steps

  1. 01Open the Google Workspace connector from your fastn dashboard.
  2. 02Have each customer authorize their own Google Workspace account with OAuth.
  3. 03Map the drives, folders, and file types your product may access, then enable actions and triggers.
  4. 04Call them from your product, or expose them to an agent through the MCP server.

Why teams use the Google Workspace integration

  • Ship a Google Workspace integration without building it. Your customers connect their own Google Workspace account inside your product and work their files, documents and versions there, and nothing lands on your team.
  • Handle the part that actually costs time: permissions and versioning are easy to get subtly wrong, and mistakes expose content. fastn handles the auth, token refresh, rate limits and pagination, and when Google Workspace changes, its maintainer agent proposes a tested fix, so a Google Workspace update does not start in your backlog.

Google Workspace integration FAQ

Can AI agents use this Google Workspace integration?

Yes, through the fastn MCP gateway, scoped per customer and audited. An agent reads a customer's document to ground an answer in their own content. For example: "Find documents in this shared drive changed in the last week and summarize the two most recently edited."

Whose permissions does the Google Workspace integration run under?

Each customer's own Google Workspace grant. Where Google Workspace holds a library, their existing folder and item permissions apply and your product cannot reach content the connected account could not reach itself. Where it processes content you supply rather than storing it, the call runs under that customer's own credentials and is logged per tenant.

Can my product create or update content in Google Workspace automatically?

Where Google Workspace supports writes, documents, entries and assets can be created, updated and filed from your product or by an agent within scoped permissions, with each action logged. Where it is a read surface, the same connection serves reads only.

What can I build with the Google Workspace integration?

A common starting point: browse their own folders and shared drives inside your product and pick a file. The use cases above list the rest.

Add Google Workspace to your product

Start free with 3 customer connections. No sales call required, and no per-customer integration code.