# How to let the bot initiate the conversation?

**URL:** <https://forum.rasa.com/t/how-to-let-the-bot-initiate-the-conversation/34520>\
**Category:** Rasa Open Source\
**Created:** [September 25, 2020, 12:46pm UTC](https://forum.rasa.com/t/how-to-let-the-bot-initiate-the-conversation/34520 "2020-09-25T12:46:20Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [September 25, 2020, 12:46pm UTC](https://forum.rasa.com/t/how-to-let-the-bot-initiate-the-conversation/34520/1 "2020-09-25T12:46:20Z")

</div>

So I have chatbot deployed on a website using the REST channel.

I want to have the following things displayed by default when I open the chat window.

Bot: Hi how may I help you?

Bot: Get started by asking:

```
    (5-6 Buttons will be displayed)

```

The user will select anyone button & henceforth the conversation flow will continue.

For this task , what are the things to be done exactly , in html or use the custom actions?

Please help.

Thanks & Regards, Vaidehi Deshpande

---

<div class="post-metadata">

**Author:** ![gaushh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gaushh/32/11154_2.png) [@gaushh](https://forum.rasa.com/u/gaushh)\
**Post date:** [September 25, 2020, 2:25pm UTC](https://forum.rasa.com/t/how-to-let-the-bot-initiate-the-conversation/34520/2 "2020-09-25T14:25:28Z")

</div>

This can be done on the frontend.

For instance, you can make buttons on the frontend display them to the user at the start of each session. When the user clicks on a button, the value associated with that button can be sent to the bot as the user message to initiate the conversation, to which the bot can reply accordingly.

---

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [September 28, 2020, 5:09am UTC](https://forum.rasa.com/t/how-to-let-the-bot-initiate-the-conversation/34520/3 "2020-09-28T05:09:12Z")

</div>

how do I send the value associated with buttons to the bot ?

---

<div class="post-metadata">

**Author:** ![gaushh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gaushh/32/11154_2.png) [@gaushh](https://forum.rasa.com/u/gaushh)\
**Post date:** [September 28, 2020, 5:39am UTC](https://forum.rasa.com/t/how-to-let-the-bot-initiate-the-conversation/34520/4 "2020-09-28T05:39:44Z")

</div>

See how button _name_ and _value_ works [here](https://www.w3schools.com/tags/att_button_value.asp).

---

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [September 28, 2020, 5:46am UTC](https://forum.rasa.com/t/how-to-let-the-bot-initiate-the-conversation/34520/5 "2020-09-28T05:46:07Z")

</div>

![image](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/c/cbf469cb26253ef908c6419baeef9bcc0686d1d2.png)

This is my Frontend code… where the button is Frequently Asked Questions.

---

<div class="post-metadata">

**Author:** ![gaushh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/gaushh/32/11154_2.png) [@gaushh](https://forum.rasa.com/u/gaushh)\
**Post date:** [September 29, 2020, 11:34am UTC](https://forum.rasa.com/t/how-to-let-the-bot-initiate-the-conversation/34520/6 "2020-09-29T11:34:15Z")

</div>

Hi @vaidehi16See if this thread helps your use-case.

> [@How to let bot start the conversation](http://forum.rasa.com/t/how-to-let-bot-start-the-conversation/20866/9):
>
> I try it, but the response data is null, what happens? thanks

---

<div class="post-metadata">

**Author:** ![vaidehi16](https://avatars.discourse-cdn.com/v4/letter/v/b3f665/32.png) [@vaidehi16](https://forum.rasa.com/u/vaidehi16)\
**Post date:** [September 29, 2020, 11:36am UTC](https://forum.rasa.com/t/how-to-let-the-bot-initiate-the-conversation/34520/7 "2020-09-29T11:36:12Z")

</div>

yeah , thanks!
