
I created a Microsoft form with a topic selection option and branching. The idea is that the user will select their topic and complete the form and the data will flow into a list housed in Teams. I am setting up an individual flow for each topic. The problem I am having is that when a form is completed it triggers email notifications from all of the individual flows. I have set up a condition to pull from the "Form Selection" to equal the specific selection, ie Travel Assistance.
Any guidance is greatly appreciated. Thank you!!
First of all, this topic is related to cloud flows and not desktop flows, so you're in the wrong forum.
The reason why your flow behaves like this is because you're using a single form to trigger multiple flows. The Forms trigger does not have any special parameters to filter for specific responses, so it will trigger each flow on each response. That is the normal expected behavior.
What you have done is okay, except that this means that all of your flows will still run on each response, resulting in possibly extensive consumption of flow runs and API requests. If the usage of this flow scales, you can end up hitting your limits.
For most triggers, you could use the trigger conditions functionality, where you can add a filter to the trigger to only react to a specific value. However, in order to do that, you would need that the even that triggers the flow actually contains the values you want to filter for. However, the MS Forms trigger does not actually carry the response values. It only gives you the response Id, which you then need to use in a separate action (Get response details) to get the values of the response. This means that you will not be able to use trigger conditions with this trigger.
So, the only ways to achieve what you need is basically what you have done so far (trigger all flows on each response and then use a condition to check if the email needs to be sent), or have separate forms for each type of flow.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution.
If you like my response, please give it a Thumbs Up.
If you are interested in Power Automate, you might want to follow me on LinkedIn at https://www.linkedin.com/in/agnius-bartninkas/