Help Centre › Functions & 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
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Connector | Yes | Select | - | Select the Google Workspace connector to use |
| Title | Yes | Text | - | The title for the new document |
| Variable | Yes | Text | - | Variable to store the result |
Output variables
| Variable | Type | Description |
|---|---|---|
| Variable | Object | Object 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