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 / Can this be done withi...
Power Automate
Suggested Answer

Can this be done within Power Automate?

(0) ShareShare
ReportReport
Posted on by 4
I've been playing around with this in PA for 3/4 weeks on and off now, but not able to get the config right or not working at all.  I'll try keep it short but happy to explain further if needed.  N.B. I'm new to PA but picked most of it up pretty quickly :-)
 
I have a list of colleagues names and their email addresses in a sharepoint list (happy to store elswhere if needed)
 
Once per month I need to get a response from each person on this list, and their reponse must be one of either Yes or No.  If their repsonse is No, I need to be notified in some way (maybe email?).  Likewise, if any of the people don't respond at all within x days, I need to be notified.
 
  • I have tried setting up a monthly email (scheduled cloud flow) to said list of people. This has worked fine.  The email contains a link to a Form whereby they respond either yes or no.  Again, this works fine
  • What I'm then struggling with is how do I somehow automate the notification to myself of "No" answers and non-respondents?
  • The List has a rule which emails me when the Yes/No column changes to No - This works fine but I'm struggling to automate the process of updating the Yes/No column based on the No repsonse from the Form
I'm not even sure if Forms and Lists is the right way to go about this but I feel they are the right tools, it's just getting the config right.
 
Any guidance would be much appreciated :-D
 
Categories:
I have the same question (0)
  • Suggested answer
    Ninjasabi Profile Picture
    122 on at

    You can absolutely achieve this using Power Automate. The setup involves leveraging your existing SharePoint list and Forms while adding automated steps to notify you of "No" responses and non-respondents. Here’s a breakdown of how to configure the process:


    Step-by-Step Solution

    1. Setup Overview

    1. Use a scheduled flow to send out monthly emails with the link to the Microsoft Form.
    2. Capture responses from the Microsoft Form in Power Automate and update the SharePoint list accordingly.
    3. Notify you of:
      • Any "No" responses.
      • Any non-respondents within a specific timeframe.

    2. Update the SharePoint List with Form Responses

    • Trigger: Use the "When a new response is submitted" trigger for Microsoft Forms.
    • Get response details: Retrieve the form data using the "Get response details" action.
    • Find the person in the SharePoint list: Use the "Get items" action to search for the respondent in the SharePoint list (filter by their email address):
      • Filter Query:
        Email eq '@{triggerOutputs()?['body/responder']}'
    • Update the SharePoint list item: Use the "Update item" action to update the Yes/No column in the list based on their response.

    3. Notify of "No" Responses

    • After updating the SharePoint list, add a condition to check the response:
      • Condition:
        • Yes/No Column equals No
      • If Yes: Send yourself an email notification with the respondent's details.

    4. Handle Non-Respondents

    • Scheduled Flow to Check Non-Respondents:
      • Set up a second scheduled flow to run X days after the initial email is sent.
      • Use the "Get items" action to retrieve all list entries where the response is still blank:
        • Filter Query:
          Response eq null
      • Send yourself an email notification with the names of these non-respondents.

    Flow 1: Monthly Email with Form Link

    1. Trigger: Scheduled flow (runs on the first day of each month).
    2. Action: Use "Get items" to retrieve the SharePoint list of names and emails.
    3. Action: Use an "Apply to each" loop to send an email to each person:
      • Subject: "Monthly Feedback Request"
      • Body: Include a link to the Microsoft Form.

    Flow 2: Process Form Responses

    1. Trigger: "When a new response is submitted".
    2. Action: "Get response details" to retrieve the form data.
    3. Action: "Get items" to find the corresponding entry in the SharePoint list.
    4. Action: "Update item" to update the Yes/No column based on the response.
    5. Condition: If the response is "No," send an email notification to yourself.

    Flow 3: Check for Non-Respondents

    1. Trigger: Scheduled flow (runs X days after Flow 1).
    2. Action: "Get items" to retrieve all list items where the response column is null.
    3. Action: Send an email notification with the names and emails of non-respondents.

    Tips for Configuring the Flows

    • Avoid Duplication in Form Responses: Ensure the form submission is tied to the respondent’s email to avoid updating the wrong list item.
    • Non-Respondent Logic: Use the Modified column in the SharePoint list to check if an entry has been updated within X days.
    • Backup Logic: Before clearing or resetting the list monthly, archive the responses in another list or Excel file for historical tracking.

    Example Notifications

    For "No" Responses:

    Subject: Alert - Negative Response Received
    Body:
    [Name] has responded "No" to the monthly feedback form.

    For Non-Respondents:

    Subject: Alert - Non-Respondents
    Body:
    The following individuals did not respond:
    - Name1 (Email1)
    - Name2 (Email2)

    Let me know if you need help setting up these flows or further clarification! 😊

  • manamaga Profile Picture
    4 on at
    You're an absolute star!!  I have set this up for the most part, saved the flows etc and tested.  However, on the updating sharepoint list with form response, the test is failing with BadRequest  (I've omitted the actual email address):
     
    The expression "xxxxx@xxxxx.com" is not valid. Creating query failed.
    clientRequestId: 0c6a8d1a-26e8-4fde-9a03-f762bea4d084
    serviceRequestId: c1236ea1-c04a-a000-f73c-afbc887420fd
     
  • manamaga Profile Picture
    4 on at
    Scrap my last post, I appear to have resolved that. My flow 2 saves and runs successfull, according to the green banner. However I do get an Action Condition Failed at the Update item part?

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 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard