cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
knotta
Level: Powered On

I need to insert the body of an email into Planner task

Hello,

 

I've built a flow to create a Planner task from an email, using the email subject as the title and received time as the task start date.

 

I also want/need to include the body of the email in the task itself.

 

Is there a way to do that other than manually?

11 REPLIES 11
Community Support Team
Community Support Team

Re: I need to insert the body of an email into Planner task

Hi @knotta,

 

Where do you want the email body to be filled in Planner? Here are all the available fields currently in Planner - Create task action:

Capture.PNG

 

If you want to fill the email body in other fields in Planner, you could post this idea in the Flow Ideas forum, so it might be considered for future releases.

https://powerusers.microsoft.com/t5/Flow-Ideas/idb-p/FlowIdeas

 

Regards,

Mona Li

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
knotta
Level: Powered On

Re: I need to insert the body of an email into Planner task

Thanks for the reply.

 

So, I'd like to get the body of the email somewhere into the task, not into the title.

 

The overall Flow I'm trying to build is this: When I receive an email from a specific email address (aircomserver@airnz.co.nz), I want the Flow to create a Planner Task, using the subject of the email as the title of the task, with a start date time of the email receipt date. I've been able to create this much, but have yet to get it to execute consistently. 

 

In addition, I'd like the due date to be automatically generated for 2 days after receipt of the email, and for the body of the email to appear in the task's description field. I've tried to do this by Update Task Details flow step, but it requires the unique ID of the new task, which I don't know how to bring into the flow step.

 

Any help is appreciated.

 

dinosaucy
Level: Power Up

Re: I need to insert the body of an email into Planner task

I accomplished this by adding a new action.  For the task ID, I used the dynamic content and clicked "ID" and it worked. 

 

For the description, I clicked the dynamic content "Body" and it filled in the body of the email, almost like you were trying to do.

 

My problem is that it puts the HTML version of the email and not just the text.

knotta
Level: Powered On

Re: I need to insert the body of an email into Planner task

Re: HTML, let it run overnight. It may correct itself. A collegue had the same issue, and it resolved over time.

Billtard
Level: Powered On

Re: I need to insert the body of an email into Planner task

You can convert the HTML body of the email by adding an action and choosing HTML to Text,  then I've been doing another Action to translate that text to english, not sure if helps but then I take and do another action and grab my Planner Task and update the description with the translated text.  

 

Capture.PNG

TandemPrinting
Level: Power Up

Re: I need to insert the body of an email into Planner task

I'm getting errors with your workflow at the last step: Update Task Details. it seems that the Dynamic Content "Id" is failing. Any tips on how to resolve that?

 

 Screen Shot 2018-01-25 at 11.54.41 AM.png

Billtard
Level: Powered On

Re: I need to insert the body of an email into Planner task

I don't, strangely I had the same error pop up out of no where. One day I went to show a co-worker how to use flow and I used this one as my example and that error was gone.  I enabled it and it started working.  No idea what changed.  Sorry I can't help there.

TandemPrinting
Level: Power Up

Re: I need to insert the body of an email into Planner task

Thanks for the quick reply. I found the fix in another thread. It seems a bug was introduced in Flow and now you have to add a "Delay" action between the Task creation step and the Task Details editing step. See this post:

https://powerusers.microsoft.com/t5/Building-Flows/Planner-Get-Task/m-p/79219

Billtard
Level: Powered On

Re: I need to insert the body of an email into Planner task

NICE! good find.  I'll throw that in mine right now.

icgraham
Level: Power Up

Re: I need to insert the body of an email into Planner task

I get an error when running update task details:

"Schema validation has failed. Validation for field 'Description', on entity 'TaskDetails' has failed: The field cannot be longer than 32768 characters
 
I am populating the body of the mail in the description.  Is there a way to truncate the body message so it can be less than the character allowance?
 
Also/alternatively, is there a way to create a dynamic link back to the email message.  It would be fine to link to either the webmail or the local client.
leseeule
Level: Power Up

Re: I need to insert the body of an email into Planner task

Hello I have the same problem, email thread/body should be in planner, but email is too long. Any way to link to email or add email itself as attachment via flow.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,326)