Attachment input

Image of an author
Sylwia Kocur
2 min read
updated: Aug 8, 2024

The Attachment input interaction lets users attach files in an ongoing conversation with your chatbot.

Sending attachments can be useful when processing receipts, forms, and various customer documents. This way, the customer doesn’t have to send their attachment via email — they can share it directly with your chatbot while chatting.

It only works with LiveChat and Facebook Messenger integrations. The Attachment input interaction is unavailable for the Chat Widget integration.
It only works with LiveChat and Facebook Messenger integrations. The Attachment input interaction is unavailable for the Chat Widget integration.

ChatBot allows users to exchange files while chatting, including:

  • images (png, jpg, gif, raw, webp, image),

  • videos (webm, mp4, avi, mov, rm, rmvb, mpeg),

  • documents (txt, doc, docx, odt, ods, pdf, xls, xlsx, ppt, pptx).

You can define what type of attachments your chatbot can receive and which triggers a subsequent chatbot interaction.

How to configure the Attachment input interactionLink icon

Open your bot and drag the Attachment input block to where you want the user to provide a file in the bot flow. Select the type of attachment to trigger a subsequent chatbot response.

The file will be saved as a URL. ChatBot saves collected data as attributes. You can use the attachment attribute later in a conversation — for instance, when you want to remind the user about shared files or require confirmation.

All collected attachments are saved in the Archives.

The file will be saved as a URL. ChatBot saves collected data as attributes. You can use the attachment attribute later in a conversation — for instance, when you want to remind the user about shared files or require confirmation.

All collected attachments are saved in the Archives.

How to enable the Fallback interaction to filesLink icon

By default, the bot ignores all files shared in the chat. If you’d like to react to the file, you must enable the Fallback interaction for the Attachment input block.

To display a Fallback message when the user tries to share a file but your bot flow doesn’t do that, go to Bot Settings and turn the React to attachment input option on.

Your chatbot will display a Fallback message anytime it cannot match the attached files with any available interaction.

Read more:

Was this article helpful?

Got it!

Thanks for your feedback.

Thank you!

We’re happy to help.

Start a free ChatBot trial
and build your first chatbot today!

Free 14-day trial No credit card required

Discover our text| products