Google Drive connector
Create folder or a file from template
Required inputs
| Key | Label | Type |
|---|---|---|
authentication.bearerToken | Bearer token | secret |
authentication.oauthClientId | Client ID | string |
authentication.oauthClientSecret | Client secret | secret |
authentication.oauthRefreshToken | Refresh token | secret |
resource.name | File name | FEEL expression |
resource.name | Folder name | FEEL expression |
resource.template.id | Template ID | FEEL expression |
Optional inputs
| Key | Label | Type |
|---|---|---|
authenticationType | Type | string |
resourceType | resourceType | string |
resource.parent | Parent folder ID | FEEL expression |
resource.parent | Parent folder ID | FEEL expression |
resource.template.variables | Template variables | FEEL expression |
resource.additionalGoogleDriveProperties | Additional properties or metadata | FEEL expression |
resultVariable | Result variable | string |
resultExpression | Result expression | FEEL expression |
errorExpression | Error expression | FEEL expression |
Apply this connector with @bpmnkit/connectors
import { applyConnectorTemplate } from "@bpmnkit/connectors"
const result = applyConnectorTemplate("io.camunda.connectors.GoogleDrive.v1", {
"authentication.bearerToken": "<your bearer token>",
"authentication.oauthClientId": "...",
"authentication.oauthClientSecret": "<your client secret>",
"authentication.oauthRefreshToken": "<your refresh token>",
"resource.name": "= ...",
"resource.name": "= ...",
"resource.template.id": "= ...",
"authenticationType": "bearer",
"resourceType": "folder",
})