Skip to main content

Notifications

Community site session details

Community site session details

Session Id : bviS4x1XADpX9FkjmEfj/x
Power Automate - General Discussion
Unanswered

Using MS Flow to Move email once MS Planner task has been completed

Like (0) ShareShare
ReportReport
Posted on 23 May 2018 12:54:21 by 12

CAn some one please help!

 

I have a flow which creates a task in MS Planner.  once the task (in planner) is flagged complete, i want Flow to get the email linked to that Task and move the email to a sub-emailfolder. 

 

When i choose trigger "when a task is completed" (in planner) then under the action i select "move email" however i dont get a choice for "message id"

 

Capture.PNG

  • Kenny C Profile Picture
    3 on 06 Oct 2020 at 18:05:37
    Re: Using MS Flow to Move email once MS Planner task has been completed

    Has this been figured out? I need the same process flow for emails, except I only have emails I flag added to planner then moved when they are marked complete in planner. Need the body details of the email placed in the description body of the planner task.

     

    Thanks

  • ARKW Profile Picture
    12 on 24 May 2018 at 15:38:45
    Re: Using MS Flow to Move email once MS Planner task has been completed

    Hi Kris,

     

    your solution works, however i lose the ability to bring the body of the email into the description of the task.  any idea how to fix this.  see below, the "The Plain Text" dynamic field is from the "HTML to Text" which converts the body of the email into plain text so it can be read in the "Description" field of the task, the below scenario doesnt work but illustrates what i am trying to achieve.  if i take out the "The Plain Text" entity then the flow work and a task is added to Planner but without email details.  how do i get the email details in the description box as well as move the email to a submailbox when complete?

     

    Capture 3.PNG

  • ARKW Profile Picture
    12 on 24 May 2018 at 08:50:41
    Re: Using MS Flow to Move email once MS Planner task has been completed

    Hi Kris,

     

    Thank you for your response.  I have tried out your scenario, which was exactly the same as my Scenario but the difference was you added "Description" in the Message id field of Move Email.  I have changed to mimic your flow scenario.  unfortunatly, this did not work for me.  When I go ahead and test the flow by selecting "i'll perform the trigger action" the flow runs without me performing the trigger action.  I have looked in the Planner and made sure there are no completed tasks.  The error i get looks like thishttps://ibb.co/ixUcy8

     

    My "create a task" flow looks like this: https://ibb.co/jisEd8.  I have to convert the body of email from HTML to plain text, so it can be read within the task (in Planner)

     

    Regards,

    Amit


    @v-xida-msft wrote:

    Hi @ARKW,

     

    Could you please share a bit more about your scenario?

    Do you create two separated flows or a single flow on your side?

    How do you create your Planner task using Microsoft Flow? Do you create your Planner task based on an incoming email?

     

    I assume that you created two separated flows on your side, one flow is used to create a Planner task based on the incoming email, another flow is used to move email once Planner task has been completed. When creating a Planner task in your Planner based on the incoming email, you could consider take a try to store the Message Id into your Planner task (On my side, store the Message Id within the Description property of the task).

     

    I have made a test on my side, please take a try with the following workaround:

    First Flow: Create a Planner task based on the incoming email:17.JPG

    Within Description field of the "Update task details" action, type the Message Id dynamic content of the trigger.

     

    The flow works successfully as below:18.JPG19.JPG

     

     

    Second Flow: Move email once Planner task has been completed:20.JPGThe flow works successfully as below:21.JPG

     

     

     

    Best regards,

    Kris

     

     

     

     



    @v-xida-msft wrote:

    Hi @ARKW,

     

    Could you please share a bit more about your scenario?

    Do you create two separated flows or a single flow on your side?

    How do you create your Planner task using Microsoft Flow? Do you create your Planner task based on an incoming email?

     

    I assume that you created two separated flows on your side, one flow is used to create a Planner task based on the incoming email, another flow is used to move email once Planner task has been completed. When creating a Planner task in your Planner based on the incoming email, you could consider take a try to store the Message Id into your Planner task (On my side, store the Message Id within the Description property of the task).

     

    I have made a test on my side, please take a try with the following workaround:

    First Flow: Create a Planner task based on the incoming email:17.JPG

    Within Description field of the "Update task details" action, type the Message Id dynamic content of the trigger.

     

    The flow works successfully as below:18.JPG19.JPG

     

     

    Second Flow: Move email once Planner task has been completed:20.JPGThe flow works successfully as below:21.JPG

     

     

     

    Best regards,

    Kris

     

     

     

     


     

  • v-xida-msft Profile Picture
    on 24 May 2018 at 06:20:47
    Re: Using MS Flow to Move email once MS Planner task has been completed

    Hi @ARKW,

     

    Could you please share a bit more about your scenario?

    Do you create two separated flows or a single flow on your side?

    How do you create your Planner task using Microsoft Flow? Do you create your Planner task based on an incoming email?

     

    I assume that you created two separated flows on your side, one flow is used to create a Planner task based on the incoming email, another flow is used to move email once Planner task has been completed. When creating a Planner task in your Planner based on the incoming email, you could consider take a try to store the Message Id into your Planner task (On my side, store the Message Id within the Description property of the task).

     

    I have made a test on my side, please take a try with the following workaround:

    First Flow: Create a Planner task based on the incoming email:17.JPG

    Within Description field of the "Update task details" action, type the Message Id dynamic content of the trigger.

     

    The flow works successfully as below:18.JPG19.JPG

     

     

    Second Flow: Move email once Planner task has been completed:20.JPGThe flow works successfully as below:21.JPG

     

     

     

    Best regards,

    Kris

     

     

     

     

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Automate - General Discussion

#1
rpersad Profile Picture

rpersad 16

#2
David_MA Profile Picture

David_MA 10 Super User 2025 Season 1

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 8 Super User 2025 Season 1

Overall leaderboard