View a markdown version of this page

Enable Two-Way SMS in Amazon Connect Customer - Contact Center Reference Architecture Diagrams

Enable Two-Way SMS in Amazon Connect Customer

Publication date: November 23, 2021 (Diagram history)

This reference architecture diagram shows how to add SMS support to your contact center. It uses the chat message streaming APIs in Amazon Connect Customer and Amazon Pinpoint two-way SMS.

Enable Two-Way SMS in Amazon Connect Customer diagram

Reference architecture diagram showing how to enable two-way SMS in Amazon Connect Customer by using Amazon Pinpoint, AWS Lambda, Amazon DynamoDB, and Amazon Simple Notification Service.
  1. Customer sends a text message to the Amazon Pinpoint phone number.

  2. Amazon Pinpoint publishes the message to Amazon Simple Notification Service (Amazon SNS).

  3. Amazon SNS invokes AWS Lambda.

  4. Lambda queries Amazon DynamoDB for the chat contact context.

  5. If this is the first message for the contact, Lambda calls the StartChatContact, StartContactStreaming, and CreateParticipantConnection APIs. If there is an existing chat, Lambda sends the message to Connect Customer.

  6. Connect Customer streams Agent and System messages to Amazon SNS.

  7. Amazon SNS invokes Lambda.

  8. Lambda queries DynamoDB for chat contact context.

  9. Lambda invokes the Amazon Pinpoint SendMessage API to send the text message.

  10. Amazon Pinpoint delivers the reply message to the customer through SMS.

Further reading

For additional information, refer to