web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Sending email to staff...
Power Automate
Unanswered

Sending email to staff with a list of expired training in 1 email from an excel spreadsheet

(1) ShareShare
ReportReport
Posted on by 8

Hi All,

 

Looking for some advice on the best way to send one staff member an email of their expired/ not completed training. I have attached an example of what our tracker looks like. Staff name are in column A, then B onwards has the course name and the date it expires.

 

I want on a weekly basis, for it to run a flow that checks the expired training and then compiles this into a HTML spreadsheet to send in 1 email to the staff member. The staff members email is stored in the same excel spreadsheet. It should also be able to filter out text, i.e N/A, Done etc.

 

The HTML spreadsheet should kind of look like this:-

Course NameDate Expired
  

 

I think I found a way to do this but it only seems to work per column and we have close to 40 courses and not sure if I would need to filter array it per course.

 

Example of tracker.

RiotCharlie_199_0-1719952440083.png

 

Categories:
  • SharonS Profile Picture
    164 on at

    @RiotCharlie_199  

    I created this sample flow using a SharePoint List.  You can do the same using your excel spreadsheet as your datasource.

    First create your datasource with these columns

    SharonS_0-1719958645121.png

     

    Then create an automated flow using that datasource

    The second step in the flow is a  Delay to delay the email to send it once a week to the staffer if the Status=Late.

     

    SharonS_1-1719958645124.png

     

     

    The email step can look like this

    SharonS_2-1719958828612.png

    If this is acceptable, please mark as an accepted solution.

  • RiotCharlie_199 Profile Picture
    8 on at

    Hi Sharon,

     

    This is one way I could do it, but due to the way the table of training is laid out it is a bit different as there are multiple columns of data it would need to review then compile into one email.

     

    I am not sure how best to compile all this data at once or if it is possible.

  • SharonS Profile Picture
    164 on at

    @RiotCharlie_199 

     

    I'll do some testing using excel as the datasource.   Do you want the staffer to receive a single email showing his overall status of all classes (on time and late) if he is late on at least 1 class of only his status (not the status of other staffers who are late)?  Or do you want him to get an email showing him his status of only the training  where he is late?

  • RiotCharlie_199 Profile Picture
    8 on at

    Hi Sharon,

     

    So it would be based on dates that have expired and the staff member would receive 1 email with all expires courses.

     

    I attached a photo to my original post with a photo of what my tracker looks like as it is a bit of a beefy tracker.

  • SharonS Profile Picture
    164 on at

    I'm still working on a solution but I ran into an infinite trigger loop in my flow.

  • SharonS Profile Picture
    164 on at

    @RiotCharlie_199  Hello, I collaborated with a developer to help fix the infinite loop issue. Here is the link where Sudeep fixed the infinite loop issue.  https://powerusers.microsoft.com/t5/General-Power-Automate/How-can-I-fix-Infinite-Trigger-loop/m-p/2836210#M175473 

  • RiotCharlie_199 Profile Picture
    8 on at
    Hi Sharon,
     
    Really sorry for not replying, the messages had been going to Spam.
     
    Thank you so much for looking into this.
     
     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 288 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 125

Last 30 days Overall leaderboard