Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Flow email to send link to Planner task

(0) ShareShare
ReportReport
Posted on by

I have a flow that will send an email to the manager of the complaint department when a new Planner task is created. I am able to include the name of the task as well as the Bucket it was dropped within the email body. I would also like to include a link in the email to take the manager directly to the newly created task card. How can this be done?

  • CassiaB Profile Picture
    3 on at
    Re: Flow email to send link to Planner task

    This post helped me so much. How would one alter this flow if the task is assigned to more than one person?

  • JSimmons Profile Picture
    10 on at
    Re: Flow email to send link to Planner task

    Thanks for this, my use case was slightly different.

    I am automating cross linking a task and a List item.

    The problem is the same though - no native access to task URL.

     

    Your content here got me off in the right direction thanks 👍

     

    I used a simple concatenate function to stitch together the task URL.

    1. Go to a sample task
    2. Copy the URL of the task
    3. Paste it and only retain the first part of the URL

      https://tasks.office.com/YourOrgURL.com/Home/Task/ 

    4. Create your concat() function as follows and insert the ID of the task from your Dynamic Content:

      contcat( 'https://tasks.office.com/YourOrgURL.com/Home/Task/',  [TASK ID])

    Agree, it should be supported natively but this is a operational workaround till Microsoft catch up with this...

  • Amanthaper Profile Picture
    441 on at
    Re: Flow email to send link to Planner task

    Glad that worked out for you. It's useful piece of code to keep handy. 🙂

  • AnnetteM Profile Picture
    on at
    Re: Flow email to send link to Planner task

    This worked PERFECTLY!!!! Thank you!!!!

  • Verified answer
    Amanthaper Profile Picture
    441 on at
    Re: Flow email to send link to Planner task

    Hi,

    Please use this URL to dynamically construct the link within a flow. You will need to reference your org's tenant.

    https://tasks.office.com/yourorgtenant.onmicrosoft.com/Home/Task/7xwgXPo4dkGMvlbL7cLf9mUADD8o?Type=TaskLink&Channel=Link

    You can customize the Outlook email body and use an HTML href to do this.

    Here's a walkthrough.

    UA_Planner3.png

    Result.

    UA_Planner2.png

    This is the Outlook body syntax:

    <a href="@{variables('Tasklinkhead')}@{triggerOutputs()?['body/id']}@{variables('Tasklinkfoot')} "onMouseOver="this.style.color='#CC0022'" onMouseOut="this.style.color='#75757C'" target="_blank" data-toggle="tooltip"
    title="Here is a link to this task">Here is a link to this task: @{triggerOutputs()?['body/title']}</a>
    <p>
    <a href="https://tasks.office.com/atnypa.onmicrosoft.com/Home/Task/@{triggerOutputs()?['body/id']}?Type=TaskLink"
    onMouseOver="this.style.color='#CC0022'" onMouseOut="this.style.color='#75757C'" target="_blank"
    data-toggle="tooltip" title="Here is another link to this task">Here is another link to this task@{triggerOutputs()?['body/title']}</a>

     

    Hope this helps,

    Aman T.

    ------------------------------------------------------------------------------------------------------
    If my post helps you with your problem or answers your question, please mark it Solved or Answered. This helps anyone with similar challenges. If you like my response, please give it a Thumbs Up.
    ------------------------------------------------------------------------------------------------------

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1