[Node.js SDK] Best way to save user inputs
I am using Microsoft ChatBot Builder NodeJS SDK. I can use Cosmos Db for state storage. But I want to storage all inputs from user on everytime. I want user's old inputs on my database. What is the best way for it? Creating a webserver with database and send all inputs on a single conversion via http POST requests or Does the BotBuilder has a method for it?
@wethil the best way to do this would be to intercept the exchanges between user and bot via middleware. You can find an example on implementing your own middleware in the BotBuilder-Samples repo, under capability-middlewareLogging. You'll be using UniversalBot.use(), and will want to see IMiddlewareMap for the events you can intercept.