# 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`**

![](https://1788973256-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L8uq1TOYNrDiHA5baDk%2F-LXReUvfPMIMWncs630Q%2F-LXRekV_zXN3fHS20nNT%2FPopupMultifileUploaderFilesElement.png?alt=media\&token=caf61b34-acff-4825-b543-c33d7fe91267)

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.

![](https://1788973256-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-L8uq1TOYNrDiHA5baDk%2F-LHyUPsYff9ofLQYYCDv%2F-LHyeU-Mt_mmF2MWXx2D%2Fimage.png?alt=media\&token=72c482e7-7902-4a46-b46d-c4ec3aa9e5e2)

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 %}

###
