Skip to documentation
GMail integration

Check Message Labels

Perform Check Message Labels through GMail.

View as Markdown
gmail_check_message_labels
write

Inputs

  • message_id
    expressionrequired
    Message Id

    Required literal value or workflow expression.

  • labels
    textrequired
    Labels

    Required text value.

  • match_mode
    select
    Match Mode

    Optional selected identifier or value.

    Default: "all"

    Options: Has ALL labels ("all"), Has ANY label ("any")

Outputs

  • successSuccess
  • message_idMessage Id
  • has_labelsHas Labels
  • matched_labelsMatched Labels
  • missing_labelsMissing Labels
  • message_labelsMessage Labels
  • errorError
  • error_messageError Message
  • error_codeError Code

Output schema completeness: best_effort_declared

Safety

External effect
write
Confirmation recommended
No
Retry safe
No
Dry run supported
No

Schemas

These schemas are first-pass authoring guidance. Runtime validation remains authoritative.

Input schema
{
  "type": "object",
  "required": [
    "message_id",
    "labels"
  ],
  "properties": {
    "labels": {
      "type": "string",
      "description": "Required text value.",
      "x-workflow-field-type": "text"
    },
    "match_mode": {
      "enum": [
        "all",
        "any"
      ],
      "type": "string",
      "default": "all",
      "description": "Optional selected identifier or value.",
      "x-workflow-field-type": "select"
    },
    "message_id": {
      "description": "Required literal value or workflow expression.",
      "x-workflow-field-type": "expression"
    }
  },
  "additionalProperties": false
}
Output schema
{
  "type": "object",
  "properties": {
    "error": {},
    "success": {},
    "error_code": {},
    "has_labels": {},
    "message_id": {},
    "error_message": {},
    "matched_labels": {},
    "message_labels": {},
    "missing_labels": {}
  },
  "additionalProperties": true
}
View all GMail actions