cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
nailepmac
Frequent Visitor

Creating an array of emails with excel table

Hi,

So now I have the following flow. I have an excel table, with people emails and a number with their sales. I am sending an individual email to each if the value is higher than 0 for example.  


But instead of sending an individual email for each, I would like flow to go row by row, get the emails of the persons who have sales higher than 0 and send one unique email to this "array" of emails.


Is it possible?


Thanks

 

 

flow.png

1 ACCEPTED SOLUTION

Accepted Solutions
DamoBird365
Super User
Super User

Hi @nailepmac 

 

I've done you a demo online here

 

This is what the flow looks like:

DamoBird365_0-1616174851821.png

I was going to filter within the excel action but discovered that the sales values are returned as a string and you cannot therefore filter directly within the get rows action.  Don't worry though, we can use filter array and I have demo'd that in my video covering your requirements.

 

Please let me know how you get on.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

View solution in original post

4 REPLIES 4
DamoBird365
Super User
Super User

Hi @nailepmac 

 

You could filter your list rows on the column you mention

salevalue gt '0'

Then use a create html table action with the value from this get items action

 

Then create a string variable for the email list.

An apply to each that takes the value from the list rows with....

an append to string [dynamic email field] ;

 

Finally a send email to string with the HTML table as your content?

 

End result is everyone gets the same email with the table of sales greater than 0.

 

Hope that is what you are looking for.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

Could you please provide a flow example for the second part Damien (variable emails + append string etc) ? Still a newbie on flow...

DamoBird365
Super User
Super User

Hi @nailepmac 

 

I've done you a demo online here

 

This is what the flow looks like:

DamoBird365_0-1616174851821.png

I was going to filter within the excel action but discovered that the sales values are returned as a string and you cannot therefore filter directly within the get rows action.  Don't worry though, we can use filter array and I have demo'd that in my video covering your requirements.

 

Please let me know how you get on.

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Cheers,
Damien


P.S. take a look at my new blog here

View solution in original post

Simply PERFECT! 1000 "thank yous"! This is going to help me a lot in my work. Best wishes!

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Microsoft Ignite 768x460.png

Find your focus

Explore the latest tools,training sessions,technical expertise, networking and more.

Users online (1,953)