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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Saving Attachments Fro...
Power Automate
Unanswered

Saving Attachments From Previous Emails in INBOX

(0) ShareShare
ReportReport
Posted on by 11

Hello, 

I use the Power Flow that automatically saves email attachments to OneDrive. Is there a way to get the flow to manually run through my entire inbox. I essentially need to do this only once. 

Thank you.

Categories:
I have the same question (0)
  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @bbanic23  you can use Get Emails action to get emails from the inbox and then add apply to each action to loop through emails and add get attachment action inside the apply to each action to get attachment and save it to onedrive 

  • bbanic23 Profile Picture
    11 on at

    I am having a hard time following this. I don't see the "Get Emails" action. Can you provide a couple screen shots?

     

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @bbanic23 just search for Get Emails as shown in below screenshot

     

    annajhaveri_0-1616578891874.png

     

  • Verified answer
    annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @bbanic23  configure your flow as follows:

     

    Configure the Get Emails action as follows, you can apply more settings, like select specific folder, change Top count - count of emails to be returned by this action, apply filters like from, to, etc. I would suggest to apply more filters to narrow down the number of emails to be returned by this action

    annajhaveri_2-1616580589392.png

     

    Then loop through value (items from Get Emails) using Apply to each action, then again loop through attachments of email inside the Apply to each using Apply to each again, see below screenshot for reference, then get the attachment and save it to onedrive.

     

    annajhaveri_1-1616580566563.png

     

  • bbanic23 Profile Picture
    11 on at

    I really appreciate this. Thank you so much. This will help out immensely!

  • MelGen Profile Picture
    24 on at

    any way to include a specific date or date range for these email attachments? I only want to put email attachments from 06/25/2022.  thanks

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @MelGen  are you looking for emails within specific date range? You can try using search query on Get Emails action to get emails of certain dates.

  • MelGen Profile Picture
    24 on at

    Could provide an example of a search query on Get Emails?  

  • annajhaveri Profile Picture
    8,531 Most Valuable Professional on at

    @MelGen below is example

    received<2015-06-30 and received>2015-06-01

     

  • MelGen Profile Picture
    24 on at

    I'll give it a try.. thanks 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard