Help Centre › Functions & Formulas
This article describes the RPA Google Workspace connector function to insert a page break in a Google Docs document.
For a full list of available functions, please read GOOGLE WORKSPACE functions.
Description
The Insert page break function inserts a page break at a specified index position in a Google Docs document. Content after the break starts on a new page.
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 page break |
Errors
- Document not found – the document ID is invalid or you lack access
- Invalid index – the index is outside the document bounds
Tips
- Page breaks cannot be inserted inside tables
- Use Insert section break for more control over page layout
Related functions
- Insert section break – Insert a section break
- Insert text – Insert text content