Consumer Review Sentiment Analysis for CPG
Publication date: May 13, 2021 (Diagram history)
This architecture shows how to gain insights from consumer reviews in near real time. With a serverless event-driven architecture, consumer packaged goods (CPG) companies can analyze sentiment, extract key phrases, and identify entities from reviews across multiple sources.
Consumer Review Sentiment Analysis for CPG
The following steps describe the architecture:
-
Review data is ingested into AWS through the ingestion pipeline from multiple sources such as e-commerce, product websites, and social media webhooks.
-
An Amazon Kinesis Data Firehose delivery stream loads the reviews into an Amazon Simple Storage Service bucket.
-
Amazon AppFlow securely ingests data from SaaS applications (like Salesforce, Marketo, Slack, and ServiceNow) into Amazon S3.
-
An Amazon S3 event invokes an AWS Lambda function to analyze the raw reviews. The function uses Amazon Translate for language translation and Amazon Comprehend for sentiment analysis, key-phrase extraction, and entity extraction.
-
The AWS Glue Data Catalog contains a logical database that organizes tables for the data in Amazon S3.
-
Amazon Athena uses these table definitions to query the data stored in Amazon S3 and return the information to an Amazon Quick Sight dashboard.
Further reading
For additional information, refer to the following resources:
Diagram history
To be notified about updates to this reference architecture diagram, subscribe to the RSS feed.
| Change | Description | Date |
|---|---|---|
Initial publication | Reference architecture diagram first published. | May 13, 2021 |
Note
To subscribe to RSS updates, you must have an RSS plugin enabled for the browser you are using.