Storage
Google Drive Connector
Index the files of a Drive folder: Documents, PDFs, Markdown: through Google sign-in.
Prerequisites
- A Google account with access to the folder
- The Drive API enabled for the Roomy OAuth client (handled during the connection)
Data ingested
When you connect Google Drive, the following content becomes searchable. Every answer that uses it cites it.
| Content | What is kept |
|---|---|
| Google documents | Docs, Sheets and Slides, exported to text |
| Uploaded files | PDF, Word and Markdown files, extracted server-side |
Setup
Configuration happens in the dashboard, under Integrations. No API call is needed for a normal setup.
Start the connection
Integrations → Add source → Google Drive, then *Connect with Google*. The label you typed is kept while you are away.
Sign in and consent
Choose the account that owns the folder. Read-only scope: Roomy never writes to your Drive.
Restrict to a folder
By default the whole Drive is indexed. Give a folder id to keep the corpus to the documentation and leave personal files out.
Configuration options
| Field | Description | Required |
|---|---|---|
| Folder id | Id of the folder to index. Empty means the whole Drive | No |
| File ids | Explicit list of files, when the corpus is a handful of documents | No |
Best practices
- •Index a dedicated folder. A whole Drive mixes contracts, invoices and documentation, and the assistant will answer from all three.
- •Shared drives work, but the folder must be shared with the account you signed in with.
Troubleshooting
The Google account has no access to the folder, or the consent screen was closed. Start the connection again from the source form.
The folder id points to a file, or to a folder that is empty. An id is the long string in the folder URL, after `/folders/`.
Run a sync. A file added after the last sync is not in the index yet.
Next steps
Once the source is connected and indexed, ask a question from the chat and check that the answer cites this source. A source that never appears in a citation is usually a source with nothing indexed: see Troubleshooting above.
