cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TinyEyes
Regular Visitor

Create array of unique users names and link 365 email address

Hi everyone,

 

Apologies if this has been covered elsewhere - I have searched but not found anything but may be struggling to navigate the terminology! It seems relatively basic but I am going around in circles - thanks for any help.

 

I am trying to send an individual table to a set of users based on a table where each row has a certain flag.

 

What is working:

- Excel table has multiple rows of tasks for a team, some rows have a status of 'due' in a column

- Flow runs through the rows, if the task is due, that person's name is added to an array variable - giving me a list of names of people with tasks due

- Flow then runs through the list of names, searches in 365 for the email address, appending each to another array variable -  so i have a list of names and a separate list of email address

 

Here's where I'm stuck:

- How do I then generate a html table, one for each email address with their own list of tasks in order to send?

- the problem seems to be that the email addresses don't link to the name and therefore the rows.

 

Thanks again - hope it's clear!

I'm familiar with:

- setting up the HTML tables

- appending the rows to an array and resetting after each email is sent.

1 ACCEPTED SOLUTION

Accepted Solutions
efialttes
Super User
Super User

Hi

"Flow then runs through the list of names, searches in 365 for the email address, appending each to another array variable - so i have a list of names and a separate list of email address"

 

Since your flow is currently iterating through the list of names, you can add more stuff to each iteration. You can use a Filter Array to get all due excel tasks assigned to current name, than use Select action block using 'Filter Array' as its input to get the excel columns you want to show, then 'Create an HTML' table using 'Select' as its input and finally send an email to that person with its due tasks

Hope this helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

1 REPLY 1
efialttes
Super User
Super User

Hi

"Flow then runs through the list of names, searches in 365 for the email address, appending each to another array variable - so i have a list of names and a separate list of email address"

 

Since your flow is currently iterating through the list of names, you can add more stuff to each iteration. You can use a Filter Array to get all due excel tasks assigned to current name, than use Select action block using 'Filter Array' as its input to get the excel columns you want to show, then 'Create an HTML' table using 'Select' as its input and finally send an email to that person with its due tasks

Hope this helps

 



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



View solution in original post

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.

Top Solution Authors
Users online (1,363)