# Attachment uploading in Rasa Chatbot

**URL:** <https://forum.rasa.com/t/attachment-uploading-in-rasa-chatbot/31677>\
**Category:** Rasa Open Source\
**Created:** [July 22, 2020, 4:41pm UTC](https://forum.rasa.com/t/attachment-uploading-in-rasa-chatbot/31677 "2020-07-22T16:41:51Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![RBenjaminfranklin](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/rbenjaminfranklin/32/2091_2.png) [@RBenjaminfranklin](https://forum.rasa.com/u/RBenjaminfranklin)\
**Post date:** [July 22, 2020, 6:37pm UTC](https://forum.rasa.com/t/attachment-uploading-in-rasa-chatbot/31677/4 "2020-07-22T18:37:47Z")

</div>

You can try to do it through custom actions for it

> [@RASA Attachments](http://forum.rasa.com/t/rasa-attachments/642):
>
> Hi All, In my use case I have to send an attachment to an API. Lets take example Bot : Do you have template User : Yes Bot : Please provide a template User: Upload the template of a file. After this bot has to perform an action to perform a POST request sending the attachment. Can anyone help how to handle this . I am not able to understand how rasa\_nlu is going to treat this attachment. Thanks,

> [@Send files to bot](http://forum.rasa.com/t/send-files-to-bot/491/2):
>
> You can put the files in S3 or NFS like that and send the link/bool to rasa core that perceives that it has received a file. another option would be to store the byte stream in the tracker itself though I am not sure it is a good idea. All you need is some sort of indicator that you provide to the bot that you have received a file, unless you want the NLU to parse the file itself for information but that also you should do with a different API, bot should process relevant natural text or slots…

Please refer it. Hope it helps @Ayantika1You can mark it as answer if you feel this helps.

---

_[View the full topic](https://forum.rasa.com/t/attachment-uploading-in-rasa-chatbot/31677)._
