Google Docs Batch Update icon

Google Docs Batch Update

Build and send Google Docs batch update requests

Create Tables Request → Update Table Row Style

AI-generated

Summary

Applies a style configuration to one or more rows within a specific table location in a Google Doc.

Inputs

  • Table Start Index (required) — The zero-based index (in UTF-16 code units) of the segment where the table begins.
  • Row Indices (required) — The zero-based row indices of the rows whose style to update, specified as a comma-separated string (e.g., '0, 2' or '0').
  • Additional Location Fields — A collection of fields to refine the location. Includes 'Segment ID' (header/footnote/body) and 'Tab ID' (specific tab in multi-tab docs).
  • Style — A collection of fields defining the style to apply. Includes 'Min Row Height' (minimum height), 'Table Header' (is header row), and 'Prevent Overflow' (cannot cross page boundaries).
  • Fields — A multi-select list of the specific style properties to update (Min Row Height, Table Header, Prevent Overflow).

Output shape

A list of success items with metadata about the batch request execution.

The operation uses Google Docs' Batch Update API. If the request is malformed or the specified location/style is invalid, the node will fail and the workflow execution will stop.

Examples

Example 1: Set the first row as a header row in a table located at the start of the document body.

Table Start Index: 0, Row Indices: 0, Fields: Table Header (true)

Example 2: Ensure a row at index 5 has a minimum height of 50 points and cannot overflow to the next page.

Table Start Index: 0, Row Indices: 5, Fields: Min Row Height (50), Prevent Overflow (true)

Links

Discussion