Forum Discussion
Russell Carless
Nov 14, 2018Copper Contributor
Running flows on a selected header
Hi All I am looking to create a flow from Microsoft Forms, which would send an email to a defined person based on their Team ID and if another parameter is selected in the survey. As per attac...
Cole Skene
Nov 16, 2018Copper Contributor
Russell,
This should definitely be possible with Flow. I don't have all the details, but here's a generic approach for the Flow logic, all of which should be possible.
- Trigger: On Submit of MS Form Response
- Initialize Variable: [Email]
- For Each Response (there should only be on per run of the Flow, but I think this is how they make you do it)
- Check Condition: If Cause of Visit = "Previous Engineer", then
- Loop through whichever datasource holds the Team Ids and related Emails, passing the Team Id from the Form Response.
- For Each Result (again, there should only be one, but this is how it works)
- Set Variable: [Email] = [Team.EmailAddress]
- Send Email:
- Address = [Email]
- Body = [Stress Test the System]
- Else - do whatever
- Check Condition: If Cause of Visit = "Previous Engineer", then
The big unknown here is where your Team email data is stored and whether or not there is an existing connector for that data source.
Hope this helps!