Code Monkey home page Code Monkey logo

amazon-connect-cases-workshop's Introduction

Amazon Connect Cases Data Streaming

Introduction

Amazon Connect Cases, a feature of Amazon Connect, allows your agents to track and manage customer issues that require multiple interactions, follow-up tasks, and teams in your contact center. For custom analytics and down-stream application, integration Amazon Connect Cases event streams provide you with near real-time updates when cases are created or modified within your Amazon Connect Cases domain. You can use the case event streams to integrate streams into your data lake solutions, create dashboards that display case performance metrics, implement business rules or automated actions based on case events, and configure alerting tools to trigger custom notifications of specific case activity.

Prerequisites

It is assumed that you understand the use of the services below and you have the following prerequisites:

  1. An AWS account with both management console and programmatic administrator access.
  2. An existing Amazon Connect instance.
  3. Amazon Connect Customer Profiles enabled on Connect Instance.
  4. Amazon Connect Cases enabled on Connect Instance.

Architecture diagram

In the above architecture, when you create or modify the Amazon Connect case, Amazon Connect streams the data through Amazon EventBridge. The events are queued in the Amazon SQS service, followed by AWS Lambda function execution - storing the case event data in the Amazon DynamoDB for analytics purpose and invoking Amazon SNS service. You can integrate downstream application in subscribing to Amazon SNS notification, e.g., we have integrated with the Amazon SES.

Architecture Diagram

Walkthrough

  1. Download the source code zip here.
  2. Create a S3 solution bucket in your AWS account.
  3. Upload the downloaded zip file (step 1) into S3 Bucket created in step 2.
  4. Run the CFT located here.
  5. Following parameters needed for the CFT:
    1. CasesAlertEmail: Email address where you want Cases event notification
    2. CasesDomainId: Copy the case domain ID from the Amazon Connect instance
    3. SolutionSourceBucket: Solution bucket created in step 3

CloudFormation Template Screenshot

Validate

  1. Create or update your cases using by placing test call or using the Agent workspace
  2. You will see the cases event in the Amazon DynamoDB table
  3. You will also get an email alert for the cases in the email provided in the CFT parameter

Conclusion

In this guide, you learned how to stream Amazon Connect streams to create or update transaction to send and email notification and store the cases event in the Amazon DynamoDB table for custom analytics.

amazon-connect-cases-workshop's People

Contributors

amazon-auto avatar riteshcy avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.