Actions26
Label → Get Many
AI-generatedSummary
Get many Gmail labels
Inputs
- returnAll — When true, returns all labels; otherwise limits the result count based on the Limit field.
- limit — Maximum number of labels to return when Return All is false. Minimum 1, maximum 500, default 10.
Output shape
array
Each element is a Gmail label object with at least id and name fields. If Return All is false, the array length is limited by Limit; otherwise it contains all labels available in the account.
Examples
Example 1: Fetch first 20 labels
Set Return All to false and Limit to 20
Example 2: Fetch all labels
Set Return All to true