Skip to main content

Google Docs Integration - Setup Guide

Connect your Google Docs account to Goodweek to read, create, and edit documents stored in Google Drive directly from your AI workspace.

A
Written by Antoine Stempien

Connect your Google Docs account to Goodweek to read, create, and edit documents stored in Google Drive directly from your AI workspace.

ℹ️ Governance note

Goodweek will never exceed the access levels granted to the user within Google Docs, guaranteeing alignment with your organization's governance policies. Outcomes and available features may vary depending on each user's specific permissions and authenticated access.

📋 Prerequisites

Before any user can see and connect the Google Docs integration, your organization admin must first enable it from the Goodweek Admin Panel under the Integrations tab.

Admin Setup

Personal Google accounts (@gmail.com)

No admin setup required. Connect directly following the User Connection steps below.

Google Workspace accounts (work or school)

Depending on your organization's API access policy, one of the following scenarios may apply.

Scenario 1 — Default (unrestricted third-party access)

Any user can connect directly without admin intervention.

Scenario 2 — Third-party access is restricted (admin_policy_enforced error)

A Google Workspace Super Admin must mark Composio as a trusted app:

  1. Log in to admin.google.com as a Super Admin.

  2. Go to Security → Access and data control → API controls → Manage Third-Party App Access.

  3. Click Configure new app, search for Composio, select it, set access to Trusted, and click Save.

Scenario 3 — All third-party API access is blocked

Go to admin.google.com → Security → API controls and review the "Third-party app access to Google APIs" setting. If blocked, the admin must create an exception for Composio before following Scenario 2.

User Connection

  1. In Goodweek, go to Integrations.

  2. Find Google Docs and click Connect.

  3. You will be redirected to Google, where you will be asked to sign in.

  4. Review the requested permissions and click Allow to return to Goodweek.

Important Notes

  • Each user must connect their own account individually.

  • Goodweek can only access the documents that your individual user account has permission to see. Documents shared with you are accessible only if you have been granted the appropriate sharing permissions.

  • If you have multiple Google accounts, make sure you select the correct one during the connection step.

  • You can revoke Goodweek's access at any time from myaccount.google.com → Security → Third-party apps with account access.


Available Tools

Tool

Description

Type

Create a Document

Creates a new Google Docs document with a specified title, optionally inserting initial text content.

Write

Create Document (Markdown)

Creates a new Google Docs document and initializes it with content provided in Markdown format.

Write

Get Document by ID

Retrieves an existing Google Docs document by its ID.

Read

Get Document Plain Text

Retrieves a Google Doc and returns its content as plain text.

Read

Search Documents

Searches for Google Documents using filters including name, content, and date ranges.

Read

Copy Google Document

Creates a copy of an existing Google Document, useful for using a document as a template.

Read

Update Existing Document

Applies programmatic edits (text insertion, deletion, formatting) to a specified Google Doc.

Write

Update Document (Markdown)

Replaces the entire content of an existing document with new Markdown text.

Write

Update Document Section (Markdown)

Inserts or replaces a section of a document with Markdown content, leaving the rest untouched.

Write

Insert Text into Document

Inserts a string of text at a specified location within a Google Document.

Write

Replace All Text in Document

Replaces all occurrences of a specified text string with another throughout the document.

Read

Insert Table in Document

Inserts a new table at a specified location in a Google Document.

Write

Create and Populate Table

Creates a new table in a document and populates its cells with provided text data in one operation.

Write

Insert Table Row

Inserts a new row into an existing table in a Google Document.

Write

Insert Table Column

Inserts a new column into an existing table in a Google Document.

Write

Insert Inline Image

Inserts an image from a URL at a specified location in a Google Document.

Write

Insert Page Break

Inserts a page break into a Google Document at a specified location.

Write

Create Header

Creates a new header in a Google Document with optional text content.

Write

Create Footer

Creates a new footer in a Google Document.

Write

Create Paragraph Bullets

Adds bullet formatting to paragraphs within a specified range in a Google Document.

Write

Update Document Style

Updates global document style settings such as page size, margins, and text direction.

Write

Export Google Doc as PDF

Exports a Google Docs document as a PDF file using the Google Drive API.

Read

Delete Content Range in Document

Deletes a range of content from a Google Document.

⚠️ Destructive

Delete Table Row

Deletes a specific row from a table in a Google Document.

⚠️ Destructive

Delete Table Column

Deletes a specific column from a table in a Google Document.

⚠️ Destructive

Use Cases

  • Create structured documents from conversations. Draft meeting notes, project briefs, or reports as Google Docs directly from a Goodweek conversation, with headers, tables, and formatted content, without opening Google Docs manually.

  • Read and reference existing documents. Retrieve the content of any Google Doc your account has access to and bring it into a Goodweek conversation to review, summarise, or build on.

  • Update documents with new information. Insert or replace sections of an existing Google Doc — for example, updating a report template with new data or appending notes from a meeting — without rewriting the whole document.

  • Export documents to PDF. Export any Google Doc as a PDF directly from Goodweek for sharing or archiving without navigating the Google Docs UI.


Troubleshooting

"Error 400: admin_policy_enforced" when connecting

Your organization's admin has restricted third-party app access. Only a Google Workspace Super Admin can resolve this by following Scenario 2 above.

Integration not visible in Goodweek

Make sure your organization admin has enabled the Google Docs integration from the Goodweek Admin Panel under the Integrations tab.

References

Did this answer your question?