cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MaTis125
New Member

How to add all attachments to one email [problem] ar

Hello,

I have a problem with my flow, I make the array:

{
"Name": @{items('Zastosuj_do_każdego')?['DisplayName']},
"ContentBytes": @{body('Pobierz_zawartość_załącznika')?['body']}
}

this is my example flow:

Zrzut ekranu 2021-04-13 134508.png

 

and what i got? this 😄

first email:

1.png

 

second email

2.png

 

third email

3.png

 

Do you have any solution how i can face above problem, because I only want to receive one email with all attachments

 

1 ACCEPTED SOLUTION

Accepted Solutions
Anonymous
Not applicable

Hi @MaTis125 ,

You need to take your email sending action out of the apply_to_each loop

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @MaTis125 ,

You need to take your email sending action out of the apply_to_each loop

Thank you very much

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,152)