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

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
Highlighted
Community Support
Community Support

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
firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Users online (8,681)