Help Centre › Functions & Formulas
This article describes the RPA Google Workspace connector function to insert a table into a Google Docs document.
For a full list of available functions, please read GOOGLE WORKSPACE functions.
Description
The Insert table function inserts a table with the specified number of rows and columns at a given index position in a Google Docs document.
Input parameters
| Parameter | Required | Type | Default | Description |
|---|---|---|---|---|
| Connector | Yes | Select | - | Select the Google Workspace connector to use |
| Document ID | Yes | Text | - | Google Docs document ID |
| Index | Yes | Number | - | The index position to insert the table |
| Rows | Yes | Number | - | Number of rows |
| Columns | Yes | Number | - | Number of columns |
Errors
- Document not found – the document ID is invalid or you lack access
- Invalid index – the index is outside the document bounds
Tips
- After inserting, use Insert text with cell-specific indices to populate table cells
- Use Get content to find the table cell indices after insertion
Related functions
- Insert text – Add text to table cells
- Get content – Get document structure including tables