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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Create an Email as a T...
Power Automate
Unanswered

Create an Email as a Task in Microsoft Teams Planner

(0) ShareShare
ReportReport
Posted on by

Hello everyone,

 

I am desperate... 😞

 

I have been trying for hours to create a flow that should follow this sequence:

 

  1. An email in Outlook is flagged.
  2. The email itself and the attachment are recorded as a task in MS Teams, including both attachments.
  3. The flag in Outlook gets removed once the task has been successfully created in MS Teams

 

Is there anyone who can help me with this? 🙂

 

Regards,
DeZuger

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,868 Most Valuable Professional on at

    Hi @DeZuger,

     

    Below is an example, if that helps?

     

    1. The task is created first. 

     

    2. Within an apply to each the content of each attachment is collected and stored as a file on SharePoint

     

    3. Each created file is stored in an Array variable called AttachmentArray (in this case my attachments are word documents)

     

    {
     "alias": "@{outputs('Create_file')?['body/Name']}",
     "resourceLink": "https://contoso.sharepoint.com/sites/ConsultantTeam@{outputs('Create_file')?['body/Path']}",
     "type": "Word"
    }

     

     

     

    flaggedemailexample.png

     

    4. Below the Apply to each loop the task is updated with that array of attachments.

     

    5. Lastly the flag is set to completed

     

    flaggedemailexample02.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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 711

#2
Vish WR Profile Picture

Vish WR 691

#3
Haque Profile Picture

Haque 525

Last 30 days Overall leaderboard