Skip to content

Sending Custom Messages to Customers in Amazon Connect Agent Workspace and Third-Party Apps

0

I am currently working on integrating a third-party application with Amazon Connect and have a requirement to send custom messages to customers in the chat channel from the agent side. While I am aware of the default capabilities of Amazon Connect’s Contact Control Panel (CCP), I would like to clarify the following points and explore potential solutions:

  1. Sending Custom Messages from Third-Party Apps:

    • Is there a way to send custom messages to customers via a third-party application integrated with Amazon Connect?
    • What APIs or SDKs can be leveraged to achieve this functionality? For example, can the StartChatContact or SendMessage APIs be utilized outside of CCP for this purpose?
  2. Alternate Methods to Send Messages:

    • Apart from using the CCP, are there alternative methods for an agent to send messages to customers in the chat channel?
    • Can Amazon Connect Streams or ChatJS SDK be used to customize the messaging experience in the agent workspace?
  3. Use Case Context:

    • My use case involves agents interacting with customers via chat and needing to send system-generated or custom messages (e.g., notifications, status updates) directly from a third-party application integrated with Amazon Connect.
    • The intention is to augment the agent's workspace with additional functionality without disrupting the existing CCP workflow.
  4. Best Practices and Recommendations:

    • Are there best practices or AWS-recommended approaches for implementing this kind of functionality securely and efficiently?
    • Any documentation or examples that demonstrate how to achieve custom messaging via third-party integrations?

Thank you for your assistance. Your guidance will be invaluable in helping us implement a seamless integration with Amazon Connect to enhance our chat capabilities.

asked 2 years ago620 views

1 Answer
0

Integrating third-party applications with Amazon Connect to send custom messages to customers in the chat channel is possible, and there are several approaches you can consider:

  1. Sending Custom Messages from Third-Party Apps: Yes, you can send custom messages to customers via a third-party application integrated with Amazon Connect. The Amazon Connect Streams API and the Amazon Connect Participant Service API can be used for this purpose. These APIs allow you to interact with Amazon Connect contacts and send messages programmatically.

To send messages, you can use the SendMessage API from the Participant Service. This API allows you to send messages to the chat conversation from your third-party application. You'll need to obtain the necessary connection information (such as ConnectionToken) from the CreateParticipantConnection API first.

  1. Alternate Methods to Send Messages: Apart from using the Contact Control Panel (CCP), you can indeed use the Amazon Connect Streams library or the ChatJS SDK to customize the messaging experience in the agent workspace. These libraries provide more flexibility in how you handle chat interactions and send messages.

The Amazon Connect Streams library, in particular, allows you to build custom interfaces for agents that can include chat functionality. You can subscribe to events and use methods provided by the library to send messages and interact with the chat.

  1. Use Case Context: For your specific use case of sending system-generated or custom messages from a third-party application, you can leverage the APIs mentioned above. You'll need to integrate your third-party application with Amazon Connect using the provided SDKs or APIs. This will allow you to send notifications, status updates, or other custom messages directly from your application while still maintaining the existing CCP workflow.

  2. Best Practices and Recommendations: When implementing custom messaging via third-party integrations, consider the following best practices:

  • Use the official Amazon Connect SDKs and APIs to ensure compatibility and security.
  • Implement proper error handling and logging to manage any issues that may arise during message sending.
  • Ensure that your application has the necessary permissions to interact with Amazon Connect services.
  • Consider using Amazon SNS for real-time message streaming to get updates about chat events.
  • Test your integration thoroughly in a non-production environment before deploying to production.

To implement this functionality, you'll need to create your third-party application using the Amazon Connect SDK, integrate it with the agent workspace, and use the appropriate APIs to send messages. The Agent Workspace Developer Guide provides detailed information on how to develop and integrate third-party applications with Amazon Connect.

Remember to handle authentication properly and ensure that your application adheres to any data privacy and security requirements when dealing with customer information.

Sources
Working with third-party applications in the Amazon Connect Agent Workspace - Agent Workspace
Integrate third-party applications (3p apps) in the Amazon Connect agent workspace - Amazon Connect
Integrate application with Amazon Connect Agent Workspace agent data - Agent Workspace
Customize the Amazon Connect Agent Workspace - Amazon Connect
Enable real-time chat message streaming in Amazon Connect - Amazon Connect

answered 2 years ago

AWS
SUPPORT ENGINEER

reviewed 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.