cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SIqbal_2019
Level: Powered On

MS Flow - Send mail when Forms has a specific number of responses

have the same request as mentioned below.

https://powerusers.microsoft.com/t5/General-Flow-Discussion/Send-mail-when-Forms-has-a-specific-numb... 

 

and followed the following steps

https://powerusers.microsoft.com/t5/Building-Flows/Limit-partcipants-on-a-form-and-send-out-emails-w...

 

and added event using this so it save in particpants calendar

https://www.youtube.com/watch?v=KQzU1gKZYIY&t=3s 

 

It is not doing its first step. after 10 it should send diff message .but it just send email "You are on the list" even though number or particpant above 10. when i changed to "greater than or equal to" it only send "you are on waitlist"

 

Below are pictures for your reference. Many thanks..

 flow 1.JPG

 

flow 2.JPG

 

 

kindly help me

1 ACCEPTED SOLUTION

Accepted Solutions
v-zhos-msft
Level 10

Re: MS Flow - Send mail when Forms has a specific number of responses

Hi @SIqbal_2019 ,

As I said, the 'Response Id' will increase 1,when a new response is submited.

From the pic we can see, you have tested with the 'Resgistration 2019' form more than 10 times.

So the ‘Response Id’ is more than 10.

When you set the condition as Response Id is greater than or equal to 3, the flow will always go to 'If yes' step.

You can add a Compose action in the flow, to check the value of 'Response Id'.

Capture.PNGCapture1.PNG

If you want the 'Response Id' start from 1, you need create a new forms.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

7 REPLIES 7
Super User
Super User

Re: MS Flow - Send mail when Forms has a specific number of responses

Try adding the condition after the Apply to Each loop in a new step. So the Apply to Each should contain the Get Response Details and Compose. If that doesn't work, try moving the compose action outside of the Apply to Each as well. 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

v-zhos-msft
Level 10

Re: MS Flow - Send mail when Forms has a specific number of responses

Hi @SIqbal_2019 ,

When a new response is submitted, the Response Id will increase 1.

So if you set the condition as Response Id is equal to 10, only the tenth response will go to the 'If yes' step, the other response will go to 'If no' step.

If you set the condition as Response Id is greater than or equal to 10, the 1-9 response will go to the 'If no' step, 

the other response will go to 'If yes' step.

So please make clear of your scenario, when you set the condition.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

SIqbal_2019
Level: Powered On

Re: MS Flow - Send mail when Forms has a specific number of responses

@v-zhos-msft  I had tried chaging to greather than or equal to 10 but it didnt help me. 

 

I am trying to understand your second step .. FYI I am new to flow

v-zhos-msft
Level 10

Re: MS Flow - Send mail when Forms has a specific number of responses

Hi @SIqbal_2019 ,

As you said, you have set the condition as Response Id is greater than or equal to 10.

And you have submitted the response over 10 times, so when you trigger the flow, it will always go to the 'if yes' step with the email "you are on waiting list".

I was confused about your scenario.

When do you want to get the "you are on waiting list" email, and when do you want to get the "You are on the list" email?

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

SIqbal_2019
Level: Powered On

Re: MS Flow - Send mail when Forms has a specific number of responses

@v-zhos-msft  Hi Again:

 

If we have 10 seats for a training, when its more than or equal to 10, it should send email to respective "You are on wait list"..if its less than 10, it should send "You are on the list or have been selected" 

 

Regards,

SIqbal_2019
Level: Powered On

Re: MS Flow - Send mail when Forms has a specific number of responses

I have tried again with very basic flow but keep getting same message or both at the same time.

 

does this really work? please help

response.JPGemail.JPG

v-zhos-msft
Level 10

Re: MS Flow - Send mail when Forms has a specific number of responses

Hi @SIqbal_2019 ,

As I said, the 'Response Id' will increase 1,when a new response is submited.

From the pic we can see, you have tested with the 'Resgistration 2019' form more than 10 times.

So the ‘Response Id’ is more than 10.

When you set the condition as Response Id is greater than or equal to 3, the flow will always go to 'If yes' step.

You can add a Compose action in the flow, to check the value of 'Response Id'.

Capture.PNGCapture1.PNG

If you want the 'Response Id' start from 1, you need create a new forms.

Best Regards,

Community Support Team _ Zhongys

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 318 members 4,431 guests
Please welcome our newest community members: