File Attachments
August 9, 2023 · View on GitHub
‼️ 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
Reference
- Initial release date: 12/21/2020
- Admin Guide Documentation
- Launch Announcement
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