cancel
Showing results for 
Search instead for 
Did you mean: 
sandeepstw

Track customer reviews using AI

 

Understanding Power Automate and AI Builder 

Before we proceed, let's understand what Power Automate and AI Builder are. Power Automate is a service provided by Microsoft that helps you create automated workflows between your favorite apps and services to synchronize files, get notifications, collect data, and more. 

AI Builder, on the other hand, is a feature of Power Automate that brings the power of artificial intelligence through a point-and-click experience. You can add intelligence to your workflows and analyze content in a way that is accessible to every user. 

Crafting the Flow: "Send a Notification with the Sentiment of Manager's Email" 

Now, let's explore the steps you'd take to build a flow that sends a notification with the sentiment of your manager's email. 

 

Step 1: Trigger - "On New Email" 

 

Our automation journey begins when a new email arrives. The Power Automate flow gets triggered automatically, ensuring that no new message goes unnoticed. 

Create a trigger “When a new email arrives (V2)” and create a flow.  

sandeepstw_0-1705054287502.png

 

 

 

Step 2: Actions - "Get My Profile" and "Get Manager" 

 

Once the flow is triggered, the next steps are to gather the necessary information. The flow retrieves your profile details and then fetches information about your manager. This is crucial for the flow to understand the context of the incoming emails. 

Add a action - “Get my profile” from Outlook connector.  

sandeepstw_1-1705054287503.png

 

 

 

 

 

 

Step 3: Condition - "Check if it is My Manager" 

 

The heart of the flow is the decision-making condition. Here, the system checks if the email received is indeed from your manager. This step is pivotal as it ensures that the subsequent actions are performed only on emails that are from your manager, hence maintaining the relevance of the notification. 

Add the action “Get User Profile” from Outlook connection and using dynamics content select “User Principal Name”. 

sandeepstw_2-1705054287504.png

 

 

 

 

 

Step 4: Sentiment Analysis - "Html to Text" and "Analyze Sentiment" 

 

If the email is from your manager, the flow converts the HTML email content to plain text, making it ready for analysis. Following this, the AI Builder steps in to perform sentiment analysis on the text. It's like a mini-emotion detector, gauging whether the content is positive or negative. 

Add condition to check from email using condition control.

sandeepstw_3-1705054287504.png

 

 

 

 

and then convert Email HTML to Text. Using Action “HTML To Text” .  

sandeepstw_4-1705054287505.png

 

 

 

 

Now add the AI action “Analyze Positive and Negative sentiment in text.” 

sandeepstw_5-1705054287506.png

 

 

 

 

And pass plain text as input from previous action.  

sandeepstw_6-1705054287507.png

 

 

 

 

Step 5: Notification - "Send an Email (V2)" 

 

Based on the sentiment analysis, the flow then crafts a notification email. If the sentiment is positive, you could receive a cheerful notification. If it's negative, the notification could prompt you to address any concerns. 

Use action “Send an Email (V2)” from put to send email back to manager with result.  

 

 

sandeepstw_7-1705054287509.png

 

 

 

 

Conclusion 

Incorporating AI into daily work processes can seem daunting, but with tools like Power Automate and AI Builder, it becomes a walk in the park. Indian businesses and individuals can leverage these technologies to enhance productivity and make informed decisions based on the insights derived from AI. 

Through this blog, we have seen how a simple email can be turned into actionable insights using the blend of automation and AI, catering to the Indian audience's need for simplicity and efficiency. Automation is not just for the tech-savvy; it is for everyone who aspires to work smarter, not harder.