Create Bot for Microsoft Graph with DevOps 16: BotBuilder features – using Luis Entities with FormFlow

In this article, I will utilize Entity from LUIS and use the result to FormFlow. Use LUIS Entities 1. Change the code in CreateEventDialog.cs to use Entities from LuisResult. I just parsed several types for datatimeV2. See more detail about datetimeV2 here. You can parse the result anywhere, but I am doing so in StartAsync…. Read more

Create Bot for Microsoft Graph with DevOps 15: BotBuilder features – LUIS Dialog 101

In this article, I use LUIS to process natural language, and LuisDialog to integrate LUIS into BotBuilder. Create LUIS application 1. Go to https://luis.ai and create an account or signin if you already have account. 2. Click [New App]. 3. Create O365Bot application. 4. You can create Intent and entities by yourself but let’s use… Read more

Create Bot for Microsoft Graph with DevOps 14: BotBuilder features – Intercept messages

Intercepting conversation between users and bot gives you opportunities to extend the bot without affecting current code. For example: Log all conversations between users and the bot for analysis. Inspect the incoming messages. Though is it not pure intercept scenario from technology point of view, forward the conversation to human (hand-off scenario) is another interesting… Read more

Create Bot for Microsoft Graph with DevOps 13: BotBuilder features – Testing Proactive Messsaging

In the previous article, I implemented proactive messaging when any Outlook event has been updated. In this article, I will explain how to debug and testing. Remote Debug As Microsoft Graph Webhook requires publicly accessible callback URL, I had to publish it first to test. However what if I need to live debug the application?… Read more

Create Bot for Microsoft Graph with DevOps 12: BotBuilder features – Implementing Proactive Messsaging

In this article, I implement proactive messaging feature to O365Bot. You can see the detail about proactive messaging here. There are several useful scenario for O365 notification. In this article, I implement event change notification as it is important to me. Subscribe Microsoft Graph Event update To receive Microsoft Graph Event update, you can use… Read more

Create Bot for Microsoft Graph with DevOps 11: BotBuilder features – Global Message Hanlders

Users may want to say “help” in middle of a dialog. As a developer, you can implement global message handler to handle these “keywords”. Read the article here for more detail. Implement cancel operation Let’s implement one of the most common global handler, “cancel”. 1. Add Scorables folder in O365Bot project, and add CancelScorable.cs. In… Read more

Create Bot for Microsoft Graph with DevOps 10: BotBuilder features – FormFlow 201 FormBuilder

In this article, I explain about FormBuilder, which builds a form from model, and it gives you flexible options to customize the form. FormBuilder In previous article, I used following code to build a form. return new FormBuilder<OutlookEvent>() .Message(“Creating an event.”) .AddRemainingFields() // add all (remaing) fields to the form. .OnCompletion(processOutlookEventCreate) .Build(); I also get… Read more

Create Bot for Microsoft Graph with DevOps 9: BotBuilder features – FormFlow 101

DialogPrompt is great, but if you want to simply create a form, then FormFlow is the one you want to use. Create a form by using FormFlow FormFlow uses model to create a form. Add model 1. Open O365Bot solution and add Models folder. 2. Add OutlookEvent.cs and replace the code. Don’t forget to add… Read more