Autofit rows
Resize rows to fit their content.
Command in the Google Workspace toolkit · id ooa.google/sheets_autofit_rows · 6 inputs (2 required), no outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Access token | Credential | Yes | Google OAuth access token from the vault; or leave it empty and choose a connection that signs in, which gets and renews the token. | |
| Spreadsheet ID | String | Yes | The spreadsheet: its id, its full link (https://docs.google.com/spreadsheets/d/...), or its exact name in Drive (a name made only of letters, digits, - and _ is read as an id; use the link for such names). | |
| Sheet | String | No | Sheet (tab) name; the first sheet when empty. | |
| From row | Number | No | First row from 1; all rows when empty. | |
| To row | Number | No | Last row; the first row when only that is given. | |
| Endpoint address | String | No | Replaces https://*.googleapis.com for testing or a proxy; leave empty normally. |