Skip to main content

Google Docs Connector

Google Docs Google Docs is an online word processor included as part of the free, web-based Google Docs Editors suite. Use the Google Docs component to create, and collaborate on online documents.

Connections

Google Docs OAuth2

Google Docs OAuth2 Connection

This connection uses OAuth 2.0, a common authentication mechanism for integrations. Read about how OAuth 2.0 works here.

InputCommentsDefault
ScopesSpace delimited listing of scopes. See https://developers.google.com/docs/api/auth#scopeshttps://www.googleapis.com/auth/documents
Client IDYour Google Docs App's Client ID
Client SecretYour Google Docs App's Client Secret

Actions

Batch Update Documents

Applies one or more updates to the document.

InputCommentsDefault
Connection
Document IDThe ID of the document to update.
RequestsA list of updates to apply to the document.[{"insertText":{"location":{"index":1},"text":"Example text"}}]
Required Revision IDThe optional revision ID of the document the write request is applied to. If this is not the latest revision of the document, the request is not processed and returns a 400 bad request error.
Target Revision IDThe optional target revision ID of the document the write request is applied to.

Create Document

Creates a blank document using the title given in the request.

InputCommentsDefault
Connection
TitleThe title of the document to create.

Get Document

Gets the latest version of the specified document.

InputCommentsDefault
Connection
Document IDThe ID of the document to retrieve.
Suggestions View ModeThe suggestions view mode to apply to the document.DEFAULT_FOR_CURRENT_ACCESS

Raw Request

Send raw HTTP request to Google Docs

InputCommentsDefault
Connection
URLInput the path only (/v1/documents/{documentId}), The base URL is already included (https://docs.googleapis.com). For example, to connect to https://docs.googleapis.com/v1/documents/{documentId}, only /v1/documents/{documentId} is entered in this field.
MethodThe HTTP method to use.
DataThe HTTP body payload to send to the URL.
Form DataThe Form Data to be sent as a multipart form upload.
File DataFile Data to be sent as a multipart form upload.
File Data File NamesFile names to apply to the file data inputs. Keys must match the file data keys above.
Query ParameterA list of query parameters to send with the request. This is the portion at the end of the URL similar to ?key1=value1&key2=value2.
HeaderA list of headers to send with the request.
Response TypeThe type of data you expect in the response. You can request json, text, or binary data.json
TimeoutThe maximum time that a client will await a response to its request
Debug RequestEnabling this flag will log out the current request.false
Retry Delay (ms)The delay in milliseconds between retries.0
Retry On All ErrorsIf true, retries on all erroneous responses regardless of type.false
Max Retry CountThe maximum number of retries to attempt.0
Use Exponential BackoffSpecifies whether to use a pre-defined exponential backoff strategy for retries.false