Skip to main content
Community site session details

Community site session details

Session Id : gvztO7xBkbhDvWvfFN3PsS
Power Automate - Using Flows
Unanswered

Automatically save emails and attachments from outlook to teams channel or onedrive

Like (0) ShareShare
ReportReport
Posted on 11 Jul 2022 11:00:10 by

Hi 

 

As the title suggests i would like to automatically save emails from a set of senders from outlook to teams channel or onedrive for business.  either in outlook message format or pdf.

 

any help would be appreciated

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on 11 Jul 2022 at 14:24:13
    Re: Automatically save emails and attachments from outlook to teams channel or onedrive

    HI @Motherboard85 ,

    it will display only the attachments. If you want to grab also the email body, I suggest you first to convert the Html to text with the following Action:

    MarconettiMarco_0-1657549432564.png

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

     

  • Motherboard85 Profile Picture
    2 on 11 Jul 2022 at 14:13:32
    Re: Automatically save emails and attachments from outlook to teams channel or onedrive

    Hi Marco

     

    Thats Great thanks.  Will this display the body of the email or just the attachment?  Ideally I would like both

  • MarconettiMarco Profile Picture
    3,812 Super User 2024 Season 1 on 11 Jul 2022 at 13:06:44
    Re: Automatically save emails and attachments from outlook to teams channel or onedrive

    Hello @Motherboard ,

    please follow these steps:

    1. Trigger: "When a new email arrives"; in the From field put the senders you want to filter and select "Yes" in the "Only with attachments" field:

    MarconettiMarco_0-1657544597857.png

    2. Add the "Get Attachment (V2)" action in order to grab all the attachments from the incoming email:

    MarconettiMarco_1-1657544657838.png

    The System will automatically create an "Apply to each" loop, cause it's not able to check how many attachments are present in the email;

    3. "Create file" using the OneDrive connector. For each attachment, PA will create a file in your specified path

    MarconettiMarco_2-1657544739969.png

     

     

     

    MarconettiMarco_3-1657544796992.png

     

     

    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

    BR,

    Marco

     

     

     

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Restore a deleted flow