---
title: Google Docs modules
slug: google-docs-modules
image: https://make-cxp-documentation.ams3.cdn.digitaloceanspaces.com/apps-center-icons/PREVIEW_DEFAULT.png
docTags: 
createdAt: 2025-03-14T07:52:20.323Z
---

After connecting to the Google Docs app, you can use the following modules to build your scenarios.&#x20;

# Document

:::ExpandableHeading
## Watch Documents

Triggers when a new document is created or modified in a specific folder.

| **Field**           | **Description**                                                                                                                                                                                                                                                                     |
| ------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**      | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                    |
| **Watch Documents** | Select whether you want to watch created or modified documents.                                                                                                                                                                                                                     |
| **Choose a Drive**  | Select the drive that contains the documents you want to watch.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.&#x20;
* Shared Drive: Select the drive. |
| **Folder ID**       | Select the folder that contains the documents you want to watch.                                                                                                                                                                                                                    |
| **Limit**           | Set the maximum number of documents Make will return in one execution cycle.                                                                                                                                                                                                        |
:::

:::ExpandableHeading
## List Documents

Retrieves a list of documents.

|                    |                                                                                                                                                                                                                                                                                    |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**     | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                   |
| **Choose a Drive** | Select the drive that contains the documents you want to list.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.&#x20;
* Shared Drive: Select the drive. |
| **Folder ID**      | Select the folder that contains the documents you want to list.                                                                                                                                                                                                                    |
| **Limit**          | Set the maximum number of documents Make will return in one execution cycle.                                                                                                                                                                                                       |
:::

:::ExpandableHeading
## Get Content of a Document

Gets a content of a document.

| **Field**                     | **Description**                                                                                                                                                                                                                                                                   |
| ----------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**                | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                  |
| **Get Content of a Document** | Select to map the ID of the document you want to get or select the document from the dropdown menu.                                                                                                                                                                               |
| **Choose a Drive**            | Select the drive that contains the documents you want to get.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.&#x20;
* Shared Drive: Select the drive. |
| **Document ID**               | Select or map the document you want to retrieve.                                                                                                                                                                                                                                  |
| **Include Tabs Content**      | Select if you want to include a content from documentation tabs.                                                                                                                                                                                                                  |
| **Filter**                    | Select the type of content you want to receive in the output.<br />For further mapping of filter objects in next modules, use **Inline Objects Array**. The Inline Objects Array objects are sorted in the same order they appear in the document.                                |
:::

:::ExpandableHeading
## Create a Document

Creates a new Google document by adding the content in the HTML format.

| **Field**                   | **Description**                                                                                                                                                                                                                                                               |
| --------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**              | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                              |
| **Name**                    | Enter the name of a document.                                                                                                                                                                                                                                                 |
| **Content**                 | Enter the content of a document. You can use HTML tags.                                                                                                                                                                                                                       |
| **Choose a Drive**          | Select the drive you want to put a created document into.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.&#x20;
* Shared Drive: Select the drive. |
| **New Document's Location** | Select the folder where you want to save a document.                                                                                                                                                                                                                          |
| **Insert a Header**         | Select whether you want to add a header to a document.                                                                                                                                                                                                                        |
| **Insert a Footer**         | Select whether you want to add a footer to a document.                                                                                                                                                                                                                        |
:::

:::ExpandableHeading
## Create a Document from a Template

Creates a copy of an existing template document and replaces any tags, for example, `{{!notfound:name}}`. This module allows replacing images by new images with URLs.

| **Field**                             | **Description**                                                                                                                                                                                                                                                                                                     |
| ------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**                        | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                                                    |
| **Create a Document from a Template** | Select to map the ID of the document you want to use as a template or select the document from the dropdown menu.                                                                                                                                                                                                   |
| **Choose a Drive**                    | Select the drive you want to put a created document into.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.&#x20;
* Shared Drive: Select the drive.                                       |
| **Document ID**                       | Select or map the document you want to use as the template for the new document.                                                                                                                                                                                                                                    |
| **Values**                            | Tags  	  Enter the tag associated with the documentation template. Do not use \{\{}}.     Replaced Value  	  Enter the value of the tag.                                                                                                                                                                            |
| **Images Replacement**                | You may add the **alt text** to an image.<br />* Image Object ID: Enter the Image Object ID. To retrieve the ID, use the Get Content of a Document module. You can find the ID in Inline Object Array, in the module output.    &#x20;
* Image URL: Enter the URL of the image that will replace the current image. |
| **Title**                             | Enter the name for a new document.                                                                                                                                                                                                                                                                                  |
| **New Drive Location**                | Select the drive where you want to save the document.                                                                                                                                                                                                                                                               |
| **New Document's Location**           | Select the folder where you want to save a document.                                                                                                                                                                                                                                                                |
:::

:::ExpandableHeading
## Insert a Paragraph to a Document

Inserts or appends a new paragraph to an existing document.

| **Field**                | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**           | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| **Select a Document**    | Select to map the ID of the document for editing or select the document from the dropdown menu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| **Choose a Drive**       | Select the drive you want to put a created document into.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.&#x20;
* Shared Drive: Select the drive.                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| **Document ID**          | Select or map the document you want to edit.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| **Insert a Paragraph**   | Select the way you want to insert a paragraph.<br />Select **By appending to the body of the document** to append the text to the current document body:<br />* Appended Text: Enter the text you want to append. Make copies the style of the new paragraph from the paragraph at the current insertion index, including lists and bullets.<br />Select **By appending to the end of the segment** to insert the text to the header or the footer:<br />* Header ID: Enter the header ID that you want to inset the text to.    &#x20;
* Insert Text: Enter the text you want to insert.    &#x20;
* Footer ID: Enter the footer ID that you want to insert the text to.    &#x20;
* Insert Text: Enter the text you want to insert. |
| **Specify the location** | If you selected **By specification of location** above, specify the location where you want to insert text.<br />**By Index**<br />* Index: Enter the element index that you want to append the text to. To retrieve the ID, use the Get Content of a Document module. You can find the ID in the Body collection, in the module output.    &#x20;
* Inserted Text: Enter the text you want to insert.<br />**By Segment ID**<br />* Select the header and footer where you want to insert the text content to and enter the very text.                                                                                                                                                                                               |
:::

:::ExpandableHeading
## Insert an Image to a Document

Inserts a new image with a URL to a document.

The maximum image size is 50 MB. The image resolution must not exceed 25 megapixels. Only PNG, JPEG, or GIF formats are supported.

| **Field**                | **Description**                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Connection**           | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Select a Document**    | Select to map the ID of the document for editing or select the document from the dropdown menu.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| **Choose a Drive**       | Select the drive that contains the documents you want to insert an image into. In the **Folder ID** field, select the drive.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.&#x20;
* Shared Drive: Select the drive.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| **Document ID**          | Select or map the document you want to edit.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| **Insert an Image**      | Select the way you want to insert an image.<br />Select **By appending to the body of the document** to append an image to the current document body:<br />* Image URL: Enter the URL of the image you want to insert.<br />Select **By appending to the end of the segment** to insert an image to the header or the footer:<br />* Header ID: Enter the header ID that you want to inset the text to.    &#x20;
* Image URL: Enter the URL of the image you want to insert.    &#x20;
* Height Magnitude in Points: Define the height of the inserted image. The new image will keep the aspect ratio.    &#x20;
* Width Magnitude in Points: Define the width of the inserted image. The new image will keep the aspect ratio.    &#x20;
* Footer ID: Enter the footer ID that you want to inset the text to.    &#x20;
* Image URL: Enter the URL of the image you want to insert.    &#x20;
* Height Magnitude in Points: Define the height of the inserted image. The new image will keep the aspect ratio.    &#x20;
* Width Magnitude in Points: Define the width of the inserted image. The new image will keep the aspect ratio. |
| **Specify the Location** | If you selected **By specification of location** above, specify the location where you want to insert the text.<br />**By Index**<br />* Index: Enter the element index that you want to append the text to. To retrieve the ID, use the Get Content of a Document module. You can find the ID in the Body collection, in the module output.    &#x20;
* Image URL: Enter the URL of the image you want to insert.<br />**By Segment ID**<br />* Select the header and footer where you want to insert the image to and enter the link to the image.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
:::

:::ExpandableHeading
## Replace an Image with a New Image

Replaces an existing image with a new image with a URL in the document. To fill the original image's bounds, the new image may be scaled or cropped.

| **Field**              | **Description**                                                                                                                                                                                                                                                                                                                                       |
| ---------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**         | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                                                                                      |
| **Replace an Image**   | Select to map the ID of the document for editing or select the document from the dropdown menu.                                                                                                                                                                                                                                                       |
| **Choose a Drive**     | Select the drive that contains the documents with an image you want to replace. In the **Folder ID** field, select the drive.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.    &#x20;
* Shared Drive: Select the drive. |
| **Document ID**        | Select or map the document you want to edit.                                                                                                                                                                                                                                                                                                          |
| **Image URLs**         | Enter the URL of the new image that will replace the existing one. Make displays image bodies as per images order in the document.                                                                                                                                                                                                                    |
| **Images Replacement** | Specify an image you want to replace alongside with a new image.<br />* Image Object ID: Enter the Image Object ID. To retrieve the ID, use the Get Content of a Document module. You can find the ID in Inline Object Array, in the module output.    &#x20;
* Image URL: Enter the URL of the image that will replace the current image.            |
:::

:::ExpandableHeading
## Replace a Text in a Document

Replaces an old text by a new text in a document.

| **Field**          | **Description**                                                                                                                                                                                                                                                                                                                                       |
| ------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**     | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                                                                                      |
| **Choose a Drive** | Select the drive that contains the documents with the text you want to replace. In the **Folder ID** field, select the drive.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.    &#x20;
* Shared Drive: Select the drive. |
| **Document ID**    | Select or map the document you want to edit.                                                                                                                                                                                                                                                                                                          |
| **Replace a Text** | Specify the text you want to replace alongside with a new text.<br />* Old text to be replaced: Enter the text you want to replace.    &#x20;
* New text to be inserted: Enter a new text.                                                                                                                                                            |
:::

:::ExpandableHeading
## Download a Document

Downloads a document to a required format.

| **Field**          | **Description**                                                                                                                                                                                                                                                                                                                          |
| ------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**     | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                                                                         |
| **Choose a Drive** | Select the drive that contains the documents you want to download. In the **Folder ID** field, select the drive.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.    &#x20;
* Shared Drive: Select the drive. |
| **Document ID**    | Select or map the document you want to download.                                                                                                                                                                                                                                                                                         |
| **Type**           | Select the target file format of the downloaded document.                                                                                                                                                                                                                                                                                |
:::

:::ExpandableHeading
## Delete a Document

Deletes a document.

| **Field**          | **Description**                                                                                                                                                                                                                                                                                                                        |
| ------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**     | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                                                                       |
| **Choose a Drive** | Select the drive that contains the documents you want to delete. In the **Folder ID** field, select the drive.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.    &#x20;
* Shared Drive: Select the drive. |
| **Document ID**    | Select or map the document you want to delete.                                                                                                                                                                                                                                                                                         |
:::

# Other

:::ExpandableHeading
## Make an API Call

Performs an arbitrary authorized API call.

| **Field**        | **Description**                                                                                                                                                                                                                                    |
| ---------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**   | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                   |
| **URL**          | Enter a path relative to `https://docs.googleapis.com/`. For example, `/v1/documents/{DocumentID}`.<br />For the list of available endpoints, refer to the [Google Docs API Documentation](https://developers.google.com/docs/api/reference/rest). |
| **Method**       | Select the HTTP method you want to use:<br />* GET: To retrieve information for an entry.
* POST: To create a new entry.
* PUT: To update/replace an existing entry.
* PATCH: To make a partial entry update.
* DELETE: To delete an entry.        |
| **Headers**      | Enter the desired request headers. You don't have to add authorization headers; we already did that for you.                                                                                                                                       |
| **Query String** | Enter the request query string.                                                                                                                                                                                                                    |
| **Body**         | Enter the body content for your API call.                                                                                                                                                                                                          |
:::

:::ExpandableHeading
## Make All Links in a Document Clickable

Makes all links in a document clickable.

| **Field**                        | **Description**                                                                                                                                                                                                                                                                  |
| -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Connection**                   | [Create a connection to your Google Docs account.](docId\:n8AywSmdIYylZnlm_rit_)                                                                                                                                                                                                 |
| **Make All Links in a Document** | Select to map the ID of the document that contains links or select the document from the dropdown menu.                                                                                                                                                                          |
| **Choose a Drive**               | Select the drive that contains the documents with links.<br />The **Google Shared Drive** option is available only for Google Workspace users:<br />* Use Domain Admin Access: Request the list of drives that require admin access.    &#x20;
* Shared Drive: Select the drive. |
| **Document ID**                  | Select or map the document.                                                                                                                                                                                                                                                      |
:::

