Creates a new table in a Google Document and populates its cells with provided text data in a single operation. Use this action when you need to insert a structured table with predefined content into a document. The action handles both table creation and cell population automati…
rowsRequiredintegerThe number of rows in the table. Must be between 1 and 20.
indexintegerThe zero-based index where the table will be inserted, in UTF-16 code units. The index must be strictly less than the segment's end index. To insert at the end of a segment, omit this parameter and set 'insertAtEndOfSegment' to true instead.
tabIdstringThe tab that the location is in. When omitted, the request is applied to the first tab.
columnsRequiredintegerThe number of columns in the table. Must be between 1 and 20.
cellDataRequiredarrayA 2D array (list of lists) containing the text content for each cell. The outer list represents rows, and each inner list represents columns. Must match the dimensions specified by 'rows' and 'columns'. Empty strings are allowed for empty cells.
segmentIdstringThe ID of the header, footer or footnote the location is in. An empty segment ID signifies the document's body.
documentIdRequiredstringThe ID of the document to update.
insertAtEndOfSegmentbooleanIf true, inserts the table at the end of the segment (document body, header, or footer specified by segment_id). If false or omitted, and 'index' is not provided, it defaults to inserting at the end of the document body.
dataRequiredData from the action execution
errorstringError if any occurred during the execution of the action
successfulRequiredbooleanWhether or not the action execution was successful or not
OAuth connection. Risk level 2 of 5.
Free Action
No published Skills explicitly reference this Action yet.