Append Text

google_docs.append_text
ActionFiles & storageconnection required

Calls documents.batchUpdate insertText at endOfSegmentLocation, so a running log doc keeps growing however long it already is.

Append text to the end of an existing Google Doc.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Docs
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
token_uri
Resolved by
config.connection_id, else node.connection_id

Configuration

3 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
document_id
Id of the document (the long segment in its /document/d/<id>/edit URL).
stringYes———
text
Text to append. Supports {{ }} expressions; end it with \n to start the next append on its own line.
stringYes———
tab_id
Optional tab to append to. Defaults to the document's first tab.
stringNo———

Output

One shape.

appended

FieldTypeExample
ok
booleantrue
document_id
string—
characters_appended
number—
tab_id
The tab written to, when one was named.
string—
url
Editor URL of the document.
string—
{
  "characters_appended": 0,
  "document_id": "",
  "ok": true,
  "tab_id": "",
  "url": ""
}

See Append Text run in a workflow.

In a technical demo we add the Google Docs connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.