A Google Drive data source connector will sync a data source with a spreadsheet or CSV file hosted on Google Drive. Any changes made to the data source on Google Drive will be reflected on the data source. Synchronization can occur up to every 15 minutes.
To set up a Google Drive connection, you will first need a Google connection established in Connected Data > Connections. Please see this article for details.
To set up a Google Drive connection to your data source, create a data source or navigate to an existing data source. (Bear in mind that any new data pulled into an existing data source by the connection will overwrite the existing data in the table.) Go to the data source settings page and, under Connector, click + Add Connector and then choose Google Drive.
Within the connector section that will now show, enter the data into the associated fields.
- Using Connection: Choose the connection to use. This is relevant if multiple Google connections are set up in Connections.
- File Location: Type the folder path and filename/extension of the file containing the data to be synced. Omit the top-level Shared Drive directory and include only subfolders (if any), plus the file name and extension (if applicable).
- Refresh Frequency: Choose the frequency at which the data in the data source will be synced with the data in the hosted file on Google Drive. The maximum frequency is 15 minutes.
- Shared/Team Drive ID: Enter the unique identifier of the Shared Drive on Google if the file being synced exists in a Shared Drive. To retrieve the ID, go to your Google Drive in a web browser and navigate to the top-level Shared Drive folder (even if the destination folder is a subfolder within the Shared Drive). Next, check the address bar of your web browser and copy the characters which follow the “/folders/” part of the URL. E.g., if the URL is https://drive.google.com/drive/folders/1234567890ABCDEFGHI, then the drive ID of 1234567890ABCDEFGHI.
ot just a single file or folder. Shared Drives are currently available to G Suite Business accounts.
Once all the above details have been entered, click "SAVE" in the upper-right corner of the page. Once the page has refreshed, on the Google Drive Connector click "Run Now." Wait a moment and then click "View Logs" to verify a successful sync. Once the initial sync has completed, the connector will operate at the specified frequency.
If at any point the hosted file is removed or anything else should interrupt a scheduled sync, the dashboard will try several times to sync again before eventually reporting an error. At this point, the automatic sync will end. A connection must be re-established by again clicking "Sync Now"; if this manual sync is successful, automatic syncing will resume.