Google Drive

The Google Drive connection will keep a google drive folder and everything in it, including subfolders, in sync.

Creating a Connection

  1. Select an API key from the dropdown at the top. All documents created by the connection will be attributed to the selected API key.
  2. Click "Select a folder" to open a Google Drive Picker.
  3. 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.
  4. 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
    1. {
        "company": "acme"
      }
  5. Select the import mode
  6. 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

NameDescriptionExampleCommentsFilterable
folderThe folder name of the fileinvoices
folder_pathThe full path of the folder containing this file/My Drive/invoicesYour own drive will always start with /My Drive. Shared drives will start with a different prefix.
file_pathThe full path of the file/My Drive/invoices/invoice_acme_2024.pdf
file_path_arrayAn array of each element in the path of the file["My Drive", "invoices", "invoice_acme_2024.pdf"]
source_typegoogle_drivegoogle_drive
connector_idThe id of the connectorbe34a5d6-8e1a-4dba-a57f-24692a7e245f
created_atWhen the file was created2026-04-03T22:43:58.641000+00:00
source_nameName of the file in google driveinvoice.pdf
created_by_emailEmail of person who created the file[email protected]Not always available
created_by_nameName of the person who created the fileJohn DoeNot always available