Amazon Connect Chat Flows based on website

0

I'm comparing Amazon Connect Chat with our vendors and not real familiar with Amazon Connect. We host many different websites for clients and need chat widgets on those different websites for different clients. So we would need to have a route/flow for the chat request to the correct agent based on the web site it came from. Is there an easy way in the widget code to pass the website page that the chat request started from into the flow and make it go to different queues based on that? I'd rather not create our own chat widget using the API but would also be curious if it could be done with that. Also, is the 5 domain a hard limit or is there a way to allow more domains?

Nathan
asked a year ago559 views
3 Answers
0

This is exactly why we made Amazon Connect Chat Widget to drop a few line of codes to enable websites to have a chat icon to initiate chat, try it out!

https://docs.aws.amazon.com/connect/latest/adminguide/add-chat-to-website.html

profile pictureAWS
answered a year ago
  • Yes, but if we put the widget on multiple websites, how do we know what website the chat is coming from? We want to route the chat to different agents based on the website the chat originates from.

  • You can now add MULTIPLE Chat Widget that point to different Contact Flow (different queue for each Widget). Then you can simply put Widget1 (using Flow1 that goes to Queue1) in Site1, Widget2 using Flow2 with Queue2 in Site2 without doing anything custom.

0

Please find answers to your queries below:

Query 1 : Is there an easy way in the widget code to pass the website page that the chat request started from into the flow and make it go to different queues based on that?

I believe we can achieve this with JSON Web Tokens (JWTs) for new chat requests. This provides you more control when initiating new chats, including the ability to verify if the chat requests sent to Amazon Connect are from authenticated users. However, using this you have to manually pass the “Domain name” and further you can pass contact attributes, which you can then check in the flow and branch to different queues based on that. Kindly refer to links [1] and [2] for your reference.

Query 2 : I'd rather not create our own chat widget using the API but would also be curious if it could be done with that.

Yes this is possible. Please refer to the link [3] for the same. This repo contains examples on how to implement the customer side of Amazon Connect chat. I would also request you to refer the sub links in [3] as it will help you understand the possibility of your use case in the best way possible.

Query 3 : Also, is the 5 domain a hard limit or is there a way to allow more domains?

Currently, 5 domains is the threshold limit and it’s not allowed to increase this limit as per the instance level.

References:- [1] Add a chat user interface to your website: https://docs.aws.amazon.com/connect/latest/adminguide/add-chat-to-website.html
[2] Pass contact attributes when a chat initializes: https://docs.aws.amazon.com/connect/latest/adminguide/pass-contact-attributes-chat.html
[3] Amazon Connect Chat UI Examples: https://github.com/amazon-connect/amazon-connect-chat-ui-examples/

AWS
answered a year ago
0

Did you ever figure out how to capture the URL of the page from where the chat is initiated?

Also, can we do JWT on public websites without any authentication?

answered 5 days 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.

Guidelines for Answering Questions