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 Apps / Filter Gallery and sen...
Power Apps
Answered

Filter Gallery and send email

(0) ShareShare
ReportReport
Posted on by 97

Hi everyone, I have a gallery in Power Apps where I do some filters.

I would like to send this gallery filtered by E-mail in HTML.

How to do this? Can you give me some example options?

Thanks!

Categories:
  • Matt1405 Profile Picture
    58 on at

    Are you trying to send and email based on the filtered results from a gallery?

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    Hi @Silva_BR

    Do you want to email with the filter Gallery records?

    Could you please share a bit more about your scenario?

     

    Actually, you could achieve this using the HTML text control. 

    You can make an Html table with the content of the filtered Gallery and send it as the body of the email

    I have made a test for your reference.

     

    I set the Gallery Items property as below:

    Filter(Actions,!IsBlank(Car))

    Add a HTML text box and set the HtmlText property as below:

    "<strong> Information: </strong>" & "<table width='100%' border='1' cellpadding='5' style='border:1px solid black; border-collapse:collapse'>" & "<tr style='background-color:#efefef'>
     <th>Title</th> <th> ActionID </th><th> ID </th>
     </tr>" & Concat(
     Gallery27.AllItems,
     "<tr>
     <td>" & Title & " </td>
     
     <td>" & ActionID & " </td>
     <td>" & ID & " </td> 
     
     </tr>"
    ) & "</table>"

    Add an Button and set the OnSelect property as:

    Office365Outlook.SendEmailV2("xxx@microsoft.com","Notify",HtmlText1.HtmlText)

    vqiaqimsft_0-1645601457285.png

     

  • knsrinath Profile Picture
    527 on at

    @v-qiaqi-msft 

     

    Is there any possibility to send same type of Email with power automate

     

    Thanks & Regards 

  • aricheeju Profile Picture
    2 on at

    While I am adding HTML text for sending the gallery through email using below but it is showing error after adding HTML text... Please give me a resolution to fix this problem... 

    Set(_emailRecipientString, Concat(MyPeople, Mail & ";"));
    Office365Outlook.SendEmail(_emailRecipientString, TextEmailSubject1_1.Text, TextEmailMessage1_1.Text.HtmlText2.HtmlText);
    Reset(TextEmailSubject1_1);
    Reset(TextEmailMessage1_1);
    Clear(MyPeople)

    HTML text.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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard