Docs
Google integration · 6 node(s).
00Overview
Google Docs document operations
Every field below is exactly what you see in the Flomation editor. Fields marked ● live picker let you choose from a list pulled live from your account — no IDs to look up.
01Connecting Docs
Add your credentials as a Flomation environment secret, then pick them in each node. The connection fields are:
${secrets.your_secret}.02Append
Append to Document
google/docs/append_text · Action
Append text to the end of a Google Docs document
| Field | Type | Details | |
|---|---|---|---|
| Document ID | string | Required | |
| Text to Append | text | Required | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, success, error
03Create
Create Document
google/docs/create · Action
Create a new Google Docs document
| Field | Type | Details | |
|---|---|---|---|
| Title | string | Required | My Document |
| Initial Content | text | ||
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, document_id, document_url, success, error
04Get
Get Document Metadata
google/docs/get_metadata · Action
Get metadata for a Google Docs document
| Field | Type | Details | |
|---|---|---|---|
| Document ID | string | Required | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, title, revision_id, document, success, error
05Insert
Insert Image in Document
google/docs/insert_image · Action
Insert an image into a Google Docs document
| Field | Type | Details | |
|---|---|---|---|
| Document ID | string | Required | |
| Image URL | string | Required | |
| Width (points) | integer | 400 | |
| Height (points) | integer | 300 | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, success, error
06Read
Read Document
google/docs/read · Action
Read the content of a Google Docs document
| Field | Type | Details | |
|---|---|---|---|
| Document ID | string | Required | |
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, content, title, document, success, error
07Replace
Replace Text in Document
google/docs/replace_text · Action
Find and replace text in a Google Docs document
| Field | Type | Details | |
|---|---|---|---|
| Document ID | string | Required | |
| Find Text | string | Required | |
| Replace With | string | Required | |
| Match Case | boolean | ||
| Google Account (email) | string | ||
| Google OAuth Credential | credential | ${credentials.GOOGLE_DRIVE} |
Returns: tool_result, occurrences_replaced, success, error
08Notes & Limitations
Behaviours and constraints worth knowing before you build with these nodes.
- The Google connection here is shared with Google Drive, so a single OAuth credential (
GOOGLE_DRIVE) authorises every Docs action and one authorisation covers both. - Every action identifies a document by its Document ID — the identifier string taken from the document's URL — not the full shareable link you copy from the browser.
- Replace Text acts across the whole document and swaps every matching occurrence at once, so prefer distinctive placeholder tokens (for example
{{customer_name}}) to avoid unintended matches. - Replace Text ignores letter case unless Match Case is enabled, meaning "Draft" and "draft" are both replaced by default.
- Insert Image needs a publicly reachable image URL that Google can fetch directly — links behind a login or private permissions will fail — and accepts only PNG, JPEG, or GIF files.
- Read Document returns the document's body text only; embedded images, and content in headers or footers, are not included in the extracted text.