cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mhumphrey
Level: Power Up

Net Promoter Score Less than or Equal to

Hello,

 

I am new at Microsoft Flow and need help to automate an email based on the response of a question.

 

I would like to set up a flow that triggers an email when the net promoter score is less than or equal to 7. In the drop down selection i do not have the less than or equal to option. Is this something I ned to do in the advance section?

 

Thank you in advance. 

 

 

1 REPLY 1
Community Support Team
Community Support Team

Re: Net Promoter Score Less than or Equal to

Hi @mhumphrey,

 

What’s the column type of “net promoter score”?

If it is of type number, then I assume that less than or equal to should appear on the drop down selection.

While if it is of other types, such as Text, then less than or equal to won’t appear on the drop down selection.

Say you are using SharePoint list, and the column net promoter score is of type Text. Please enter the code “less than or equal to” in advanced mode. As you are going to compare with a number 7, while the column is of type Text, so you may need to use another function integer to convert number into integer.

The code should be configured likes below:

@lessOrEquals(triggerBody()?['net_x0020_promoter_x0020_score1'], string('7'))

The following image for your reference:

1.PNG

 

Mode details about the functions, please check the doc on WDL at here:

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

 

 

Best regards,

Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

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 Power Automate Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 241 members 5,139 guests
Please welcome our newest community members: