Google Drive
The Google Drive connection will keep a google drive folder and everything in it, including subfolders, in sync.
Creating a Connection
- Select an API key from the dropdown at the top. All documents created by the connection will be attributed to the selected API key.
- Click "Select a folder" to open a Google Drive Picker.
- In the Google Drive Picker, select a folder to sync by single clicking it. If you want to go into a subfolder, double click the folder. You will only see folders and not any files in them, this is normal.
- Fill out any metadata you want to associate with the files in the google drive folder. You can use this to filter the data later. This is in JSON format. You can leave it blank, or you could set it to something like
-
{ "company": "acme" }
-
- Select an Import mode. This is only applicable for PDFs. Fast only extracts text, but Hi-res also extracts images and tables. Fast can be up to 20x fast than Hi-res
- Click "Create Connection" at the top right
You will be taken back to the connectors page and the system will schedule a sync process as soon as possible.
What is synced?
- Non-Google Files - all files supported by Ragie are synced. See the api reference for more information.
- Google Files
- Google Docs
- Google Slides
- Google Sheets
Metadata
Each google drive file includes the following metadata
Name | Description | Example | Comments |
---|---|---|---|
folder | The folder name of the file | invoices | |
folder_path | The full path of the folder containing this file | /My Drive/invoices | Your own drive will always start with /My Drive. Shared drives will start with a different prefix. |
file_path_array | An array of each element in the path of the file | ["My Drive", "invoices", "invoice_acme_2024.pdf"] |
Updated about 2 months ago