Skip to content
For LLMsView as Markdown·

Google Drive

Store, share, and collaborate on files and folders in Google Drive.

DetailValue
CategoryProductivity
Base URLhttps://www.googleapis.com/drive/v3
AuthenticationOAuth2
Endpoints6
Connector keygoogle-drive

Using Google Drive in a workflow

  1. Go to Connections and click New Connection.
  2. Pick Google Drive from the marketplace.
  3. Enter your credentials (see Authentication above for what's expected).
  4. In a workflow, drop an API Call node and select this connection.
  5. Pick the operation you need from the Operation dropdown — the full list is below.

Available endpoints

EndpointSummary
GET /filesList files
POST /filesCreate a file
GET /files/{fileId}Get file metadata
PATCH /files/{fileId}Update file metadata
DELETE /files/{fileId}Delete a file
POST /files/{fileId}/permissionsShare a file

Each endpoint is documented in full below. Use the outline on the right to jump to one.

GET /files

List files

DetailValue
Operation IDproductivity.listFiles
MethodGET
Path/files

Parameters

NameLocationTypeRequired
qquerystringNo
pageSizequeryintegerNo

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Drive connection from the Connection dropdown.
  3. In the Operation dropdown, select productivity.listFiles.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Drive API reference.

POST /files

Create a file

DetailValue
Operation IDproductivity.createFile
MethodPOST
Path/files

Parameters

No parameters.

Request Body

FieldType
namestring
mimeTypestring

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Drive connection from the Connection dropdown.
  3. In the Operation dropdown, select productivity.createFile.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Drive API reference.

GET /files/{fileId}

Get file metadata

DetailValue
Operation IDproductivity.getFile
MethodGET
Path/files/{fileId}

Parameters

NameLocationTypeRequired
fileIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Drive connection from the Connection dropdown.
  3. In the Operation dropdown, select productivity.getFile.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Drive API reference.

PATCH /files/{fileId}

Update file metadata

DetailValue
Operation IDproductivity.updateFile
MethodPATCH
Path/files/{fileId}

Parameters

NameLocationTypeRequired
fileIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Drive connection from the Connection dropdown.
  3. In the Operation dropdown, select productivity.updateFile.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Drive API reference.

DELETE /files/{fileId}

Delete a file

DetailValue
Operation IDproductivity.deleteFile
MethodDELETE
Path/files/{fileId}

Parameters

NameLocationTypeRequired
fileIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Drive connection from the Connection dropdown.
  3. In the Operation dropdown, select productivity.deleteFile.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Drive API reference.

POST /files/{fileId}/permissions

Share a file

DetailValue
Operation IDproductivity.createPermission
MethodPOST
Path/files/{fileId}/permissions

Parameters

NameLocationTypeRequired
fileIdpathstringYes

Using this endpoint in a workflow

  1. Add an API Call node to your workflow.
  2. Pick your Google Drive connection from the Connection dropdown.
  3. In the Operation dropdown, select productivity.createPermission.
  4. Fill in the parameter fields that appear. Use {{...}} to reference upstream values.

Required fields are marked — fill them or the call will fail at runtime.

What it returns

The API Call node writes the response to the workflow context:

{
  status: 200,
  success: true,
  data: { ...response body from the API... },
  latencyMs: 142
}

Reference response fields downstream as {{nodeId.data.path}}. The exact response shape is documented on the upstream Google Drive API reference.