Google Docs

Export Google Doc

Export a Google Doc as a PDF, Word document, HTML, or plain text.

1 creditRuns in your Google Docs account

Endpoint

Parameters

NameTypeRequiredNote
identifieraccount · requiredaccountrequired—
documentIdstring · requiredstringrequired

Pick a document, or paste a Google Docs link or document ID.

formatstring · optionalstringoptional

What to export the document as.

One of: pdf (PDF), docx (Word (.docx)), html (HTML), txt (Plain text)

Default: pdf

filenamestring · optionalstringoptional

Name for the exported file, without the extension. Default: the document's title.

Response schema

{
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "description": "Open in Google Docs"
    },
    "text": {
      "type": "string",
      "description": "Readable text for HTML and plain-text exports; empty for PDF and Word"
    },
    "bytes": {
      "type": "number"
    },
    "format": {
      "type": "string"
    },
    "filename": {
      "type": "string"
    },
    "mimeType": {
      "type": "string"
    },
    "documentId": {
      "type": "string"
    },
    "contentBase64": {
      "type": "string",
      "description": "File content, base64-encoded — feed straight into Google Drive Upload File"
    }
  }
}

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.