botfront / rasa-webchat

A feature-rich chat widget for Rasa and Botfront
https://botfront.io/rasa
Apache License 2.0
945 stars 495 forks source link

Starting the conversation #433

Closed radovluk closed 2 years ago

radovluk commented 2 years ago

Hello, I would like to ask about how to start the conversation from the bot side. I use recommended initPayLoad and rule in Rasa rules, however, this is not working and I am not getting the welcome message. Any idea how this can be solved?

window.WebChat.default( { initPayLoad: '/start_conversation', customData: { language: "en" }, socketUrl: "http://localhost:5005", title: 'Eva', showMessageDate: false, profileAvatar: "src/eva-img.png" }

rules: - rule: Start the conversation steps: - intent: start_conversation - action: utter_welcome_message`

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.