gmail.addLabel applies user or system labels to Gmail messages. System labels can change message state or placement.
Example
Apply theProcessed label to each newly received message:
Inputs
Inputs accept compatible signals.
Label IDs must match exactly. The action matches display names after trimming surrounding whitespace and ignoring capitalization. If any label doesn’t exist in the selected account, the action fails without modifying the messages.
Output
Returns aSignal<string[]> with the modified message IDs in input order.
This action updates messages, not entire threads, and does not create the
label. Prefer dedicated actions such as
gmail.archiveMessages,
gmail.markMessagesAsSpam, and gmail.markMessagesAsRead when they express
the system-label change you need.