Please wait, loading...

 

Sentiment Analysis Application: Microsoft Power Automate, Power Apps and AI Builder

March 10, 2020

Facebooktwitterredditpinterestlinkedintumblrmail

Thanks to AI Builder in Microsoft Power Apps and Flow, now we have access to sentiment analysis,

Keyword extraction and Language detection inside Microsoft Flow is now available.

In this post, I am going to show how to do sentiment analysis inside Power Automate.

First What is sentiment Analysis and what sort of analysis we have inside AI Builder for text analytics.

Text Analytics

in Power Automate and Power Apps three analytics is available as sentiment analytics, keyword extraction, and Language detection as below

As you can see in the below picture in AI builder under Build we have these three modules.

 

In this example, I am going to show sentiment analytics. The first login to account with AI builder account, then click on the Build and then click on the sentiment analysis

Then the new windows show the main purpose of the sentiment analysis. As you can see in the below picture, the only option to use is on Microsoft Power Automate (flow).

Next, you able to see some hints about using it in the Microsoft power Automate

Note: For long Text, analyze each sentence, not the whole document

 

Note: Use the same language for a document not multiple languages in a document

Then click on the Use in a Flow,

IN the Power Automate ( make sure you are in the same environment), then click on the solution and then click on the New then Flow.

In the new flow, click on the When a new email arrives

then choose the folder as inbox and the subject as Hotel

 

Next search for the predict for CDS, and for the model choose the SentimentAnalysis model, Then for the text choose the Body Preview,

Next for the language choose the language you will have as it is en for me

In the next step,  we are going to store the result in one drive for example, that you can provide a specific name for the file using the Concat function. In this example, I use the Utcnow to get the current time and date and the file type that is Text file as .txt.

 

 

 

for the file content, I am going to use the sentence to put in the file, before creating it, just click on the run you had from the previous example

as you can see we have a sentence-level sentiment analysis and a global level. I am going to Concat both of them.

then after the run code you should see below text file in the onedrive.

 

Facebooktwitterlinkedinrssyoutube

The post Sentiment Analysis Application: Microsoft Power Automate, Power Apps and AI Builder appeared first on RADACAD.

Follow Source

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/Microsoftdynamics365.png?fit=640%2C651&ssl=1
Microsoft Dynamics Community Profile

Learn more