In part 1 of this blog post series, we introduced sentiment analysis and how we can use Integration Builder to extract the text from our data source, make a call to Amazon Comprehend natural language processing (NLP) service, through API Builder, to determine the sentiment and send a notification to the appropriate stakeholder in Microsoft Teams. In part 1, we looked at the Net Promoter Score (NPS) survey example. In this post, we’ll look at detecting the sentiment in a Note in a Salesforce.com Opportunity.
The diagram below illustrates the flow of data:
Note that the information in the notification contains the sentiment, the contents of the note, the account name, and a link to the note.
Follow the instructions here to configure Webhooks in your Salesforce account.
When you’re done, instantiate a Salesforce Sales Cloud connector in Integration Builder and make sure you enable events and select Webhook (instead of polling) and enter Note in the Object to Monitor for Changes as shown below:
Note that you don’t need to enter the Webhook URL. Integration Builder will populate that field automatically when you authenticate.
In this section, we’ll create our Integration Builder flow. You can download the flow here.
The resulting flow is shown below:
#integration #salesforce #sentiment analysis #axway #data analysis