This is a sentiment analysis application that is built to analyze customer feedback and derive insights. This could be deployed for content moderation on any forums, such as Youtube comments, Slack, or a community of your choice. It can easily be built by using third-party APIs or your own custom logic.
When comments are added in the portal, a webhook is triggered, which invokes the function URL. In the function, a call to a third-party API is made to verify the sentiment. The logic for sentiment analysis can also be handled in one or more functions. If it's an ambiguous comment, it will be added to the Data Store along with user details to identify the nature of the comment or for audit purposes. Cache can be used to store the count of such comments. Administrators can receive notifications about sudden increases in such comments in order to maintain the quality of content on the forums.
You can build microservices like this in less than 30 mins using
Catalyst : the Simplest Serverless Platform