[Google] Update Google Doc
The Update Google Doc block writes new content to an existing Google Document identified by its document ID.
Update the contents of an existing Google Doc
The Update Google Doc block writes new content to an existing Google Document identified by its document ID. You can control exactly how the content is applied using the operationType parameter, which supports three modes: prepending content to the top of the document, appending it to the bottom, or overwriting the document's entire contents. The text you provide can be formatted as plain text, HTML, or Markdown, depending on what your workflow produces upstream.
What you can build
Real-world workflows powered by the [Google] Update Google Doc block.
Append AI-Generated Reports
Add AI-generated summaries or analysis results to the bottom of a running Google Doc log, building up a record over time.
Overwrite Document Drafts
Replace the full contents of a draft Google Doc with a newly generated version each time the workflow runs.
Prepend Meeting Notes
Insert the latest meeting summary at the top of a shared Google Doc so the most recent entry is always first.
Publish Markdown Content
Write Markdown-formatted content produced by an AI block directly into a Google Doc for review or distribution.
Update CRM Call Logs
Append structured call notes or customer interaction summaries to a designated Google Doc after each workflow execution.
Sync HTML Email Templates
Overwrite a Google Doc with the latest HTML email template generated by an upstream block for team review.
Ready to add [Google] Update Google Doc to your workflow?
Get Started FreeCommon questions about [Google] Update Google Doc
What parameters are required to use this block?
The block requires a documentId (the Google Document ID to update), a text value (the content to write), a textType specifying the format of that content (plain, html, or markdown), and an operationType defining how the content is applied (addToTop, addToBottom, or overwrite). A Google OAuth connectionId is optional and used to authenticate with a specific Google account.
What does the block return after updating a document?
The block outputs a single field, documentUrl, which is the URL of the updated Google Document.
What is the difference between the three operationType options?
addToTop prepends the provided text before the existing document content, addToBottom appends it after the existing content, and overwrite replaces all existing content in the document with the new text.
What text formats does the block support?
The textType parameter accepts three values: plain for unformatted text, html for HTML markup, and markdown for Markdown-formatted content.
What kinds of workflows commonly use this block?
This block is commonly used in workflows that generate content with AI and need to persist that content to a Google Doc, such as report generation, meeting note logging, draft writing pipelines, and any workflow that maintains a running document updated on a recurring basis.
Related capabilities
[Google] Create Google Doc
Create a new Google Document and optionally populate it with content.
[Google] Fetch Google Doc
Fetch the contents of an existing Google Document.
[Google] Create Google Sheet
Create a new Google Spreadsheet and populate it with CSV data.
[Google] Update Google Sheet
Update a Google Spreadsheet with new data.
[Google] Fetch Google Sheet
Fetch contents of a Google Spreadsheet range.
Search Google
Search the web using Google and return structured results.
Add [Google] Update Google Doc to your workflow
Build powerful AI workflows with drag-and-drop blocks. No coding required.