Google Drive

Upload File to Google Drive

Upload a file to Google Drive.

1 creditRuns in your Google Drive account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
namestring · requiredstringrequired

Include the extension, e.g. report.pdf

mimeTypestring · requiredstringrequired

Pick a common type, or use the {} toggle to enter a custom MIME type or a {{variable}}.

One of: text/plain, text/markdown, text/csv, application/pdf, application/json, image/jpeg, image/png, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet (xlsx)), application/vnd.openxmlformats-officedocument.wordprocessingml.document (application/vnd.openxmlformats-officedocument.wordprocessingml.document (docx))

attachmentIdstring · optionalstringoptional

In chat: the Attachment ID of a file in this conversation (an upload, a file-create result, or a file published by code). The stored file is uploaded byte for byte; do not also fill Content. Leave empty in a Workflow.

contentBase64string · required if attachmentId is emptystringrequired if attachmentId is empty

Base64-encoded file content, required when no Chat file is given. Use a Data Transform node or the btoa() function to encode it. Example: btoa(unescape(encodeURIComponent(fileContent))). In chat, pass the file's Attachment ID in Chat file instead of writing its content.

parentFolderIdstring · optionalstringoptional

Folder to upload into. Omit for My Drive root.

Example: My Drive (root)

Get started

How to use this action

  1. Connect your AI

    Add Connie to ChatGPT, Claude or Slack once, then connect your account for this app. There’s no API key to manage.

  2. Ask for the outcome

    Describe what you need in plain words. Your AI runs this app’s actions when the job calls for them, along with any other tools it needs.

  3. Make it a workflow

    Add an action as a step in a workflow that runs the same way every time, on a schedule or when something happens.

  4. Stay in control

    Choose whether each action runs on its own or asks first. When it asks, you see an Allow or Deny card before anything changes in the app.