# PromptRails + Google Docs Integration

Source: https://0.0.0.0:3000/integrations/google-docs

---

[promptrails](/)

[Website ↗](https://promptrails.ai)[Sign in](https://app.promptrails.ai/?utm_source=website&utm_medium=cta&utm_campaign=signup&utm_content=header_signin)[Get started →](https://promptrails.ai/company/contact)

[All Integrations](/integrations)

![Google Docs](/images/logos/google-docs.svg)

# Google Docs

Google

Read, create, and edit Google Docs documents. Your agents can generate reports, fill templates, and manage document content programmatically.

## How to Connect

1.  1Go to the MCP Templates marketplace.
2.  2Find the Google Docs template.
3.  3Enter your Google service account credentials.
4.  4Add the template to your agent.

## Available Tools

`gdocs_get_document`

Get the full structure of a Google Docs document

`gdocs_get_text`

Extract plain text from a Google Docs document

`gdocs_create_document`

Create a new Google Docs document

`gdocs_insert_text`

Insert text into a Google Docs document at a given index

`gdocs_replace_text`

Find and replace text in a Google Docs document

[Documentation](/mcp-tools)[Google Docs API Reference](https://developers.google.com/docs/api/reference/rest)

[Get Started](https://app.promptrails.ai)
