Closed rounakraj closed 4 years ago
There is in the chat widget, but no where else I don't believe.
@dcalvom
Correct! This is a good feature to be added. A welcome message that will be used in case the channel accepts it.
Thanks, How do we modify this for chat widget.
@wrathagom How do we pass any parameter from chat widget and access it as part of CSO. For eg. i completed login and would like to send the userID back in CSO to be sent in header to my webhook. Is this possible?
@wrathagom @dcalvom any answer to my above queries
Hi @rounakraj, to let you know, right now @dakavisa is working on the welcome message feature. Regarding the way to send back something to your agent in the payload, you can just simply add it as a part of the payload in your request to converse and it will be forwarded to the CSO, so if you send userID in the payload you will be able to access it your action webhook with just {{userID}}
@dcalvom Thanks I could retrieve the payload. Would love to tryout the new welcome message feature once ready.
@dakavisa can you give a run down of welcome message feature?
Now we have a default action like fallback but it's called welcome action. This action is created automatically on any new agent, for the old ones it should be added before save.
For every connection, for example the chat widget, in the details tab, there is an option for enabling it:
For the chat widget, for every new session or when they are restarted, the action is executed when the chat is opened For all the other connections, the welcome action is executed after the first user message.
Closed by ef084a9c9a52c429e5330661c1a9d643fe6f2b7c
@wrathagom I would like to set a welcome message when chatbot starts. Is there something like Welcome Intent which i can use, or any other way to achieve this.