amazon eventbridge integration

PLAID KARTE Comprehend on AWS

Real-time sentiment analysis of chat messages

This Amazon EventBridge integration combines the PLAID KARTE software as a service (SaaS) with Amazon Comprehend, Amazon Web Services (AWS) Lambda, and Amazon EventBridge to analyze sentiment and extract key phrases from chat messages to update KARTE user data.

KARTE sends events that include the chat message body and the ID of the user who sent the chat. The chat message is then used by Amazon Comprehend to analyze sentiment and extract key phrases in real time. As KARTE is an event-driven system, you can use the information to perform various actions on users in real time when the KARTE user data is updated. 

This integration sets up the following pipeline: 

  • When a user sends a KARTE chat message, the event is sent to the Amazon EventBridge SaaS bus.
  • The EventBridge bus evaluates the event against your defined rules.
  • If the event matches your rules, EventBridge invokes Amazon Simple Notification Service (Amazon SNS) to send an SNS notification through a Lambda function.
  • The Lambda function performs sentiment analysis and key-phrase extraction of the message using Amazon Comprehend and sends the data via KARTE's API to update the user data on KARTE.
  • KARTE processes the data and responds with the appropriate response, for example, notifying operators about messages with negative sentiments or automatically replying with information that answers questions about a particular service.
  •  Deploy this EventBridge integration
  •  Deploy this EventBridge integration
  • Step 1                  Sign in to your AWS account. If you don't have an account, sign up at An account automatically signs you up for Amazon EventBridge and other AWS services.
    Step 2           Set up an event source for your KARTE partner, and note the event source name (e.g., aws.partner/{AWSAccountID}/{KARTEProjectId}/{AppName}). Before you proceed, ensure that your event is listed as Pending.
    Step 3 Deploy the integration. Launch the AWS CloudFormation template. The deployment takes about 5 minutes to complete. EventBridge integrations are currently supported in all AWS Regions.

    Amazon may share user-deployment information with the AWS Partner that collaborated with AWS on the Quick Start.  

    You are responsible for the costs of AWS services and partner integrations used while running this integration.

    To post feedback, submit feature ideas, or report bugs, use the Issues section of the GitHub repository.