web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Send an email when a P...
Power Automate
Unanswered

Send an email when a Planner task is completed

(0) ShareShare
ReportReport
Posted on by 8

Hello,

 

We are trying to use the "Send an email when a Planner task is completed" template and we want to send an email to the assignee on of the task when the task is completed. We've tried to use the "assignments Assigned to User Id" dynamic content on "To" on the send email (V2), but we are getting an error.

 

 
Categories:
I have the same question (0)
  • rsaikrishna Profile Picture
    3,703 on at

    @KimPaoloDela 

     

    In the flow Run History, can you check what value it is shows for "assignments Assigned to User Id" in the output of "When a task is completed" trigger? If it is blank, then Send Email action will throw an error as Send Email action must need atleast one email id.

     

    Please let me know if you have any questions.

     

    Regards

    Krishna Rachakonda

    If this reply helped you to solve the issue, please mark the post as Accepted SolutionMarking this post as Accepted Solution, will help many other users to use this post to solve same or similar issue without re-posting the issue in the group. Saves a lot of time for everyone.
  • Verified answer
    Rohit Sharma354 Profile Picture
    on at

    Hello,

     

    You should try below. "assignments Assigned to User Id" returns an ID and not a UPN or email address.

     

    Define a string variable.

    Pass "assignments Assigned to User Id" in "Get User profile" action to get the UPN of the assignee on of the task.

     

    Screen1.png

     

    Then set the variable from the above output, and then pass the variable to the send an email action.

     

    Screen2.png

     

    Hope this helps !

     

     

  • KimPaoloDela Profile Picture
    8 on at

    Wow, this literally what we need. Yeah, we saw that we need a string or email on the "To" on send email, but we are not sure how.

     

    Thank you so much for your help.

  • KimPaoloDela Profile Picture
    8 on at

    Thank you for your help as well 🙂

  • liz_coello Profile Picture
    2 on at

    I followed the example as indicated, but it creates two cycles, I think it is affecting me because the variable arrives empty, what is wrong?, please help me

    liz_coello_0-1697609095817.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard