Google Docs
Google Docs is a cloud-based word-processing service provided by Google. It allows users to create, edit, and collaborate on documents in real-time from any device, making it ideal for team collaboration, remote work, document management, and sharing.
To integrate Google Docs with ZBrain Flow, follow these detailed steps:
Click the '+' button in the Flow and search for Google Docs in the ZBrain Flow.
Select the specific task from the list you want to include in the Flow. You can perform the below-listed tasks:
Append Text to Google Docs: Add additional text to an existing Google Docs document.
Create Document: Create a new document in Google Docs.
Custom API Call: Make a custom API call to a specific Google Docs endpoint.
Edit Template File: Edit a template file and replace the values with the provided ones.
Find Document: Search for a document by its name.
Read Document: Read the contents of an existing Google Docs document.
Create Document
Create a new document in Google Docs.
How to Configure Create Document to ZBrain Flow?
Create a connection with your Gmail ID and save the connection with a proper name in the Connection field or select from existing connections.
Provide a suitable title for the document in the Document Title field.
Add the content in the Document Content field.
Append Text to Google Docs
Add additional text to an existing Google Docs document.
How to Configure Append Text to Google Docs to ZBrain Flow?
Create a connection with your Gmail ID and save the connection with a proper name in the Connection field or select from existing connections.
Provide the text to be appended in the Text to append field.
Select the document's ID to append text to the Document ID field.
Custom API Call
Make a custom API call to a specific Google Docs endpoint.
How to Configure Custom API Call to Google Docs to ZBrain Flow?
Create a Connection with your Gmail ID and save the connection with a proper name, or select the already created connection.
Provide the URL. The URL refers to the specific endpoint of the API you want to interact with. This endpoint determines the resource or action the request will address (e.g., creating events, updating calendars, retrieving event details).
Choose the Method to be used for the API call.
Provide the Headers. These are key-value pairs sent along with the API request to convey additional information (e.g., authentication tokens, content type). Headers help the server process your request correctly. Authorization headers are injected automatically from your connection.
Provide the Query Parameters object. These are appended to the URL and are typically used to filter or modify the request. For example, adding
?status=active
might limit results to only active records.Include the main data payload (in formats such as JSON or form data) in the Body when making a request to create, update, or process the server's information.
Edit Template File
Edit a template file and replace the values with the provided ones.
How to Configure Edit Template File to ZBrain Flow?
Create a Connection with your Gmail ID and save the connection with a proper name, or select the already created connection.
Provide the name or ID of the new file where the edited template will be saved in the Destination File field. This ensures you donβt overwrite the original template.
Provide key-value pairs that correspond to placeholder text in the template in the Variables field. Each placeholder key in the template is replaced with the specified value during the editing process.
In the Images field, provide the Key: Image ID (get it manually from the Read File Action) and Value: Image URL. This is similar to Variables, but for inserting images into the template.
Find Document
Search for a document by its name.
How to Configure Find Document to ZBrain Flow?
Create a Connection with your Gmail ID and save the connection with a proper name, or select the already created connection.
Provide the name or partial name of the document you want to find in Google Docs in the Document Name field.
Specify the Google Drive folder where the search should be restricted from the drop-down of the Folder field. This helps narrow down results to a particular location.
Create a New Document if Not Found (Toggle): When enabled, a new document is automatically created if the specified name finds no matching document.
Read Document
Read the contents of an existing Google Docs document.
How to Configure Read Document to ZBrain Flow?
Create a Connection with your Gmail ID and save the connection with a proper name, or select the already created connection.
Provide the ID of the document to read in the Document ID field.
Last updated