Skip to main content
archive removes Gmail’s INBOX system label from one or many messages. Use it when an automation has finished handling inbox mail but the messages should remain available in Gmail.

Example

Archive each new message after applying a record-keeping label:

Inputs

Every input field also accepts a compatible Signal; the example chains the output of addLabel into archive.

Output

The action returns a Signal<string[]> containing the modified message IDs in input order. Gmail does not have a separate Archive folder. Archiving removes INBOX; it does not trash or delete the messages, and other labels remain applied. The action changes the supplied messages rather than every message in their threads.