Skip to main content
Version: 4.11.0

Inbound Google Drive component

The Inbound Google Drive component provides an entry point so that Google Drive files can be loaded into flows.

Configuration

It has the following configuration options:

OAuth2 Code

The first time you open the settings of the component you're presented with an empty OAuth2 code field and an Authorize button next to it. To get the OAuth2 code you need to click the Authorize button. A new window will open where you can choose for which Google account you want to generate the OAuth2 code. Follow the steps and copy the OAuth2 code so you can paste it in the input field.

An Exchange button will show up when you paste the OAuth2 code in the input field. You have to click this button the exchange your OAuth2 code for an Access Token and a Refresh token which will be used by the component to process files the Google Drive of your chosen Google account.

When the OAuth2 code is exchanged, the input will become disabled and the Authorize button changes to Reauthorize. By clicking this button you can repeat the authorization and exchange process when needed.

Remark

  • While the Access Token is short lived, the long lived Refresh Token is used to fetch new Access Tokens whenever the old one expires.

Directory Id

Description

This is where the Google Drive component will look for files, if this is left blank, the root directory will be polled.

Remark

The Directory Id can be found in the browser URL when a given Google Drive directory is open.

Filter Files

Description

A regex pattern can be specified to match file names.

Post Process

Options

  • Move
  • Delete

Description

After a file is processed, it can either be deleted or moved to a specified subdirectory.

Move To

Description

When Move post processing strategy is selected, files will be moved to this subdirectory.

Initial Delay

Description

After a flow is installed, Dovetail will wait this amount of time before starting to poll Google Drive.

Delay

Description

Dovetail will wait this amount of time between each poll to Google Drive.

G Suite Files

Options

  • Ignore
  • Convert

Description

G Suite Files (Docs, Sheets, Slides, etc) cannot be processed in the same way of regular files so Dovetail can either ignore or convert them to a compatible format before processing them.

Remark

Currently Dovetail will convert a given set of G Suite File types and fallback to PDF whenever it's unable to find a compatible format.

  • Google Doc*.docx
  • Google Sheet*.xlsx
  • Google Slide*.pptx
  • Google Drawing*.jpg