Skip to main content

Notifications

Power Automate - Building Flows
Suggested answer

Create a Planner task when a channel post starts with TODO + add mentioned user as assigned user

Posted on 27 Nov 2024 16:57:36 by
The Create a Planner task from TODO is straight forward. However, I cannot add the assigned task to the user who is mentioned in the post. I've been able to do it with the When a new channel message is added, but I am limited to the number of channels under a team to choose from. The TODO, I can include all the channels in one flow. I cannot find what I am missing in this flow to add the mentioned users ID whether it's adding another condition or even initializing a variable at the beginning.
  • Suggested answer
    SwatiSTW Profile Picture
    SwatiSTW 144 on 27 Nov 2024 at 17:24:18
    Create a Planner task when a channel post starts with TODO + add mentioned user as assigned user
    If you want to give a Planner task to the person who was mentioned in a Microsoft Teams message, you need to get that person's information correctly and then use it to assign the task.
    1. First, set off the "When a task is created in To Do" trigger.
    2. Add a step to look for mentions in the message or job description. You could use an action like "Get mentions from message" or something like that.
    3. Get the user's ID or email address if they are named. Many times, this is given in the "Get mentions" step's results.
    4. If there is no user name given, choose who should get the job, such as yourself or a default user.
    5. Making the new task is easy. Just click "Create a task" in Planner.
    6. Fill in the "Assigned To" field with the user's ID or email address to give the job to them.
    7. Check the flow to make sure it works and gives out jobs correctly. Check the steps where you get the user's ID if it doesn't.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,137

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,813

Leaderboard