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

Community site session details

Session Id : euJ379+iiFXORlVvrUYAZX
Power Automate - Using Flows
Answered

Send an email when a Planner task is completed - email formatting

Like (0) ShareShare
ReportReport
Posted on 25 Nov 2021 14:30:38 by 114

I am using the flow template 'Send an email when a Planner task is completed'

 

The only thing I have changes is the recipient email, apart from that the flow is default. I do receive the email but the formatting is ignored, also the 'Completed By' value is a random string of characters? See image below for flow and email.

 

Any ideas?

 

flowflowemailemail

I have the same question (0)
  • Verified answer
    v-LilyW-msft Profile Picture
    on 29 Nov 2021 at 03:03:45
    Re: Send an email when a Planner task is completed - email formatting

    Hi @jonboylib 

    You can user Get user profile (V2) action to get who completed the task.

    If you want to format the date , you can use the formatDateTime function.

    You can refer to the below screenshots to see if it helps.

    vLilyWmsft_0-1638154001120.png

    Copy 'body/completedBy/user/id' to User field from Send an email.

    vLilyWmsft_2-1638154218713.png

    Then delete 'body/completedBy/user/id' and select Display Name.

    vLilyWmsft_4-1638154438022.png

    Use formatDateTime function to format completed date.

    Expression:

    formatDateTime(triggerOutputs()?['body/completedDateTime'],'yyyy-MM-ddTHH:mm:ss')

    vLilyWmsft_5-1638154493738.png

    When a task is completed by Test2, I will receive an email like below.

    vLilyWmsft_6-1638154795244.png

    Hope the content above may help you.

    Best Regards

    If my solution helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

     

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Telen Wang – Community Spotlight

We are honored to recognize Telen Wang as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 986 Moderator

#2
stampcoin Profile Picture

stampcoin 699 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 577 Super User 2025 Season 2

Featured topics

Restore a deleted flow