Help Centre › Functions & Formulas
Insert text at a specific index.
Add it to a process
In the process designer, open the Add step tab. Find Insert text at a specific index under Google Workspace › Docs, or type its name in the search box, and drag it onto the canvas.
Fields
| Field | Required | What it does |
|---|---|---|
| Value | Yes | The text to insert |
| Index | No | Character position in the document to insert at (1 = beginning) Default: 1. |
See all Google Workspace steps.
Tips
- Use Get content to find the correct index positions before inserting
- Index 1 inserts at the very beginning of the document body
- Use \n for line breaks within the text
Related functions
- Append text – Add text to the end
- Delete content – Remove text at a position
- Replace text – Find and replace text