Actions40
- Create Bullets Request Actions
- Create Document Request Actions
- Create Headers & Footers Request Actions
- Create Images Request Actions
- Create Named Ranges Request Actions
- Create Tables Request Actions
- Create Tabs Request Actions
- Create Text Request Actions
- Send Request Actions
Create Tables Request → Update Table Column Properties
AI-generatedSummary
Updates the width properties of one or more columns in a Google Docs table using a batch request.
Inputs
- index (required) — The zero-based index of the table start location (in UTF-16 code units), relative to the beginning of the segment specified by segmentId.
- additionalLocationFields — A collection specifying the end of segment location, including segmentId (for header/footer) and tabId (defaults to first tab in document).
- columnIndices (required) — A comma-separated string of zero-based column indices to update (e.g., '0' or '0, 2'). If omitted, all columns are updated.
- fields — An array of strings selecting which properties to update. Available fields: 'widthType' (EVENLY_DISTRIBUTED or FIXED_WIDTH) and 'width'.
- properties — A collection defining the property values to set for the selected columns.
Output shape
a single record containing the batch request status and metadata
Returns a standard n8n success record with a status and a Google API response object containing the updated table locations.
Examples
Example 1: Distribute column widths evenly
Set index to 0, columnIndices to '0', fields to ['widthType'], and properties to { 'widthType': 'EVENLY_DISTRIBUTED' }.
Example 2: Set a fixed width for specific columns
Set index to 0, columnIndices to '1, 3', fields to ['width'], and properties to { 'width': 200 }.