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 / Enviar vários arquivos...
Power Automate
Answered

Enviar vários arquivos em um mesmo email

(1) ShareShare
ReportReport
Posted on by 2

Olá,

Minha dúvida é a seguinte: há possibilidade de enviar vários arquivos salvos em uma pasta do Onedrive em um só email pré-definido em um fluxo?

Na verdade eu já criei um fluxo com o gatilho ativado em que a partir do momento que salvo/crio um arquivo em determinada pasta no Onedrive um email é enviado com o arquivo em anexo. Mas gostaria de saber se é possível o envio, a partir de um fluxo, de diversos arquivos salvos ao mesmo tempo na pasta em um mesmo email. Verifiquei que do modo que criei o fluxo se eu salvar mais de um arquivo na pasta é enviado um email para cada arquivo salvo.

Categories:
I have the same question (0)
  • Verified answer
    yashag2255 Profile Picture
    24,769 Super User 2024 Season 1 on at

    Hi @Davidson 

     

    The when a file is created in OneDrive trigger on a flow triggers every time a new file is added. So if you are bulk adding files to onedrive, the upload time for all of these files might not be the same. t1.PNG

     

    t2.PNG

     

    Yes, you can send multiple files in a single email by creating an array of attachments. So in the flow, may be you can do as, when there are these bulk files adding, create a folder and put those files in that folder. List the folder and for each file in the folder, you can get the content of the files and create an array out of it and finally send the files as attachments. Note that the List files in a folder action is limited to return 20 items only. 

     

    Hope this Helps!

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Verified answer
    v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @Davidson ,

     

    Please refer to this similar blog and see if it helps:

    https://flow.microsoft.com/en-us/blog/multiple-attachments-single-email/

    You could configure Flow directly according to the method provided by yashag2255. If you encounter an error and display messge-"Status code 400 and message": "No input parameters provided. Please provide required input parameters 'To', 'Subject' and 'Body' .\r\nclientRequestId", you can refer to the methods provided in the comments section of the blog to resolve the issue.

    If you need more assistance, just ask.

     

    Best Regards,

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 608

#2
Valantis Profile Picture

Valantis 416

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard