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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Help With Flow That Se...
Power Automate
Unanswered

Help With Flow That Sends Email To List of Users Who Have NOT Completed Form

(0) ShareShare
ReportReport
Posted on by

Hi, 

I have this flow that is scheduled to email a list of users everyday at 8.30am who have not completed and submitted a form. The flow executes successfully but it sends email to everyone instead of emailing only users who have not completed the form.

 

The response from the Form is stored in a sharepoint list which includes an email field. I also have another sharepoint list that stores the list of users email. Is the condition check correct? or do I need to add another condition? Appreciate any help please.

 

smithqu83_0-1659565481402.png

 

 

 

 

 

 

Categories:
I have the same question (0)
  • Ed Gonzales Profile Picture
    4,531 Most Valuable Professional on at

    @Anonymous 

    Good approach on this, here are a couple of things:

    • Rather than appending the emails to an array variable, you can just have your recurrence triggers, followed by your Get Items (responses?), followed by a Select action, where you are only pulling in the email address.
    • That will alleviate the need for the variable and the first apply to each loop...both of which slow things down a tiny bit.
    • After your Get Items 2 (emails), add a select where you are also only pulling in the email addresses only.  This gives you two single column arrays to worry about.

    From there, follow Pieter Veenstra's blog on comparing those two lists. - https://sharepains.com/2022/01/27/compare-two-arrays-power-automate/

     

    For your apply to each loop, you would probably want to use the output from the select of your Email SP list.

    Then in the left side of the condition, put the output of the select of your responses select action, then Contains, and then "current item" as shown in his screen shot.  Your send email action would be in the "no" path just as you have it in your original design.

     

    So what we are doing is working our way through the list of email addresses to see if they've submitted a response.  If not, they get an email.

     

    That should be enough to get you going.  Keep us posted.

     

    Good luck!

    -Ed

     

    If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

  • Community Power Platform Member Profile Picture
    on at

    @edgonzales thank you for the detailed feedback and resource. Will have a go and keep you posted.

  • Community Power Platform Member Profile Picture
    on at

    @edgonzales I made changes as suggested and flow executed successfully but the intended result is not quite right i.e. no email was sent because the condition was not satisfied. The recurrence trigger is scheduled daily at 8.30am. How do I add condition to check based on Date column in the Response Form Sharepoint List? 

    Expected result should be: if no response submitted for today's date after comparing the 2 email lists, then send email. So condition will only be checking based on todays date if response submitted.

    Hope that makes sense.  

    smithqu83_0-1659914558345.png

    smithqu83_1-1659914595584.png

    smithqu83_2-1659914632965.png

     

     

     

     

     

  • Community Power Platform Member Profile Picture
    on at

    @edgonzales just a friendly reminder when you back online if you could please have a look at my last message, that would be much appreciated. Thanks.

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard