---
title: "Replace All Text"
description: "Replaces all occurrences of text in a Google Docs document."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/docs/replace-all-text"
---
# Replace All Text

> Replaces all occurrences of text in a Google Docs document.

<block-meta block="Yes" capability="Google Docs" channels="Any" folder="google/docs" group="Docs" groupTo="/build/workflows/blocks/docs" icon="i-lucide-replace" pipe="Value" scope="Any" service="Google" tool="Yes" type="google.docs.replace_all_text">



</block-meta>

**Replace All Text** Replaces all occurrences of text in a Google Docs document.

## Configure

<table>
<thead>
  <tr>
    <th>
      Setting
    </th>
    
    <th>
      Description
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      <strong>
        Document ID
      </strong>
    </td>
    
    <td>
      Document id
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Find
      </strong>
    </td>
    
    <td>
      Text to find. Liquid template (<code>
        {{ path }}
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Replace
      </strong>
    </td>
    
    <td>
      Replacement text. Liquid template (<code>
        {{ path }}
      </code>
      
      )
    </td>
  </tr>
  
  <tr>
    <td>
      <strong>
        Match case
      </strong>
    </td>
    
    <td>
      Case-sensitive match
    </td>
  </tr>
</tbody>
</table>

## Pipe schema

| Key | Type | Description |
| --- | --- |
| `documentId` | text | Document id |
| `occurrencesChanged` | number | How many replacements ran |

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
