# 10. Send Files in a Message

The template uses Bubble's Multifile Uploader plugin to allow the Current User to send files, using the combination of elements below:

**`Popup Multifile Uploader (Files) Element`**

![](/files/-LXRekV_zXN3fHS20nNT)

The actual `Multifile Uploader (Files)` element is transparent, and placed on top of  the `IonicIcons Attach Files` element.  When the transparent `Multifile Uploader (Files)` element is clicked, the file selector will immediately open, so the Current User can select their files.&#x20;

After the Current User selects their photos to upload, they are uploaded to your app's storage, and the transparent `Multifile Uploader (Files)` element becomes hidden. Then, the `Repeating Group Uploaded Uploaded Files (Files)` element becomes visible which displays each file's name and a delete button in each cell.

![](/files/-LHyeU-Mt_mmF2MWXx2D)

This custom setup makes sure that when the delete button is clicked next to a file, that file is completely removed from the app's storage (since the Current User decided not send it, we don't want unused files taking up space in the app's storage). &#x20;

{% hint style="info" %}
More specific information on these workflows can be found in the **D. Files/Images/GIPHYs** workflow folder and the **delete\_uploaded\_files** API workflow.

Note: A personal plan or higher is needed to run API workflows.
{% endhint %}

###


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.littlebaytech.com/templates/messaging-template/page-guides/pages/3.-logged-in/messages/built-in-functionality/10.-send-files-in-a-message.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
