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 Apps / Send Images from power...
Power Apps
Answered

Send Images from powerapps gallery to flow (send an email)

(0) ShareShare
ReportReport
Posted on by 76

Hi,

 

Please can you help me?

 

How do I get the images from a PowerApps gallery to be picked up by flow and attached to an email, renamed accordingly.

 

The images are stored in OneDrive.

 

Please can you help me?

 

Struggling badly on this 😞

 

Thankyou 🙂

Categories:
I have the same question (0)
  • Verified answer
    SeanHenderson Profile Picture
    1,104 on at

    Hi @cjs321 

     

    I think you would have better luck asking your question on the Power Automate forums

    https://powerusers.microsoft.com/t5/Microsoft-Power-Automate/ct-p/MPACommunity

     

    While your request does require accessing a Power Apps gallery, it sounds like all of the work will be done on Power Automate.

     

    ---
    Please hit the "Accept as Solution" button if my post answered your question! If my post was helpful please consider giving it a "Thumbs Up."

  • v-yutliu-msft Profile Picture
    on at

    Hi @cjs321 ,

    Do you want to send email with images from gallery in PowerApps?

    If so, you do not need to call flow in PowerApps.

    You could make this directly in PowerApps.

    I've made a similar test for your reference:

    1)save your images in an excel table

    If you want to save images in excel, you need to insert a column named fieldname [image]

    In my test, I insert a column named: Image [image]

    Then upload this excel file in one drive.

    (PowerApps could only connect with excel in one drive, can not connect with images in one drive.)

     

    2)connect your app with this excel table in one drive

     

    3)display these images in a gallery

    set the gallery's Items to this table

    set the image's Image inside the gallery:

    ThisItem.Image

     

    4)set the send email button's OnSelect:

    Office365Outlook.SendEmailV2(To,subject,body,{Attachments:
    Table(
    {Name:"image1.jpg",ContentBytes:First(FlooringEstimates).Image , '@odata.type':"",IsHtml:true},{Name:"image2.jpg",ContentBytes:Last(FirstN(FlooringEstimates,2)).Image , 
     '@odata.type':"",IsHtml:true},{....}
     )
     }
     )

    You could replace the image names that you want. In the example, I use image1.jpg and image2.jpg.

    2020166.PNG

     

     

    Here's a similar issue for your reference:

    https://powerusers.microsoft.com/t5/Building-Power-Apps/send-image-via-email/td-p/103464

     

     

     

    Best regards,

  • cjs321 Profile Picture
    76 on at

    Hi @v-yutliu-msft ,

     

    I have tried this solution before and it works well!

     

    However, the app also generates a PDF which i'd like attaching to the same email.

     

    Hence why i think flow is needed? 

     

    Thankyou though 🙂

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 Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard