Skip to main content

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​

InputTypeRequiredDefaultWhat it is
Access tokenCredentialYesGoogle OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token.
TitleStringYesDocument title.
TextStringNoText to put in the new document; empty when not given.
Folder IDStringNoDrive folder to put the document in; My Drive when empty.
Endpoint addressStringNoReplaces https://*.googleapis.com for testing or a proxy; leave empty normally.

Outputs​

OutputTypeWhat it is
document_idStringId of the new document.
urlStringLink to open the document.