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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Community Champion
Community Champion

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
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Users online (48,722)