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 / Microsft Power Automat...
Power Automate
Unanswered

Microsft Power Automate Desktop

(0) ShareShare
ReportReport
Posted on by 352 Moderator

I am dowlanding attachments from outlook with Desktop but I need only to .xlsx files how can I filter that?

I have the same question (0)
  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    HI,

     

    You can't directly say that you only want .xlsx files when using the activity retrieve emails from outlook within Power Automate Desktop.

     

    What you can do is:

    1. Use Retrieve email from outlook activity and save the files (im guessing you already have this part)

    2. Use get files in folder activity. HERE, you can filter on .xlsx

    3. Save those files somewhere else and clear the first folder.

     

    Good luck.

  • arcado Profile Picture
    352 Moderator on at

    Hi,

    I did what you suggested That is working but I have a following problem.  It stores as %movedfiles% and ıt cant get file path for that how can I do that do you have an idea?

  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    If moving files work after downloading them as an attachment, and %movedfiles% is an output from that activity, don't do anything.

     

    Your next step should just be get files from folder (where the moved files are) and within this activity, you can filter on .xlsx

     

  • arcado Profile Picture
    352 Moderator on at

    actually no, i did your step moved files with extension xlsx name of %movedfiles% . because it is list ı cant get the path. That the issue

  • OkanMTL Profile Picture
    703 Super User 2024 Season 1 on at

    You can get to the path by looping your list. The value of %movedfiles% are multiple filepaths, you can retrieve the values from a list like that with simple activities. like a for each (filepath) loop.

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 247 Super User 2026 Season 2

#2
11manish Profile Picture

11manish 164 Super User 2026 Season 2

#3
trice602 Profile Picture

trice602 138 Super User 2026 Season 2

Last 30 days Overall leaderboard