Modify Labels
Add or remove Gmail labels on a message.
Type
google.gmail.modify_labelsListed only when a matching connected service is enabled.
Modify Labels adds and/or removes Gmail labels on one message. Use List Labels to resolve custom label ids.
Common system ids:
- Archive: remove
INBOX - Mark read: remove
UNREAD - Star: add
STARRED
Configure
| Setting | Description |
|---|---|
| Message ID | Gmail message id (required) |
| Add label IDs (optional) | Comma-separated ids to add |
| Remove label IDs (optional) | Comma-separated ids to remove |
At least one add or remove id is required.
Handles
| Handle | Role |
|---|---|
| In (target) | Incoming connection |
| Out (source) | Continues after Gmail accepts the change |
Pipe schema
| Key | Type | Description |
|---|---|---|
id | text | Message id |
threadId | text | Thread id |
labelIds | list | Labels after the change |