Google Docs
Google Docs is a cloud-based collaborative word processing platform that allows multiple users to create, edit, and share documents in real-time.
Categories: file-storage
Type: googleDocs/v1
Connections
Version: 1
OAuth2 Authorization Code
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
clientId | Client Id | STRING | true | |
clientSecret | Client Secret | STRING | true |
Actions
Create Document
Name: createDocument
Create a document on Google Docs.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
title | Title | STRING | Document title. | true |
body | Content | STRING | Document content. | true |
Example JSON Structure
{ "label" : "Create Document", "name" : "createDocument", "parameters" : { "title" : "", "body" : "" }, "type" : "googleDocs/v1/createDocument"}
Output
The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.
Create Document From Template
Name: createDocumentFromTemplate
Creates a new document based on an existing one and can replace any placeholder variables found in your template document, like [[name]], [[email]], etc.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
fileId | Template Document ID | STRING | The ID of the template document from which the new document will be created. | true |
fileName | New Document Name | STRING | Name of the new document. | true |
folderId | Folder for New Document | STRING | Folder ID where the new document will be saved. If not provided, the new document will be saved in the same folder as the template document. | false |
values | Variables | OBJECT Properties{} | Don’t include the ”[[]]”, only the key name and its value. | false |
images | Images | OBJECT Properties{} | Key: Image ID (get it manually from the Read File Action), Value: Image URL. | false |
Example JSON Structure
{ "label" : "Create Document From Template", "name" : "createDocumentFromTemplate", "parameters" : { "fileId" : "", "fileName" : "", "folderId" : "", "values" : { }, "images" : { } }, "type" : "googleDocs/v1/createDocumentFromTemplate"}
Output
The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.
Get Document
Name: getDocument
Retrieve a specified document from your Google Drive.
Properties
Name | Label | Type | Description | Required |
---|---|---|---|---|
documentId | Document Id | STRING | The ID of the document to read. | true |
Example JSON Structure
{ "label" : "Get Document", "name" : "getDocument", "parameters" : { "documentId" : "" }, "type" : "googleDocs/v1/getDocument"}
Output
The output for this action is dynamic and may vary depending on the input parameters. To determine the exact structure of the output, you need to execute the action.
Additional instructions
CONNECTION
Turning on Docs API