Gmail Nexviahub icon

Gmail Nexviahub

Consume the Gmail API

Message → Add Label

AI-generated

Summary

Add one or more labels to a specific Gmail message by its Message ID using OAuth2 or Service Account authentication.

Inputs

  • Client ID (required) — The Client ID for Google OAuth authentication.
  • Client Secret (required) — The Client Secret for Google OAuth authentication.
  • Refresh Token (required) — The Refresh Token used to dynamically obtain an Access Token.
  • Authentication (required) — Choose between OAuth2 (recommended) or Service Account authentication methods.
  • Message ID (required) — The ID of the Gmail message to which labels will be added.
  • Label Names or IDs (required) — Select one or multiple labels to add to the message, either by choosing from a list or specifying label IDs using expressions.

Output shape

a single record

The operation returns the updated message metadata including the newly added labels, if successful. Any error during the process will be reported as execution failure.

Links

Discussion