Help Centre › Functions & Formulas
This article describes the RPA Google Workspace connector function to insert a section break in a Google Docs document.
For a full list of available functions, please read GOOGLE WORKSPACE functions.
Description
The Insert section break function inserts a section break at a specified index position. Section breaks allow different headers, footers, page orientation, and margins for different parts of the 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 section break |
| Type | No | Select | NEXT_PAGE | NEXT_PAGE or CONTINUOUS |
Errors
- Document not found – the document ID is invalid or you lack access
- Invalid index – the index is outside the document bounds
Tips
- Use NEXT_PAGE to start a new page; CONTINUOUS to keep content flowing
- Section breaks enable different headers/footers per section
Related functions
- Insert page break – Insert a simple page break
- Create header – Create section-specific headers