Docs & notes
Google Docs
Read and edit Google Docs.
Google Docs is a cloud-based word processor with real-time collaboration, version history, and integration with other Google Workspace apps
Triggers10
Things that can wake up your Google Docs coworker.
- New Document Created
Triggers when a new Google Doc is created. This trigger monitors Google Docs and fires when new documents are detected. Uses timestamp filtering to efficiently poll for new documents.
GOOGLEDOCS_DOCUMENT_CREATED_TRIGGER - Document Deleted
Triggers when an existing Google Doc is deleted (moved to trash). This trigger monitors Google Docs and fires when documents are trashed.
GOOGLEDOCS_DOCUMENT_DELETED_TRIGGER - Document Placeholder Filled
Triggers when a Google Doc's plain text changes such that a configured placeholder token/pattern is no longer present (i.e., the document has been filled in). This trigger monitors a specific Google Doc and fires when a placeholder pattern that was previously present is no longer found in the document's plain text.
GOOGLEDOCS_DOCUMENT_PLACEHOLDER_FILLED_TRIGGER - Document Search Update
Triggers when a Google Doc matching a user-defined search query is newly created or updated since the last poll. This trigger uses timestamp filtering to efficiently monitor documents.
GOOGLEDOCS_DOCUMENT_SEARCH_UPDATE_TRIGGER - Document Structure Changed
Triggers when a Google Doc's structure changes (headers/footers added/removed, tables/images count changes). This trigger monitors a specific document for structural changes like: - Headers added or removed - Footers added or removed - Tables added or removed - Images (inline objects) added or removed - Positioned objects added or removed - Footnotes added or removed
GOOGLEDOCS_DOCUMENT_STRUCTURE_CHANGED_TRIGGER - Document Updated
Triggers when an existing Google Doc is updated or modified. This trigger monitors Google Docs and fires when documents are updated.
GOOGLEDOCS_DOCUMENT_UPDATED_TRIGGER - Document Word Count Threshold
Triggers when a Google Doc's word/character count crosses a user-defined threshold. This trigger monitors a specific Google Doc and fires when its word or character count becomes greater than or equal to the configured threshold value.
GOOGLEDOCS_DOCUMENT_WORD_COUNT_THRESHOLD_TRIGGER - New Folder Created in Root
Triggers when a new folder is created in the root folder of Google Drive. This trigger monitors Google Drive and fires when new folders are detected in the root directory.
GOOGLEDOCS_FOLDER_CREATED_TRIGGER - Keyword Detected in Document
Triggers when a specific keyword or phrase first appears in a Google Doc. This trigger monitors a Google Doc and fires once when the specified keyword is detected. After the keyword is found, the trigger will not fire again until reset.
GOOGLEDOCS_KEYWORD_DETECTED_TRIGGER - New Document Added
Triggers when a new Google Doc is added/created. This trigger monitors Google Docs and fires when new documents are detected.
GOOGLEDOCS_PAGE_ADDED_TRIGGER
Actions20
Things your coworker can do in Google Docs.
- Copy Google Document
Tool to create a copy of an existing Google Document. Use this to duplicate a document, for example, when using an existing document as a template. The copied document will have a default title (e.g., 'Copy of [original title]') if no new title is provided, and will be placed in the user's root Google Drive folder.
GOOGLEDOCS_COPY_DOCUMENT - Create blank document (Deprecated)
DEPRECATED: Use GOOGLEDOCS_CREATE_DOCUMENT instead. Tool to create a blank Google Docs document with a specified title. Use when you need to create a new, empty document.
GOOGLEDOCS_CREATE_DOCUMENT2 - Create Document Markdown
Creates a new Google Docs document, optionally initializing it with a title and content provided as Markdown text.
GOOGLEDOCS_CREATE_DOCUMENT_MARKDOWN - Create Footer
Tool to create a new footer in a Google Document. Use when you need to add a footer, optionally specifying its type and the section it applies to.
GOOGLEDOCS_CREATE_FOOTER - Create Footnote
Tool to create a new footnote in a Google Document. Use this when you need to add a footnote at a specific location or at the end of the document body.
GOOGLEDOCS_CREATE_FOOTNOTE - Create Header
Tool to create a new header in a Google Document, optionally with text content. Use this tool when you need to add a header to a document. You can provide: - document_id: The ID of the document (required) - type: The header type (DEFAULT is the standard header) - text: Optional text content to add to the header - section_break_location: Optional location for section-specific headers
GOOGLEDOCS_CREATE_HEADER - Create Named Range
Tool to create a new named range in a Google Document. Use this to assign a name to a specific part of the document for easier reference or programmatic manipulation.
GOOGLEDOCS_CREATE_NAMED_RANGE - Create Paragraph Bullets
Tool to add bullets to paragraphs within a specified range in a Google Document. Use when you need to format a list or a set of paragraphs as bullet points.
GOOGLEDOCS_CREATE_PARAGRAPH_BULLETS - Delete Content Range in Document
Tool to delete a range of content from a Google Document. Use when you need to remove a specific portion of text or other structural elements within a document. Note: Every segment (body, header, footer, footnote) in Google Docs ends with a final newline character that cannot be deleted. Ensure the endIndex does not include this trailing newline.
GOOGLEDOCS_DELETE_CONTENT_RANGE - Delete Footer
Tool to delete a footer from a Google Document. Use when you need to remove a footer from a specific section or the default footer.
GOOGLEDOCS_DELETE_FOOTER - Delete Header
Deletes the header from the specified section or the default header if no section is specified. Use this tool to remove a header from a Google Document.
GOOGLEDOCS_DELETE_HEADER - Delete Named Range
Tool to delete a named range from a Google Document. Use when you need to remove a previously defined named range by its ID or name.
GOOGLEDOCS_DELETE_NAMED_RANGE - Delete Paragraph Bullets
Tool to remove bullets from paragraphs within a specified range in a Google Document. Use when you need to clear bullet formatting from a section of a document.
GOOGLEDOCS_DELETE_PARAGRAPH_BULLETS - Delete Table Column
Tool to delete a column from a table in a Google Document. Use this tool when you need to remove a specific column from an existing table within a document.
GOOGLEDOCS_DELETE_TABLE_COLUMN - Delete Table Row
Tool to delete a row from a table in a Google Document. Use when you need to remove a specific row from an existing table.
GOOGLEDOCS_DELETE_TABLE_ROW - Export Google Doc as PDF
Tool to export a Google Docs file as PDF using the Google Drive API. Use when you need to generate a PDF version of a Google Docs document for download or distribution. Note: Google Drive enforces a 10MB limit on export content.
GOOGLEDOCS_EXPORT_DOCUMENT_AS_PDF - Get document plain text
Retrieve a Google Doc by ID and return a best-effort plain-text rendering. Converts document structure into plain text including paragraphs, lists, and tables without requiring clients to traverse complex Docs API JSON.
GOOGLEDOCS_GET_DOCUMENT_PLAINTEXT - Insert Inline Image
Tool to insert an image from a given URI at a specified location in a Google Document as an inline image. Use when you need to add an image to a document programmatically.
GOOGLEDOCS_INSERT_INLINE_IMAGE - Insert Page Break
Tool to insert a page break into a Google Document. Use when you need to start new content on a fresh page, such as at the end of a chapter or section.
GOOGLEDOCS_INSERT_PAGE_BREAK - Insert Table in Google Doc
Tool to insert a table into a Google Document. Use when you need to add a new table at a specific location or at the end of a segment (like document body, header, or footer) in a document.
GOOGLEDOCS_INSERT_TABLE_ACTION