GOOGLE WORKSPACE Create header function

The GOOGLE WORKSPACE Create header function in RPA.

Help CentreFunctions & Formulas

This article describes the RPA Google Workspace connector function to create or update the document header.

For a full list of available functions, please read GOOGLE WORKSPACE functions.


Description

The Create header function creates or updates the header section of a Google Docs document. The header appears at the top of every page.


Input parameters

ParameterRequiredTypeDefaultDescription
ConnectorYesSelect-Select the Google Workspace connector to use
Document IDYesText-Google Docs document ID
Section indexNoNumber0Section index (0 for default section)
VariableYesText-Variable to store the header ID

Output variables

VariableTypeDescription
VariableObjectObject containing headerId for subsequent text insertion

Errors

  • Document not found – the document ID is invalid or you lack access

Tips

  • After creating the header, use Insert text with the header segment ID to add content
  • Different sections can have different headers

Related functions

  • Create footer – Create a document footer
  • Insert text – Add text to the header

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or go live in 7 days.