This Twilio product is currently available as a beta release. Some features are not yet implemented and others may be changed before the product is declared as Generally Available. Beta products are not covered by a Twilio SLA. Learn more about beta product support.
Once Flex Webchat attachments are enabled, you can start sending files via Flex web chat.
Agents and customers will see the messaging canvas with any previous messages sent and received between them. At the bottom of the message canvas is the message input where you type out your replies, which includes the attachment button on the right.
Clicking it will open your Operating System’s file picker which you can use to navigate your file structure and select the file you want to send. The chosen file will appear in a preview of the message with the file name and size shown. Click the send button to send the file or click the remove button to clear the file from the message input.
Agents will see an error notification if the file doesn’t meet the size or type restrictions you’ve configured.
When the attachment has been sent you’ll see the file preview in the chat history. If customers are able to send you files they will also appear in the chat history.
You can click the file preview to open the file. Depending on the file type it may open as a preview in your browser or be downloaded to your device. You may be prompted to select a location on your computer to save the file.
If the attachment fails to send you’ll be notified with a warning. You’ll need to re-select the file and send it again.
You can compose a message that consists of both file and text. Note that they will be sent as 2 separate messages.
You can also drag-n-drop files into the Messaging Canvas to send them. Once you have dragged the file in, it will appear in the Message Input and you can send it right away or add text to the message before sending.