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 / Sending email with mor...
Power Automate
Answered

Sending email with more then one attatchment

(0) ShareShare
ReportReport
Posted on by 10

Hi,

I am new in Power Automate.. In the flow I generate some .zip files that I need to send by email. But in the Dektop version it only lets me attach 1. Does anyone know how to attach more than one?

I use variable to access the file that I wan to attach

Captura de pantalla 2024-05-24 105803.png
I have the same question (0)
  • VishnuReddy1997 Profile Picture
    2,666 Super User 2026 Season 1 on at

    Hi @mandycuba ,

     

    Please find the solution.

    VishnuReddy1997_0-1716568027410.png

     

    Code:

    Please copy the below code to your flow.

    Folder.GetFiles Folder: $'''C:\\Users\\OneDrive\\Desktop\\Power Automate Desktop\\Practice\\Excel\\Excel Input''' FileFilter: $'''*''' IncludeSubfolders: False FailOnAccessDenied: True SortBy1: Folder.SortBy.NoSort SortDescending1: False SortBy2: Folder.SortBy.NoSort SortDescending2: False SortBy3: Folder.SortBy.NoSort SortDescending3: False Files=> Files
    Outlook.Launch Instance=> OutlookInstance
    Outlook.SendEmailThroughOutlook.SendEmail Instance: OutlookInstance Account: $'''vishnuvardhan.reddy@acme.com''' SendTo: $'''vishnuvardhan.reddy@acme.com''' Subject: $'''Sample Test''' Body: $'''Hi,
    
    PFA
    
    Regards,
    BOT''' IsBodyHtml: False IsDraft: False Attachments: $'''\"%Files[0].FullName%\" \"%Files[1].FullName%\"'''

     

    (Note:- if you got your solution you can mark as solution and gives kudos)


    Thanks & Regards

    Vishnu Reddy

     

  • Verified answer
    mandycuba Profile Picture
    10 on at

    Hi @VishnuReddy1997 thanks for reply..

    The problem was caused because when I created the flow, I checked use Power Fx.. I made another flow without Power Fx , and it worked.

    Another question,

    It is possible to create an automatic task in Windows, for execution?

    Thanks

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 167

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard