Skip to content

Latest commit

 

History

History
51 lines (34 loc) · 2.03 KB

File metadata and controls

51 lines (34 loc) · 2.03 KB

File Attachments

‼️ MUST ENABLE this feature for your Connect instance

Allow customers and agents to share files using chat. Refer to Admin Guide documentation to enable attachments for you Connect instance

Chat Attachments Feature

Reference

Implementation

If you want to enable sending attachments for Amazon Connect Chat the customer chat widget, follow the instructions in the documentation to enable your Amazon Connect instance for attachments. Once enabled, you can mark the ATTACHMENTS flag in connect.ChatInterface.initiateChat as true. Example below:

connect.ChatInterface.initiateChat({
  apiGatewayEndpoint: "https://${apiId}.execute-api.${region}.amazonaws.com/Prod",
  contactFlowId: "${contactFlowId}",
  instanceId: "${instanceId}",
  // ...
+ featurePermissions: {
+   "ATTACHMENTS": true,  // this is the override flag from user for attachments
+ }
},successHandler, failureHandler);

Common Issues

Internal firewall prevents access to chat attachments ? Please refer to https://docs.aws.amazon.com/connect/latest/adminguide/ts-agent-attachments.html

Limits

Please refer to Admin Guide Documentation for latest Chat feature limits

File types supported for chat attachments:

.csv, .doc, .docx, .jpeg, .jpg, .pdf, .png, .ppt, .pptx, .txt, .wav, .xls, .xlsx

Max file size for a chat attachment:

20MB