Create Google Doc
Create a new Google Docs document, optionally with starting text and in a Drive folder.
Command in the Google Workspace toolkit · id ooa.google/docs_create_document · 5 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | Yes | Google OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Title | String | Yes | Document title. | |
| Text | String | No | Text to put in the new document; empty when not given. | |
| Folder ID | String | No | Drive folder to put the document in; My Drive when empty. | |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. |
Outputs
| Output | Type | What it is |
|---|---|---|
| document_id | String | Id of the new document. |
| url | String | Link to open the document. |