Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Unanswered

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

(0) ShareShare
ReportReport
Posted on 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 at
    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 at
    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 at
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,651 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,999 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow