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 / Send Multiple Files an...
Power Automate
Unanswered

Send Multiple Files and Folders or Multiple Files via Power Automate

(0) ShareShare
ReportReport
Posted on by 522

I have build an flow which sends all files but not folder(s) and moreover i want to send only selected files or folders (Multiple as attachment) on selection.

 

And if files under sub-folders "Test/files" the flow fails to send.

 

Action which "For a selected file" does not actually selects but sends all files and when there is folder i cannot send or error.

 

Nikhil2_0-1613133315064.png

 

Regards.

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

    @Nikhil2  what error are you getting when your flow fails?

  • Nikhil2 Profile Picture
    522 on at

    Well basically what i am trying to do is send "Selected files" from document library, if it has a parent folders(sub-folders, sub-folders. goes on). If i want to send from 1st sub folder, i should be able to select them and send manually. 2nd sub folder same and goes on

    From the below condition that i am trying to send, if i have files on top level should select only them (example 5 files, select 4 and send 4 as multiple attachments) But "Get file content using path" has a problem and also with get file content as it sends all files not selected one.

    Capture.PNG

     

    Flow save failed with code 'Invalid Template' and message 'The template validation failed: 'The inputs of template action 'Append_to_array_variable_2' at line '1 and column '2756' cannot reference action 'Get_file_content'. Action 'Get_file_content' must either be in 'run After' path or within a scope action on the 'run After' path of action 'Append_to_array_variable_2', or be a Trigger.'.'

  • Mani1012 Profile Picture
    2 on at

    Hi Everyone, 

    I want to create flows to send a mail based on each row from excel file. For each row I need to send each mail with documents attached. For each row new file will be created in the OneDrive with unique name which is available in excel file. The number of files may vary from 1 to 5. How can i attach these files in my mail, kindly help. Please find my attached screenshot for your reference.

    Mani1012_0-1691591375372.png

     

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 275 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 235

#3
David_MA Profile Picture

David_MA 178 Super User 2026 Season 2

Last 30 days Overall leaderboard