Forum Discussion
Email Notifications for Comments on Planner Tasks
- ThreePointNZAug 25, 2022Copper Contributor
dcdman8 That's a great idea, except there is no "Planner comment" triggers in Power Automate. It has task created, assigned to... but nothing for when a comment is added. Annoying!
- Caroline BerkhoutMar 30, 2023Copper Contributor
I built this exact Flow with Power Automate, but it operates on the Group inbox.
There's a template that posts a Teams message whenever a new Email arrives to the group inbox, I've modified to send an email instead.
Trigger: When a new Email arrives to a group
After the "Get a thread post" you'll need to get the information from the Task, as the email does not contain any "Assigned to" information.
There's button in the email "Reply to this task in Planner" use Find Text Position and Substring actions to extract the ID of the Task
Find Text Position 1: %22%7D"
Substring 1: start 0 end <result from Find Text Position 1>
Find Text position 2: task%2F
Compose: add 7 to <result of Text Position 2>
Substring 2: start <result of Compose>
Get a task: ID <result of Substring 2>
The assignments are only user IDs, so you'd need to use Get User Profile(V2) to get the email address of the the assignment IDs.
The only problem I have now is that users are getting notifications twice:
- From the Flow
- The default email they get someone commented on a task after they've posted a comment
I haven't found a way to turn these default emails off.. argh!Edit:
I've found that if you change the Outlook Group settings to "No email or events" the email goes straight into your Deleted Items.
Even though Microsoft says:
Any plan member comments after your comment
You
Email
You can't turn this off.