web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to make certain em...
Power Automate
Answered

How to make certain email content as netural sentiment - Analyze emails sentiment with AI Builder

(0) ShareShare
ReportReport
Posted on by 50

Hi there

 

I using Analyze emails sentiment with AI Builder and send results to Teams template created the flow.

I have an issue that certain email subject or content that i have received from a patricular email sender is not consider as negative sentiment due to the email content contains word like "rejected , duplicate" 

 

What are the ways to  avoid trigger this as negative sentiment ?

 

 

 

Categories:
I have the same question (0)
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @okl 

     

    Did you meant you want to consider the email as neutral sentiment even if it contains words : rejected, duplicate ?

     

  • KO-05050229-0 Profile Picture
    50 on at

    Hi Nived N

     

    Could be this way or another way is that for certain email addressses or email subject to be excluded from the detection ?

     

  • Verified answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @okl 

     

    yes that is possible, I would recommend to try this way.

     

    Nived_Nambiar_0-1683451904240.png

    Step 1: select trigger when email arrives 

     

    Step 2: use initialize variable action to store the list of email subject you want to exclude from detection in array

    Nived_Nambiar_1-1683451986765.png

    Step 3:  same as step2, create another array which stores the list of email addresses which you want to exclude from detection

    Nived_Nambiar_2-1683452040934.png

     

    Step 4: use conditio to check whether the email subject of triggered mail is present in array of excluded subjects or email addresses of triggered mail is present in array of excluded email ids like below

    Nived_Nambiar_3-1683452137710.png

     

    If the condition is True, it means subject or email id of your current email need to excluded from detection, else it should go for detection

     

     

    Hope it helps !

    Mark it as solution if it resolves your query !

     

     

  • KO-05050229-0 Profile Picture
    50 on at

    @Nived_Nambiar 

     

    How about if to remove Positive and Neutral sentiment from triggering alerts, how can i do it?

     

    Thanks

     

  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @okl 

     

    did not get your question, could u explain it better ?

  • KO-05050229-0 Profile Picture
    50 on at

    @Nived_Nambiar 

    i mean i just want to receive negative sentiment trigger to Teams.

     

    okl_0-1683724165326.png

     

    if(greaterOrEquals(outputs('Analyze_positive_or_negative_sentiment_in_text')?['body/responsev2/predictionOutput/result/documentScores/negative'], 0.8), 'Negative', if(greaterOrEquals(outputs('Analyze_positive_or_negative_sentiment_in_text')?['body/responsev2/predictionOutput/result/documentScores/positive'], 0.6), 'Positive''Neutral'))
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at

    Hi @okl 

     

    does this help ?

     

    Nived_Nambiar_0-1683738688624.png

     

     

     

  • KO-05050229-0 Profile Picture
    50 on at

    @Nived_Nambiar 

     

    Nope still sending Neutral email to Teams. But Positive sentiment has stopped sending .

     

    okl_0-1683794196709.png

     

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 248 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 207 Super User 2026 Season 1

#3
Power Platform 1919 Profile Picture

Power Platform 1919 101 Super User 2026 Season 1

Last 30 days Overall leaderboard