This site is obsolete and should be used for reference only. The information in this documentation is not guaranteed to work for Bot Framework SDK versions past 4.9.1.

Tutorial: Enable proactive notifications

Run your solution

Now events can be sent to a user through your Virtual Assistant in an active conversation.

Start a new conversation with your Virtual Assistant

In order for the notification to be received, the sample event has to use the same user id as in an existing conversation. Bot Framework Emulator settings

  1. Open the Bot Framework Emulator.

  2. Navigate to Settings and provide the same user id you set in the EventProducer.

  3. Run your Virtual Assistant project.

  4. Start a new conversation with your Virtual Assistant to create a proactive state record for future user.

Send a sample notification with the Event Producer

  1. Run the EventProducer project to generate a sample notification message.

  2. Congratulations, you’ve received a proactive notification through your Virtual Assistant!

Demonstration of a notification received in an existing bot conversation