Google Drive Integration with Orkes Conductor
- v5.3.0 and later
Integrating Google Drive with Orkes Conductor lets you build workflows that interact with your Drive files and folders using the following operations:
- Create Folder
- Delete Folder
- Share Folder
- Upload File from Base64
- Download File Base64
- Create File from Text
- Create Google Doc
- Copy File
- Update File
- Move File
- Share File
- List Files
- Delete File
- Search Files and Folders
- Create Shared Drive
- Update Shared Drive
- Get Shared Drive
- Get Many Shared Drives
- Delete Shared Drive
This guide explains how to set up and use the integration. Here’s an overview:
- Get the required credentials from Google Console.
- Configure a new Google Drive integration in Orkes Conductor.
- Use Google Drive integration in workflows.
Step 1: Get the Google Console credentials
To integrate Google Drive with Orkes Conductor, retrieve the OAuth client ID and secret from the Google console, and enable the Google Drive API.
Get OAuth Client credentials
To get the credentials:
- Go to the Google Cloud Console.
- Select your project or create a new one.
- In the left navigation menu, go to APIs & Services > Credentials
- Select + Create credentials > OAuth client ID.

- Choose your application type as Web application, and enter a Name.
- In Authorized redirect URIs, select +Add URI and enter your redirect URI in the format
https://<YOUR-CONDUCTOR-CLUSTER-NAME>/integrations/oauth/callback. - Select + Create.
- Note the generated OAuth Client ID and secret, or download and save the JSON.
Enable Google Drive API
To enable Google Drive API access:
- Go to APIs & Services > Enabled APIs & services.
- Select + Enable APIs and services.
- Search for Google Drive API and enable it.
Step 2: Add an integration for Google Drive
After obtaining the credentials, add a Google Drive integration to your Conductor cluster.
To create an integration:
- Go to Integrations > Connected Apps from the left navigation menu on your Conductor cluster.
- Select + New integration.
- In the Productivity section, choose Google Drive.
- Select + Add and enter the following parameters:
| Parameter | Description | Required/Optional |
|---|---|---|
| Integration name | A name for the integration. | Required. |
| Scope | The OAuth2 scope for Google Drive API access. The scope you select determines the level of access Google grants to the integration. Supported values:
| Required. |
| OAuth Client ID | The OAuth client ID generated from Step 1. | Required. |
| OAuth Client Secret | The OAuth client secret generated from Step 1. | Required. |
| Parent Folder Id | The default parent folder ID to use within the integration. To get the folder ID, open the folder in Google Drive. The ID is the string of characters at the end of the URL: https://drive.google.com/drive/u/0/folders/<FOLDER-ID>?ths=true. | Optional. |
| Description | A description of the integration. | Required. |

- (Optional) Toggle the Active button off if you don’t want to activate the integration instantly.
- Select Authorize.
This takes you to the Google sign-in page, where you can authorize the connection with your Google account. Once authorized, the integration is created successfully.
Step 3: Use Google Drive integration in workflows
Once the integration is ready, this can be used directly within the workflows.
To use Google Drive integration in a workflow:
- Go to Definitions > Workflow from the left navigation menu on your Conductor cluster.
- Select + Define workflow.
- In your workflow, select the (+) icon and select Connected Apps.

- In Add Task panel on the right, search for Google Drive, and select the integration created in Step 2.
The following operations are available for use with this integration.
| Operation | Description | Supported Integration Scopes |
|---|---|---|
| Create Folder | Create a folder in Google Drive, optionally under a parent folder. |
|
| Delete Folder | Delete a folder by ID. |
|
| Share Folder | Share a folder with a user. |
|
| Upload File From Base64 | Upload a file from base64-encoded content into Google Drive. |
|
| Download File Base64 | Download a file's content as base64 by file ID. |
|
| Create File From Text | Create a new file in Drive from plain text content. |
|
| Create Google Doc | Create a Google Doc with a title and plain text content. |
|
| Copy File | Copy a file in Google Drive. |
|
| Update File | Update a file's metadata or content. |
|
| Move File | Move a file to another folder. |
|
| Share File | Share a file with a user. |
|
| List Files | Lists files from Google Drive matching the query. |
|
| Delete File | Delete a file by file ID. |
|
| Search Files and Folders | Search files and folders in Google Drive. |
|
| Create Shared Drive | Create a shared drive. |
|
| Update Shared Drive | Update shared drive metadata. |
|
| Get Shared Drive | Retrieve a shared drive by ID. |
|
| Get Many Shared Drives | List shared drives available to the user. |
|
| Delete Shared Drive | Delete a shared drive. |
|
- Select the required operation, configure the parameters, and select Save > Confirm.
- Select Execute to run the workflow.
For the complete operations parameters and output reference, see Google Drive Operations Reference.