> ## Documentation Index
> Fetch the complete documentation index at: https://docs.dume.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Google Docs Integration

> Connect Google Docs to Dume.ai for intelligent document management. Find, create, and update documents through natural language commands with AI assistance.

## Overview

Connect Google Docs to search for documents, generate new ones, update existing content, and get structured descriptions using natural language.

## 1. Connect (OAuth)

<Steps>
  <Step title="Open Integrations">Settings → Integrations → Google Docs.</Step>
  <Step title="Authenticate">Click Connect and choose the correct Google account.</Step>
  <Step title="Grant Access">Allow requested Docs/Drive permissions.</Step>
  <Step title="Test">Ask: "Find my recent Google Docs."</Step>
</Steps>

<Tip>Revoke anytime: Google Account → Security → Third‑party access.</Tip>

## 2. Supported Actions

* Find documents by name or keyword
* Describe a document (structure, sections, length)
* Create a document (optionally with headings / starter content)
* Update a document (append, replace section, add summary)

## 3. Quick Commands

```
Find documents about Q4 strategy
Describe document "Product Vision"
Create document: Launch Checklist (Sections: Overview, Tasks, Owners)
Add a summary to "Marketing Plan"
Append competitive analysis to "Strategy Draft"
```

## 4. Common Patterns

<Tabs>
  <Tab title="Find & Describe">
    ```
    Find docs with "pricing"
    Describe document "Sales Playbook"
    ```
  </Tab>

  <Tab title="Create">
    ```
    Create document: Sprint Retro Template (Sections: Highlights, Issues, Actions)
    ```
  </Tab>

  <Tab title="Update">
    ```
    Add conclusion to "Board Report"
    Replace introduction in "Investor Overview" with updated market positioning
    ```
  </Tab>
</Tabs>

## 5. Best Practices

| Goal            | Tip                                   |
| --------------- | ------------------------------------- |
| Faster search   | Use clear, specific titles            |
| Clean updates   | Reference exact section or heading    |
| Summaries       | Ask: "Summarize document X for execs" |
| Structured docs | Provide section list when creating    |

## 6. Troubleshooting

| Issue            | Fix                                   |
| ---------------- | ------------------------------------- |
| Doc not found    | Use exact title or fewer keywords     |
| Permission error | Reconnect and grant Docs/Drive scopes |
| Update failed    | Ensure section exists; describe first |
| Wrong doc edited | Mention full title + confirmation     |

## 7. Security

* OAuth tokens only (no passwords)
* Scoped Docs/Drive access
* Revocable anytime
* Write actions may request confirmation

## 8. Sample Flow

```
Find docs with "roadmap"
Describe document "2025 Roadmap"
Create document "2025 Roadmap Summary" (Sections: Goals, Risks, Opportunities)
Add executive summary to "2025 Roadmap Summary"
```

<Check>Google Docs connected. You can now find, describe, create, and update documents via chat.</Check>

<Note>Need deeper analysis? Combine Docs with Sheets or Calendar in a workflow.</Note>
