GOOGLE WORKSPACE Create document function

The GOOGLE WORKSPACE Create document function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to create a new Google Docs document.

For a full list of available functions, please read GOOGLE WORKSPACE functions.


Description

The Create document function creates a new blank Google Docs document with the specified title. Returns the document ID and URL of the newly created file.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
TitleYesText-The title for the new document
VariableYesText-Variable to store the result

Output variables

VariableTypeDescription
VariableObjectObject containing documentId, title, and revisionId

Errors

  • Insufficient permissions – the app lacks documents scope
  • Quota exceeded – Google API rate limit reached

Tips

  • The new document is created in the root of the authenticated user’s Google Drive
  • Use Google Drive actions to move the file to a specific folder after creation
  • Access the document ID from {variable.documentId} for subsequent operations

Related functions

  • Open document – Open an existing document
  • Insert text – Add text to the new document

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.