botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

Welcome Message

Open filipeperdigaosousa opened this issue 10 years ago • 8 comments

Hi.

Since the new version was lanched I can't see references to welcome messages.

Is it possible to use something like that on this new version?

filipeperdigaosousa avatar Aug 09 '16 14:08 filipeperdigaosousa

Do you mean the Node firstRun middleware?

https://docs.botframework.com/en-us/node/builder/chat-reference/classes/botbuilder_d.middleware.html#firstrun

willportnoy avatar Aug 09 '16 20:08 willportnoy

This implies a first user interaction to wake up the bot. There are some feature that can trigger the bot when the user joins to the conversation?

Filipe Sousa

Skype: filipe.p.sousa Telemóvel: (+351) 934405929 LinkedIn: pt.linkedin.com/in/filipeperdigaosousa

2016-08-09 21:16 GMT+01:00 Will Portnoy [email protected]:

Do you mean the Node firstRun middleware?

https://docs.botframework.com/en-us/node/builder/chat- reference/classes/botbuilder_d.middleware.html#firstrun

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/Microsoft/BotBuilder/issues/950#issuecomment-238677061, or mute the thread https://github.com/notifications/unsubscribe-auth/AInZcrYYrDb6Aqz7z67jBLChyNWjaM_hks5qeOAtgaJpZM4JgG4H .

filipeperdigaosousa avatar Aug 09 '16 20:08 filipeperdigaosousa

You can look for other activity types e.g. https://docs.botframework.com/en-us/csharp/builder/sdkreference/activities.html but I believe some channels have requirements that require the user to interact with the bot first.

willportnoy avatar Aug 09 '16 22:08 willportnoy

It would be nice that the bot can tell the user what he can do in a welcome message,in every activity and channel.

With out these the user doesnt know what to do, so the user first have to test what the bot understands

kevinport avatar Aug 12 '16 05:08 kevinport

@kevinport I agree that's a good feature to have any bot - some sort of welcome message.

I think the per-channel requirements that the user talk to the bot first (even with just a "hello") is to prevent spam bots.

I'm going to close this issue for now, but feel free to open a new issue for further discussion.

willportnoy avatar Aug 12 '16 23:08 willportnoy

This problem is solved very well in the webchat. It would be nice if you can make this static text editable. But in all other channel i miss this function.. to prevent spam bots, i think a welcome message doest help, if some one wants to write a spam bot he simply writes it.

The skype bot and the summarizer and the bing news bot already use a welcome message...

How did they do this?

kevinport avatar Aug 13 '16 00:08 kevinport

Yes, that's an often request feature for WebChat. It's on our backlog.

It seems likely those bots use one of the other types of activities to send the welcome message: https://docs.botframework.com/en-us/csharp/builder/sdkreference/activities.html

willportnoy avatar Aug 13 '16 00:08 willportnoy

I was looking into building a welcome request for Slack @willportnoy. Is there a way to handle that scenario already?

stanleycyang avatar Oct 21 '16 15:10 stanleycyang