googleGoogle Drive

Overview of the Google Drive integration.

circle-info

The following documentation is for Google Drive v2.0.1.

Overview

Google Drive offers cloud storage and file synchronization with seamless integration across Google Workspace. This integration enables automated file management, sharing workflows, and document organization processes. Streamline file collaboration and maintain synchronized access to important documents.

Setup

The following integrations need to be connected to your Kognitos workspace:

  • Google Drive

Steps

Follow these steps to connect the integration in Kognitos:

1

Using the left navigation menu, go to IntegrationsExplore Integrations.

2

Find

Search for the integration and click on it.

3

Connect

Click on Connect to add a connection to the integration.

4

Configure

Add a name for the connection. You'll be prompted for authentication details if needed. Then, click on Connect.

Authentication

Use one of the following authentication methods to connect this integration in Kognitos. Each method has its own configuration requirements.

Connect using Client Email, Token URI and Private Key

Gets the credentials from the service account keys.

Label
Description
Type

Client Email

The client email of the service account registered in the Google Cloud Console.

text

Token URI

The token URI of the Google Cloud Console.

text

Private Key

The private key of the service account registered in the Google Cloud Console.

sensitive

Continue with Google

To connect to the Google Drive book, click on Continue with Google. This will redirect you to Google's secure authentication page where you can sign in with your Google account and authorize the application. Once connected, the Kognitos agent will have access to your Google Drive while keeping your credentials secure.

Actions

The following actions are available in the Google Drive integration:

1. Copy an item to a folder

Copy an item to a folder

2. Create a folder in another folder

Create a (folder) in another folder

3. Delete an item

Delete an item (file or folder)

4. Download a file

Download a file

5. Get a folder at a path

Gets a reference to a folder.

6. Get a root folder

Gets a reference to the root folder.

7. Get some folder's items

Lists items from a folder reference

8. Move an item to a folder

Move an item to a folder

9. Rename an item to a name

Rename an item (file or folder) to a given name

10. Upload a file to a folder

Upload a file to a folder

Concepts

Google drive file reference

Contains all information required to identify a file in Google Drive.

Field Name
Description
Type

id

The id of the file

text

file_name

The name of the file

text

The ids of the parent folders

list of text

Google drive folder reference

Contains all information required to identify a folder in Google Drive.

Field Name
Description
Type

id

The id of the folder

text

folder_name

The name of the folder

text

The ids of the parent folders

list of text

Last updated

Was this helpful?