- Newest
- Most votes
- Most comments
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:
- 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.
- 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.
-
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.
-
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
Relevant content
- AWS OFFICIALUpdated 2 years ago
