Forum Discussion

Pb505's avatar
Pb505
Copper Contributor
Sep 01, 2021

Flow to automate email to user in a list

I'm trying to do something which I really feel shouldn't be that difficult. I have an MS lists page with two columns. One contains users in my organisation (it's not just their name in basic text -...
  • Pb505's avatar
    Sep 10, 2021
    I ended up doing this with a table in Excel instead of using Lists.
    My table in excel has two columns. "Name" and "Date on call".
    My flow has 3 steps; "recurrence" (once weekly on a Friday), "get a row", and "send an email".
    In my "get a row" step, I chose the table and chose "date on call" as the key column. Then for my key value I used the expression "add(44196,dayOfYear(utcNow()))" to create today's date in the format that Excel passes it (I believe this will only work in the year 2021 as 44196 is the number of days between 1st Jan 1900 and the 1st Jan 2021) - I'll need to update it when we hit next year.
    Then in send an email I have just been entering fixed email addresses but I will add another column to the table with email addresses for each name and then this will be available as dynamic content in the "to" field.

Resources