# Sending a direct message from react without widget

**URL:** <https://forum.rasa.com/t/sending-a-direct-message-from-react-without-widget/12044>\
**Category:** Rasa Open Source\
**Created:** [June 25, 2019, 1:51pm UTC](https://forum.rasa.com/t/sending-a-direct-message-from-react-without-widget/12044 "2019-06-25T13:51:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sandeep023](https://avatars.discourse-cdn.com/v4/letter/s/7993a0/32.png) [@Sandeep023](https://forum.rasa.com/u/Sandeep023)\
**Post date:** [June 25, 2019, 1:51pm UTC](https://forum.rasa.com/t/sending-a-direct-message-from-react-without-widget/12044/1 "2019-06-25T13:51:32Z")

</div>

Hi I am using a chatbot widget called chatroom from [github](https://github.com/scalableminds/chatroom) and I want to send a default message based on cookies from the browser and that is not the welcome message we can set. Is there a way to send a message from React without entering the message in the browser.

---

<div class="post-metadata">

**Author:** ![Papa](https://avatars.discourse-cdn.com/v4/letter/p/9d8465/32.png) [@Papa](https://forum.rasa.com/u/Papa)\
**Post date:** [June 1, 2021, 1:12pm UTC](https://forum.rasa.com/t/sending-a-direct-message-from-react-without-widget/12044/2 "2021-06-01T13:12:54Z")

</div>

Hi @Sandeep023 , how did you do that. I want to do the same thing.
