Skip to main content

New Message Sent To User

Triggers a workflow on every new message in the mailbox of the user you provided the ID of.

info

Automations based on this trigger will search for new events every 5 minutes.

Parameters

ParameterDescription
User IDThe ID or userPrincipalName of the user.

Sample Event

{
"@odata.context": "https://graph.microsoft.com/v1.0/$metadata#users('bb8775a4-4d8c-42cf-a1d4-4d58c2bb668f')/messages(sender,subject)",
"value": [
{
"@odata.etag": "W/\"CQAAABYAAADHcgC8Hl9tRZ/hc1wEUs1TAAAwR4Hg\"",
"id": "AAMkAGUAAAwTW09AAA=",
"subject": "You have late tasks!",
"sender": {
"emailAddress": {
"name": "Microsoft Planner",
"address": "noreply@Planner.Office365.com"
}
}
}
]
}