Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Building 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:
  • cjs321 Profile Picture
    76 on at
    Re: Send Images from powerapps gallery to flow (send an email)

    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 🙂

  • v-yutliu-msft Profile Picture
    on at
    Re: Send Images from powerapps gallery to flow (send an email)

    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,

  • Verified answer
    SeanHenderson Profile Picture
    1,104 on at
    Re: Send Images from powerapps gallery to flow (send an email)

    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."

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >