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 Automate - Building Flows
Answered

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?

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 647 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 350 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard