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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Move attachment to One...
Power Automate
Unanswered

Move attachment to OneDrive/subfolder when row 2 is empty

(0) ShareShare
ReportReport
Posted on by 54

Hello,

 

I have created a flow to move email that comes in the inbox to a separate folder in the mailbox and save the attachments (.csv) on the OneDrive.(that works great!)

 

Is it also possible to have power automate also look at the attachment and if Row 2 of the attachment (.csv) is empty, it can be placed in a sub folder in the OneDrive?

Categories:
I have the same question (0)
  • Verified answer
    v-litu-msft Profile Picture
    on at
    Re: Move attachment to OneDrive/subfolder when row 2 is empty

    Hi @frixel2,

     

    Yes, you could use Get file content action + Condition action to determine the content if empty, if empty('file content') is true, delete the file and then create a subfolder.

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard