Send automated email to more than one address, based on filter/lookup

Hi - I'm looking to send email notifications to multiple, specific people, based on a column in the team table.

Each record has a [Cloud or Industry], and within my Team Assignments, people are assigned Clouds or Industries they're responsible for. My problem is having the automation send the email to more than one person.

My current formula is:

Lookup([Cloud or Industry Name],"Team Assignments","Cloud or Industry Assignment","Email")

How do I get this to keep searching all the records in the table, and send to all contacts with that particular assignment?

Solved Solved
0 3 114
1 ACCEPTED SOLUTION

LOOKUP() is a wrapper for ANY(SELECT()). The ANY() part returns only a single record. So you just need to use SELECT alone.

https://help.appsheet.com/en/articles/2357314-select

Additionally, for the to field of an email task, make sure to wrap it in TEXT() as well...TEXT(SELECT(...))

View solution in original post

3 REPLIES 3

LOOKUP() is a wrapper for ANY(SELECT()). The ANY() part returns only a single record. So you just need to use SELECT alone.

https://help.appsheet.com/en/articles/2357314-select

Additionally, for the to field of an email task, make sure to wrap it in TEXT() as well...TEXT(SELECT(...))

Thank you. End formula was:

Text(SELECT(Team Assignments[Email], ([_THISROW].[Cloud or Industry Name]=[Cloud or Industry Assignment])))

For anyone else who might get stuck here - I was having an error for a while because I used

[_THISROW].[Cloud or Industry Name]=Team Assignment[Cloud or Industry Assignment]

Top Labels in this Space