cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
cjs321
Level: Powered On

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

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 🙂

1 ACCEPTED SOLUTION

Accepted Solutions
SKH19
Level 10

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

View solution in original post

3 REPLIES 3
SKH19
Level 10

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

View solution in original post

Community Support Team
Community Support Team

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,

Community Support Team _ Phoebe Liu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
cjs321
Level: Powered On

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 🙂

Helpful resources

Announcements
thirdimage

Power Apps Super User Class of 2020

Check it out!

thirdimage

New Badges

Check it out!

thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Solution Authors
Top Kudoed Authors
Users online (6,146)