How to respond to user inactivity using the Oracle Web SDK messenger. An implementation strategy by Frank Nimphius

image

During a bot conversation, users can be distracted for a short time and become inactive. With the Oracle Web SDK, your skills can remind users after a certain idle time or even cancel the conversation. This behavior however does not come out-of-the box but requires you to design your dialog flow conversation for it.

This article explains an implementation strategy that allows bot to remind users of the conversation they started and also to close a conversation that sat idle for too long. Using this implementation you can also avoid users from staying idle beyond the time configured as the channel session expiry time.

Sample Flow

The sample that you can download for this article is a pizza order bot. The business of the bot is less important though than what it does. After you setup the downloaded sample as described in the article, you can run it by starting the index.html file, opening the message window (with a click on the bot icon in the lower right corner of the page) and typing I like to order pizza.

The bot response shows as in the image below. You can now select a pizza to order, or just do nothing. Read the complete article here.

Developer Partner Community

For regular information become a member in the Developer Partner Community please register here.

clip_image003 Blog clip_image005 Twitter clip_image004 LinkedIn image[7][2][2][2] Facebook image Meetups

Technorati Tags: PaaS,Cloud,Middleware Update,WebLogic, WebLogic

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.