cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mlbussey
New Member

Trigger a Flow based on a particular response in a Form

I have started using Microsoft Forms, and I am loving it. Any way, I created a form with 12 questions, each with the the standard "Strongly Agree, Agree, Neutral, Disagree, Strongly Disagree" responses. I want to set up a Flow where if someone selects 'Strongly Disagree' on questions, it will send an email to someone else with this information. How can I accomplish this? Thanks!

4 REPLIES 4
ScottShearer
Super User III
Super User III

So if there are multiple responses of Strongly Disagree for a single survey, do you want one email for all of those responses or separate emails.

 

Let me know and I'll build an example.

 

Scott

If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Scott

I was thinking all of negative responses in a single email.

v-yuazh-msft
Community Support
Community Support

Hi @ mlbussey,

 

If you would like to send an email for all of those responses which is equal to 'Strongly Disagree',

Please refer to screenshot below to create the flow:

Capture.PNG

The expression behind the "question1:"as below:

if(equals(body('Get_response_details')?['r474fa42df6f44eb7a84841732606b81a'],'Strongly Disagree'),body('Get_response_details')?['r474fa42df6f44eb7a84841732606b81a'],' ')
 
The  body('Get_response_details')?['r474fa42df6f44eb7a84841732606b81a'] represent of the "question1" dynamic content of get response details.
 
The expression behind the "question2:"as below:
if(equals(body('Get_response_details')?['rdfcfa345f0944e4e806b390fbaf76676'],'Strongly Disagree'),body('Get_response_details')?['rdfcfa345f0944e4e806b390fbaf76676'],' ')

 

The body('Get_response_details')?['rdfcfa345f0944e4e806b390fbaf76676'] represent of the "question2" dynamic content of get response details.

 

You could refer to link below to learn more about the workflow definition language:

https://docs.microsoft.com/en-us/azure/logic-apps/workflow-definition-language-functions-reference#i...

 

When a response is submited, the flow would run successfully as below:

Capture.PNG

 

 

Regards,
Alice Zhang

Hello, @mlbussey!

 

Have you had a chance to apply @v-yuazh-msft‘s recommendation to adapt your Flow? If yes, and you find that solution to be satisfactory, please go ahead and click “Accept as Solution” so that this thread will be marked for other users to easily identify!

 

 

Thank you for being an active member of the Flow Community!

 

-Gabriel

(Flow Community Admin)

- Gabriel
Community Manager
Power Automate | Power Virtual Agents
Super User Program Manager



Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

Users online (75,499)