aws-samples / serverless-patterns

Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
https://serverlessland.com
Other
1.59k stars 927 forks source link

[New repo]: Analyzing sentiment of audio recordings and trigger escalations using StepFunctions, SNS, and SES #1973

Closed sachinh closed 10 months ago

sachinh commented 10 months ago

Description

The purpose of this serverless pattern is to provide an automated, scalable, and cost-effective solution for processing audio recordings, transcribing spoken words into text, and analyzing the sentiment of the transcription. This pattern is particularly suited for organizations looking to automate customer service feedback analysis, call center operations, or any scenario where insights from audio recordings are critical, without the efforts of maintaining infrastructures. This solution includes:

Audio Transcription: Audio files recorded and uploaded to an S3 bucket trigger an AWS Step Functions state machine. The state machine coordinates with AWS Transcribe to convert the audio into a written transcript, making the content easily searchable and analyzable.

Sentiment Analysis: Once transcribed, AWS Comprehend is used to analyze the text for sentiment, determining if the overall sentiment is positive, negative, neutral, or mixed. This is essential for understanding customer feedback or the emotional tone in recorded interactions.

Notification and Escalation: The pattern includes mechanisms to notify relevant recipients of the sentiment analysis results. If the sentiment is negative, a notification can be sent via Amazon Simple Notification Service (SNS), and an email can be dispatched using AWS Simple Email Service (SES), allowing for immediate action or follow-up.

language

English

runtime

Python

Level

300

Type

Application

Use case

Interactive workload

Primary image

https://github.com/sachinh/serverless-patterns/blob/sachinh-feature-eventbridge-sfn-sns/eventbridge-sfn-sns/images/architecture.png

IaC framework

AWS SAM

AWS Serverless services used

Description headline

Analyzing sentiment of audio recordings and trigger escalations using StepFunctions, SNS, and SES

Repo URL

https://github.com/sachinh/serverless-patterns/blob/sachinh-feature-eventbridge-sfn-sns/eventbridge-sfn-sns/

Additional resources

No response

Author Name

No response

Author Image URL

No response

Author Bio

No response

Author Twitter handle

No response

Author LinkedIn URL

No response

leave

No response

sachinh commented 10 months ago

submitted the issue prematurely. will create a new issue.