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 Automate / How to send only one e...
Power Automate
Answered

How to send only one e-mail with mutiple pictures uploaded on power automate?

(0) ShareShare
ReportReport
Posted on by 27

Hello all. I'm a bit of a noob regarding power automate and i'm trying to learn.
I've been tasked to create a form and link the information on a sharepoint list in a workgroup. So far, everything work but if a customer choose to upload more than one picture, when the e-mail is sent, if for example 4 pictures are sent, there will be 4 e-mail sent instead of one with the link of the picture in sharepoint.
Can someone help me or point me in the right direction in order to send only one e-mail with the link in the body for all the pictures uploaded?
Here's is a preview of my flow below.

 

appliquer à chacun.PNGemail.PNG

Categories:
I have the same question (0)
  • Verified answer
    v-xiaochen-msft Profile Picture
    on at

    Hi @Axxellz ,

     

    The point is to create a string instead of using an array.

    If you use an array in 'Apply to each' action, you will send emails in bulk.

     

    I did a simple demo for you.

    vxiaochenmsft_0-1635145218522.png

    vxiaochenmsft_1-1635145226244.png

    vxiaochenmsft_2-1635145242318.png

    items('Apply_to_each').Value

     

    Best Regards,

    Wearsky

     

     

     

  • Axxellz Profile Picture
    27 on at

    Hi Wearsky. 

    So you created an array and put a string on each elements in orded to send it as a string? Is that correct?

    For your information, when i created my flow, i initialized a JSON variable in order to get the HTML link of my pictures. Maybe i should have mentionned this before. I will post it in order to show you. That's where the "link" variable is from on my first picture that i posted.

    Is it possible to link my HTML link on the array with my JSON variable?

    I`m trying to make it work but without any luck 😞

    JSON.PNG

     

  • Axxellz Profile Picture
    27 on at

    I did a bit of research and managed to receive an e-mail with multiple attachments when some items were created manually on my sharepoint list. But when i submit my form, there is no files attached on my e-mail. I followed this tutorial  for sending an e-mail with attachments : https://www.youtube.com/watch?v=ehX_EE8wszs .

     

    I created 2 flows for my problem, one for adding elements on my sharepoint list when the form is submited and the other one is for sending an e-mail with the attached files. Maybe i can incorporated them later on once i figure this thing out... But for the time beeing, i will focus on my form's flow since i think i know where the problem is.

    I think the problem is when the form is submited there is no attachment files linked to my sharepoint list. Hence why no attachment are sent with the e-mail. I'm feeling that i am so close to solve this thing! Can you help me figure it out? There is no files sent with my an e-mail when the form is completed. Only when i add the files manually on my sharepoint list.

     

    Here is my flow for my form when element are created on my sharepoint list. The part highlighted in yellow are the section where the user car send pictures. I just need to put an attached file on that section highlighted in yellow so that my other flow can be trigerred correctly in order to send an e-mail with the files.4.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

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard