Short answer: Drop the "Gmail → Trash Message" action anywhere in your workflow, map the inputs from upstream nodes, and publish.
Every field can be mapped from an upstream trigger, AI step, table row, or hard-coded literal.
| Field | Type | Required | Description |
|---|---|---|---|
Message ID messageId | string | Required | Gmail message ID — the hex string Gmail assigns to each message. Find via List Messages. Not the RFC822 Message-Id header. |
{"messageId": "e.g. 18a1b2c3d4e5f6"}
{"id": "msg123","snippet": "Hi, I wanted to discuss...","labelIds": ["TRASH"],"threadId": "thread123"}
Use these fields in downstream nodes for routing, logging, or error handling.
Any of these apps can fire this action as part of a workflow.
Triggered by anything in the catalog. Free tier available. No credit card.