Open Navigation

Google Docs

Google Docs brings your documents to life with smart editing and styling tools to help you easily format text and paragraphs.

Overview

The Google docs connector allows you to create a document, get a document and update a document.

Authentication

Note: Before authenticating any Google connector, you will need to whitelist the Tray.io Google authentication app. Please follow the instructions here before continuing with the authentication process.

Once this is done, you can click on the New Authentication button:

add-auth

Example 1 - Create a document

This example will walkthrough how to create a new document. The first step is to add the Google docs connector to the workflow. To use this operation, select the Create docs operation in the input panel. The title for the document will need to be provided.

create-docs

Example 2 - Update a document

This example will walkthrough how to update a document with a given document ID. To use this operation, select the Update docs operation in the input panel. ID of the document will be required to choose the document to be updated. You can use the Create docs operation to select the ID of the new document that has been created or manually enter the document ID of another document.

Then input the text that you would like to insert to the document and the location using the index. Document body will be updated with the given text, starting from the index.

update-docs

Was this article helpful?
Yes
No