Update message
BetaChanges data
Changes an email's read state, importance, categories or flag in Microsoft 365.
Settings
| Setting | What it is |
|---|---|
| ConnectionRequired | The Microsoft Graph connection the step signs in with. |
| MailboxRequired | The mailbox this node works in — a user's sign-in address, or their object id. Your app needs Mail.ReadWrite for it. |
| Message idRequired | The id a list of messages answered, as Graph gave it. |
| Read | "" or "true" or "false" |
| Importance | "" or "low" or "normal" or "high" |
| Categories | Comma-separated category names. They replace the message's categories; leave empty to keep them. |
| Flag | "" or "notFlagged" or "flagged" or "complete" |
Technical details
| Key | Value |
|---|---|
connection | texta connection id from `requires.connections` (provider `microsoft-graph`) |
mailbox | text |
messageId | text |
isRead | "" or "true" or "false" |
importance | "" or "low" or "normal" or "high" |
categories | text |
flag | "" or "notFlagged" or "flagged" or "complete" |
Output
| Field | Type |
|---|---|
message | object |
message.id | string |
message.subject | string |
Sample output, and the expression for each field
- message
- id"1"
- subject"Hi"
Errors
When a step of this node stops a run, the run page shows a code. Look it up:
Example step
The step as a flow file holds it. Replace each value in <…>.
{
"config": {
"categories": "",
"connection": "<connection id>",
"flag": "",
"importance": "",
"isRead": "",
"mailbox": "<mailbox>",
"messageId": "<message id>"
},
"label": "Update message",
"type": "graph.updateMessage",
"version": 1
}