Menu
Gmail.users.messages.batch Modify
Modifies the labels on the specified messages.
POST
/gmail/v1/users/{userId}/messages/batchModifyUse it in a workflow
- Add a step and choose the Gmail connector.
- Pick the Gmail.users.messages.batch Modify action (under users).
- Fill in the fields below, then reference the result from later steps as
{{gmailUsersMessagesBatchModify.response.data}}.
Request
Path parameters
Query parameters
Request body
Enter the body as JSON in the step's Body field.
{
"addLabelIds": [
"string"
],
"ids": [
"string"
],
"removeLabelIds": [
"string"
]
}
Response
Returns 200 with a any. Read it in later steps with {{gmailUsersMessagesBatchModify.response.data.<field>}}.
Need more? See the Gmail guide for connection setup and behaviour shared by every action.
Was this page helpful?