Skip to main content

Google Docs Operations Reference

Orkes Conductor integrates with Google Docs to let you create and manage documents directly from your workflows. You can use the following operations to create, read, update, and append content in Google Docs, without leaving your workflow.

This page covers the parameters and expected output for each operation available in the Google Docs integration.

Create Document

Create a new Google Doc with a title and optional initial content. Use this when a workflow needs a fresh document for authoring, summarizing, or templated output.

ParameterDescriptionTypeRequired/Optional
TitleThe title of the Google Doc.stringRequired.
Initial ContentThe plain text content to place in the Google Doc.stringOptional.

Update Document

Replace all document content with new text. The existing content is fully deleted before the new text is inserted. Use this when you need to overwrite a document with fresh output.

ParameterDescriptionTypeRequired/Optional
Document IDThe ID of the document to update. If left empty/blank, it falls back to the default document ID provided in the integration.
To get the document ID, open the Google doc. The ID is the string of characters at the end of the URL: https://docs.google.com/document/d/1<YOUR-DOC-IS>/edit?tab=t.0.
stringOptional.
TextThe new plain text content to replace the entire document body.stringOptional.

Get Document

Fetch a Google Doc by ID, including structure and content metadata. Use this when you need to inspect headings, content, or layout before deciding what to change or append.

ParameterDescriptionTypeRequired/Optional
Document IDThe ID of the Google Doc to retrieve. If left empty/blank, it falls back to the default document provided in the integration.
To get the document ID, open the document. The ID is the string of characters at the end of the URL: https://docs.google.com/document/d/<YOUR-DOC-ID>/edit?tab=t.0.
stringOptional.

Replace Text

Find and replace all occurrences of target text in a Google Doc. Use this when you need to update placeholders, fix wording, or apply template substitutions at scale.

ParameterDescriptionTypeRequired/Optional
Document IdThe Google Doc ID where text is to be replaced. If left empty/blank, it falls back to the default document provided in the integration.
To get the document ID, open the document. The ID is the string of characters at the end of the URL: https://docs.google.com/document/d/<YOUR-DOC-ID>/edit?tab=t.0.
stringOptional.
Search TextThe target text to search for in the Google Doc.stringRequired.
Replacement TextThe text to replace in the Google Doc. Defaults to empty if not provided.stringOptional.
Match CaseSet to true for case-sensitive matching, or false to ignore case.booleanOptional.

Append Text

Append text to the end of an existing Google Doc. Use this when you want to progressively build up content or add AI-generated sections to a document.

ParameterDescriptionTypeRequired/Optional
Document IdThe Google Doc ID where text will be appended. If left empty/blank, it falls back to the default document provided in the integration.
To get the document ID, open the document. The ID is the string of characters at the end of the URL: https://docs.google.com/document/d/<YOUR-DOC-ID>/edit?tab=t.0.
stringOptional.
TextThe text to append at the end of the document. Defaults to empty if not provided.stringRequired.