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 / 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:
I have the same question (0)
  • 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

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