Google Docs icon

Google Docs

Seamlessly integrate and automate Google Docs with Tray.ai. Connect Google Docs to any app, automate workflows, sync files, and enhance productivity. Scalable, secure, and perfect for streamlining processes across your entire tech stack.

Overview

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

Authentication

Click on the New Authentication button: add-auth

Note on Operations usage

As the Google Drive connector holds most of the permissions available for downloading Google files (regardless of type) - it is recommended to try revising your workflow to include this connector, should you face any Google file downloading issues.

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 page helpful?