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 / get files in folder an...
Power Automate
Answered

get files in folder and attaching to a shared mailbox

(0) ShareShare
ReportReport
Posted on by 22

Hello to all,

 

I am facing the following issue: I am trying to create a workflow that will automatically send emails through a shared mailbox to various clients of ours. For each of the emails, I want them to go to different folders on my PC and attach all the files that exist in the folder. (The files are pdf and excel)

 

I'm utilizing the "Folder\Get files in folder" action from the menu of actions. It functions flawlessly when applied in Outlook, but when attempting to use it with the "Office 365 Outlook\Send an email from a shared mailbox (V2)" action, it generates an error with the following message.

 

Alexrent_0-1712323673568.png

 


Do you have any suggestions on how to attach all the files within a folder?

I have the same question (0)
  • Verified answer
    Deenuji_Loganathan_ Profile Picture
    6,250 Moderator on at

    @Alexrent 

     

    Office 365 outlook works bit different from normal outlook action. In order to include file attachments in your emails, using the respective Office 365 Outlook (preview), you need to convert those files using the Convert file to binary data action and then use the variable containing the binary data to the Send and Email(v2) action, when adding a file attachment.

     

    Please refer the below guide to achieve the same.

    https://learn.microsoft.com/en-us/power-automate/desktop-flows/actions-reference/office365outlook 

     


    Thanks,
    Deenuji Loganathan 👩‍💻
    Automation Evangelist 🤖
    Follow me on LinkedIn 👥

    -------------------------------------------------------------------------------------------------------------
    If I've helped solve your query, kindly mark my response as the solution ✔ and give it a thumbs up!👍 Your feedback supports future seekers 🚀

     

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 April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,005

#2
Valantis Profile Picture

Valantis 825

#3
Haque Profile Picture

Haque 619

Last 30 days Overall leaderboard