Actions4
- Document Actions
Document → Append Text
AI-generatedSummary
Append specified text to the end of a Google Docs document identified by its document ID.
Inputs
- Authentication (required) — Choose between 'Refresh Token (Auto-Refresh)' or 'Bearer Token (Manual)' to authenticate the API requests.
- Document ID (required) — The unique identifier of the Google Docs document to append text to.
- Text (required) — The text content to append at the end of the specified document.
- Options — Optional parameters including a custom refresh token to override the default credential refresh token when using auto-refresh authentication.
Output shape
a single JSON object containing the Google Docs API batchUpdate response merged with the document ID
The output includes the full API response from the append operation and adds the documentId for reference. Errors will halt execution unless 'Continue On Fail' is enabled, in which case error information is returned per item.
Examples
Example 1: Append text to a specific Google Docs document using auto-refresh authentication.
Set Authentication to 'Refresh Token (Auto-Refresh)', provide the Document ID, enter the text to append, and optionally specify a custom refresh token if needed.