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

# Knowledge

> Import Google Docs, Sheets, Slides, and PDFs into Ravenna knowledge folders with multi-select OAuth flow and automatic edit synchronization.

Import Google Drive documents to power agent responses. Select docs, sheets, slides, and PDFs to build knowledge from your team's files.

## What you can do

* Import Google Docs, Sheets, Slides, PDFs, and text files
* Multi-select documents with drag or Cmd/Ctrl+Click
* Auto-sync document edits and updates
* Import documents individually (no folder hierarchy preservation)

## Setup

<Steps>
  <Step title="Select Google Drive as your source">
    When adding documents to a knowledge folder, select **Google Drive** from the available sources.
  </Step>

  <Step title="Authenticate with Google">
    Complete the OAuth flow to grant Ravenna access to your Google Drive.
  </Step>

  <Step title="Select documents">
    Choose which documents to import using the Google Drive picker.
  </Step>
</Steps>

<Callout icon="link" color="#6B7280">Learn more about [managing knowledge folders](/documentation/automate/knowledge/overview)</Callout>

## How it works

<AccordionGroup>
  <Accordion title="Document selection" icon="lasso-select">
    The Google Drive picker provides flexible selection options:

    * **Drag to select**: Click and drag to select multiple documents at once.
    * **Multi-select**: Use `Cmd+Click` (Mac) or `Ctrl+Click` (Windows) to select individual documents.
    * **Browse folders**: Navigate through your Drive folders to find the right content.
  </Accordion>

  <Accordion title="Supported file types" icon="file">
    Import various Google Drive file types:

    * Google Docs
    * Google Sheets
    * Google Slides
    * PDFs
    * Text files
    * Other common document formats
  </Accordion>

  <Accordion title="No folder hierarchy" icon="folder-x">
    Unlike other knowledge sources, Google Drive documents are imported individually and **do not preserve folder hierarchy**. Each document is imported as a standalone item in your knowledge base.

    <Note>To maintain organization, consider organizing documents into separate knowledge folders that mirror your Google Drive structure.</Note>
  </Accordion>
</AccordionGroup>

## Managing imported content

After import:

* Archive documents to exclude them from agent responses.
* Delete documents that are no longer needed.

<Callout icon="link" color="#6B7280">Learn more about [managing documents](/documentation/automate/knowledge/overview#managing-documents)</Callout>

## Auto-sync

When auto-sync is enabled, Google Drive content stays up-to-date:

* Document edits and updates sync to your knowledge base.
* Deleted documents are removed from your knowledge base.
* New documents must be manually added through the import process.
