Sign inStart your trial

Google Docs

Reference

10 triggers and 35 actions for Google Docs workflows.

01. Triggers

Start a workflow when something happens in Google Docs

Each trigger lists the event it fires on, the data it sends, and a template you can use it in.

Webhook

10 triggers

Real-time push from the source.

Webhook★ Featured

GOOGLEDOCS_DOCUMENT_CREATED_TRIGGER

Fires when a new Google Doc is created.

3 config fields2 output fields
Webhook★ Featured

GOOGLEDOCS_DOCUMENT_PLACEHOLDER_FILLED_TRIGGER

Fires when a placeholder pattern in a Google Doc is filled in and no longer appears in the document text.

8 config fields3 output fields
Webhook★ Featured

GOOGLEDOCS_DOCUMENT_UPDATED_TRIGGER

Fires whenever someone updates or modifies an existing Google Doc.

3 config fields2 output fields
Webhook★ Featured

GOOGLEDOCS_DOCUMENT_WORD_COUNT_THRESHOLD_TRIGGER

Fires when a Google Doc's word or character count reaches or exceeds a number you set.

4 config fields10 output fields
Webhook★ Featured

GOOGLEDOCS_KEYWORD_DETECTED_TRIGGER

Fires when a specific keyword or phrase is first found in a Google Doc. The trigger will not fire again for the same keyword until it's reset.

7 config fields6 output fields
Webhook

GOOGLEDOCS_DOCUMENT_DELETED_TRIGGER

Fires when a Google Doc is deleted or moved to trash.

3 config fields2 output fields
Webhook

GOOGLEDOCS_DOCUMENT_SEARCH_UPDATE_TRIGGER

Fires when a Google Doc matching your search criteria is newly created or updated.

7 config fields2 output fields
Webhook

GOOGLEDOCS_DOCUMENT_STRUCTURE_CHANGED_TRIGGER

Fires when a Google Doc's structure changes, such as when headers, footers, tables, images, or footnotes are added or removed.

2 config fields6 output fields
Webhook

GOOGLEDOCS_FOLDER_CREATED_TRIGGER

Fires when a new folder is created in the root directory of Google Drive.

2 config fields2 output fields
Webhook

GOOGLEDOCS_PAGE_ADDED_TRIGGER

Fires when a new Google Doc is created or added.

3 config fields2 output fields
02. Operations

Act on Google Docs from a workflow

Operations are the actions a workflow can take in Google Docs, grouped by category. Each lists its method, parameters, and a template you can drop it into.

Charts

1 operation

Extract chart objects and data from Google Sheets embedded within documents. Use these operations when you need to reference or analyze visualization elements as part of your document automation workflow.

Action

Get Charts from Spreadsheet

GOOGLEDOCS_LIST_SPREADSHEET_CHARTS

Retrieve all charts from a Google Sheets spreadsheet to access their IDs and specifications for reuse across your documents and presentations. This helps you organize and reference visual data without manually recreating charts.

1 input

Document Content

6 operations

Manage the textual and structural elements of your document including paragraphs, bullets, footnotes, and text replacements. These operations are essential for dynamically editing document body content, adding citations, or reformatting existing text during workflow automation.

Action★ Featured

Insert Text into Document

GOOGLEDOCS_INSERT_TEXT_ACTION

Add text content to a Google Document at a specific location or append it to the end. This is useful for programmatically building documents, inserting information into templates, or updating document content without manual editing.

6 input
Action

Create Footnote

GOOGLEDOCS_CREATE_FOOTNOTE

Add footnotes to your Google Documents at specific locations to provide citations, references, or additional explanatory notes without cluttering your main text.

3 input
Action

Create Paragraph Bullets

GOOGLEDOCS_CREATE_PARAGRAPH_BULLETS

Format paragraphs as bullet points in a Google Document to create organized, easy-to-read lists. This is useful for presenting information in a structured format that improves readability and document flow.

3 input
Action

Delete Content Range in Document

GOOGLEDOCS_DELETE_CONTENT_RANGE

Removes a specific section of text or content from your Google Document, allowing you to efficiently clean up or reorganize your document structure without manual deletion.

2 input
Action

Delete Paragraph Bullets

GOOGLEDOCS_DELETE_PARAGRAPH_BULLETS

Removes bullet formatting from paragraphs in a specified section of your Google Document, converting bulleted lists back to regular text.

3 input
Action

Replace All Text in Document

GOOGLEDOCS_REPLACE_ALL_TEXT

Quickly replace all instances of a specific text throughout a Google Document in one action, saving time on repetitive editing tasks.

6 input

Document Layout

5 operations

Control the header, footer, and page break elements that define your document's structure and appearance. Reach for these when you need to establish consistent page formatting, add recurring content across pages, or manage document sections in automated workflows.

Action

Create Footer

GOOGLEDOCS_CREATE_FOOTER

Add a footer to your Google Document to display consistent information like page numbers, dates, or company details across all pages.

3 input
Action

Create Header

GOOGLEDOCS_CREATE_HEADER

Adds a header to your Google Document that appears at the top of every page or in specific sections, with optional text content like page numbers or document titles.

4 input
Action

Delete Footer

GOOGLEDOCS_DELETE_FOOTER

Removes footer content from a Google Document, allowing you to clean up or restructure your document's page layout without footer information.

3 input
Action

Delete Header

GOOGLEDOCS_DELETE_HEADER

Removes header content from a Google Document section, allowing you to clean up document formatting or modify header structure as needed.

3 input
Action

Insert Page Break

GOOGLEDOCS_INSERT_PAGE_BREAK

Adds a page break to your Google Document to start new content on a fresh page, helping you organize content into logical sections.

2 input

Document Ranges

2 operations

Define and manage named ranges within documents for precise content targeting and reference. These operations let you create logical sections that can be easily located and modified in subsequent workflow steps.

Action

Create Named Range

GOOGLEDOCS_CREATE_NAMED_RANGE

Assign meaningful names to specific sections or data ranges in your Google Document, making it easier to reference, organize, and automate content updates across your documents.

6 input
Action

Delete Named Range

GOOGLEDOCS_DELETE_NAMED_RANGE

Remove a previously defined named range from your Google Document to clean up your document structure and prevent accidental references to outdated ranges. This helps maintain document organization as your templates and workflows evolve.

2 input

Document Style

1 operation

Apply and modify global style settings that affect the overall appearance and formatting of your document. Use this when you need to enforce consistent styling rules across your document in an automated manner.

Action

Update Document Style

GOOGLEDOCS_UPDATE_DOCUMENT_STYLE

Modify the overall formatting and layout settings of a Google Document, including page size, margins, and text direction. Use this to standardize document appearance or adapt formatting for different purposes without manually adjusting individual elements.

4 input

Documents

12 operations

Create, retrieve, update, and export complete Google Documents within your automation workflows. This is your primary category for document-level operations like creating new files, accessing existing documents, exporting to PDF, or managing document metadata and content in bulk.

Action★ Featured

Copy Google Document

GOOGLEDOCS_COPY_DOCUMENT

Creates a duplicate copy of an existing Google Document, useful for reusing templates or creating variations without modifying the original. The copy automatically receives a default title and appears in your Google Drive.

3 input
Action★ Featured

Create a document

GOOGLEDOCS_CREATE_DOCUMENT

Creates a new Google Docs document with a specified title and optional initial text, returning the document ID for future reference. This is useful for programmatically generating documents that can be shared, edited, or populated with additional content.

2 input
Action★ Featured

Export Google Doc as PDF

GOOGLEDOCS_EXPORT_DOCUMENT_AS_PDF

Convert your Google Docs documents into PDF files for easy sharing, archiving, and distribution to clients or stakeholders.

2 input
Action★ Featured

Get document by id

GOOGLEDOCS_GET_DOCUMENT_BY_ID

Fetch a specific Google Document using its ID to access its content and metadata. This is essential for retrieving documents you need to read, analyze, or process within your workflow.

2 input
Action★ Featured

Update existing document

GOOGLEDOCS_UPDATE_EXISTING_DOCUMENT

Modify content and formatting in your Google Docs programmatically by inserting, deleting, or updating text without manual editing. This lets you automate document changes triggered by external events or data sources.

2 input
Action

Create blank document (Deprecated)

GOOGLEDOCS_CREATE_DOCUMENT2

Creates a new blank Google Docs document with a title you specify, allowing you to start a new document programmatically without manual setup.

1 input
Action

Create Document Markdown

GOOGLEDOCS_CREATE_DOCUMENT_MARKDOWN

Creates a new Google Docs document with optional title and Markdown-formatted content, allowing you to quickly generate formatted documents programmatically. This is useful for automating document creation workflows without manual setup.

3 input
Action

Get document plain text

GOOGLEDOCS_GET_DOCUMENT_PLAINTEXT

Extract the full text content from a Google Doc in a simple, readable format without dealing with complex formatting or API structures. This is useful when you need to work with document content as plain text for analysis, processing, or integration with other tools.

9 input
Action

Search Documents

GOOGLEDOCS_SEARCH_DOCUMENTS

Find specific Google Documents across your account by searching for keywords, file names, and applying filters like creation date or content. This saves time when managing large document libraries and helps you quickly locate important files.

11 input
Action

Update Document Batch (Deprecated)

GOOGLEDOCS_UPDATE_DOCUMENT_BATCH

Apply multiple formatting, text, and structural changes to a Google Document in a single batch operation, ensuring all updates are valid before being applied. Streamline document editing workflows by combining multiple changes instead of making individual edits.

3 input
Action

Update Document Markdown

GOOGLEDOCS_UPDATE_DOCUMENT_MARKDOWN

Replace all content in a Google Docs document with formatted Markdown text, useful for quickly refreshing document content from external sources or templates.

3 input
Action

Update Document Section Markdown

GOOGLEDOCS_UPDATE_DOCUMENT_SECTION_MARKDOWN

Quickly update a specific section of your Google Docs document by inserting or replacing it with formatted Markdown content, allowing you to modify just the parts you need without rewriting entire documents.

5 input

Images

2 operations

Insert and replace images within your document content to build visually rich automated outputs. Use these operations when your workflow requires embedding graphics, icons, or updated image assets into documents dynamically.

Action

Insert Inline Image

GOOGLEDOCS_INSERT_INLINE_IMAGE

Adds images from a URL directly into your Google Document at a specific location, perfect for automating document creation with visual content. This helps you build professional documents without manual image insertion.

4 input
Action

Replace Image in Document

GOOGLEDOCS_REPLACE_IMAGE

Update images in your Google Docs by replacing them with new versions from a URL, keeping your document current without manual edits.

2 input

Tables

6 operations

Build and modify table structures including rows, columns, cells, and their styling properties. These operations enable you to construct dynamic data tables, reorganize table layouts, or format tabular content as part of your document automation.

Action

Delete Table Column

GOOGLEDOCS_DELETE_TABLE_COLUMN

Removes a specific column from a table in your Google Document, helping you reorganize table data by eliminating unnecessary columns.

2 input
Action

Delete Table Row

GOOGLEDOCS_DELETE_TABLE_ROW

Remove a specific row from an existing table in a Google Document, allowing you to clean up or update tabular data without manual editing.

2 input
Action

Insert Table Column

GOOGLEDOCS_INSERT_TABLE_COLUMN

Add a new column to an existing table in your Google Document at a specific position. This lets you expand your table structure without manually recreating it.

2 input
Action

Insert Table in Google Doc

GOOGLEDOCS_INSERT_TABLE_ACTION

Adds a structured table to your Google Document at a specific location, making it easy to organize and present data in a formatted grid.

7 input
Action

Unmerge Table Cells

GOOGLEDOCS_UNMERGE_TABLE_CELLS

Splits previously merged table cells back into individual cells in a Google Document, allowing you to restore the original table structure when your data organization needs change.

2 input
Action

Update Table Row Style

GOOGLEDOCS_UPDATE_TABLE_ROW_STYLE

Modify the visual styling of table rows in a Google Document, including adjusting row height and designating header rows to improve document formatting and readability.

2 input
What now

Use Google Docs in a workflow

Drop a trigger and an action into a template; approve from your phone; the workflow runs.