Questions tagged [botframework]

The Microsoft Bot Framework is used for building intelligent chat bots and deploying them to multiple messaging platforms or channels at once. This includes utilizing various Bot Builder SDK features, creating bots of various types and using the Bot Directory or the Azure Bot Service.

Filter by
Sorted by
Tagged with
53 votes
5 answers
26k views

Bot Framework without Azure possible?

If i'm building a bot with the Microsoft Bot Framework, do i need to deploy my bot to Azure in order to register my bot HERE in order to configure the channels for the bot? Or can i simply deploy my ...
  • 700
40 votes
5 answers
66k views

date.toLocaleDateString is not a function

Have simple function which returns an error: ERROR: date.toLocaleDateString is not a function TypeError: date.toLocaleDateString is not a function at FormatTime (../Src/rootdialog.js:87:58) ...
39 votes
2 answers
2k views

MS Bot Builder: how to set session data to proactive message?

I first send a proactive message to the user via sms channel inside OAuthCallback method var connector = new ConnectorClient(); Message message = new Message(); message.From = new ChannelAccount { ...
  • 4,444
28 votes
4 answers
10k views

Terminate all dialogs and exit conversation in MS Bot Framework when the user types "exit", "quit" etc

I can't figure out how to do the a very simple thing in MS Bot Framework: allow the user to break out of any conversation, leave the current dialogs and return to the main menu by typing "quit", "exit"...
user avatar
20 votes
3 answers
11k views

How to avoid "Sorry, my bot code is having an issue" in Microsoft Bot Framework

I have a bot that runs on Azure + Bot Framework + LUIS (via LuisDialog). If the user happens to send two messages in a quick succession (before the bot has a chance to answer), they see this error ...
user avatar
17 votes
2 answers
2k views

Bot returning error "payment required"

I am running a bot deployed to an azure webapp. The bot runs fine in local debugging, and it runs fine in the web test client in the Azure portal. I can connect to the bot from the bot framework ...
  • 1,374
16 votes
3 answers
1k views

Bot Framework messes up dialog state

I'm currently making a chatbot with Microsoft's Bot Framework. In my flow I have a final dialog that lets the user know, that they are participating in the competition. There is also an error-handling ...
15 votes
7 answers
14k views

How to get started with Microsoft Bot Framework? [closed]

I got introduced to BOTBUILDER from one of the links shared in hacker-news. What are the developer resources to get started with Bot Framework? Do I need to be aware of C#? Do I need to have azure ...
15 votes
3 answers
12k views

Handling multiple dialogs in Microsoft bot framework

I am creating a bot using Microsoft bot framework , the bot will be receiving orders for a restaurant , I want to know how can I handle multiple dialogs , like for example the customer makes the first ...
14 votes
7 answers
5k views

Bot Framework Emulator gives error as "Couldn't Send"

I have created my first bot application, but it's giving an error while running in the Bot Framework Emulator. it shows status of message I sent like "Couldn't send". Please suggest me what could be ...
14 votes
2 answers
4k views

Initiate a message from bot to user on BotFramework

I have a bot built on BotFramework 3.5 and hosted on Azure as a WebApp. I didn't face any problems with implementation of scenarios where the bot needs to respond to user's input. However there is a ...
  • 2,006
13 votes
3 answers
11k views

Bot framework v4.0 how to execute the previous waterfall step in a dialog

I'm trying to create a dialog in which I define multiple waterfall steps. In the context of this dialog, I need sometimes to go back to the previous waterfall step according to the choice of the user. ...
13 votes
1 answer
2k views

How to disable attachment in botframework

We're using the Web Chat Channel in Microsoft's Bot Framework,and we don't want to use the attachment icon. How can we hide and disable attachments so end users don't accidentally click it or get ...
  • 35.3k
12 votes
2 answers
6k views

"Cannot post activity. Unauthorized" When testing from Bot Emulator

While testing the EchoBot template from Azure in Bot Emulator I keep getting "Cannot post activity. Unauthorized." How can I protect against this? I am new to .NET, so don't understand the how ...
  • 121
12 votes
1 answer
2k views

Change flow of messages in Microsoft Bot Framework

Hello I'm new to Microsoft Bot Framework and I have a question that I couldn't find an answer to. I have a FormFlow that ask the user for some question, after a specific question I want the bot to do ...
12 votes
2 answers
3k views

Bot Framework: How to exit Conversation?

so right now I'm using Microsoft.Bot.Builder.Dialogs.Conversation.SendAsync and Microsoft.Bot.Builder.Dialogs.Conversation.ResumeAsync to implement a way to pause and resume conversation but it seems ...
  • 4,444
12 votes
1 answer
929 views

Teams UpdateActivity events difference when you test in newly created teams

We have a Teams bot that posts messages in MS Teams. The first activity of a new conversation is always an adaptive card and once in a while, we update that with a new card. This worked OK until I ...
11 votes
7 answers
4k views

Waiting for bot to be ready after deployment

Situation 1 I wrote my own bot framework and deploy to Azure, the Test in Web Chat shown me "Waiting for bot to be ready after deployment". Situation 2 I downloaded the source code from Azure bot ...
11 votes
1 answer
8k views

How to integrate Luis into bot builder

I'm trying to use the FormBuilder in combination with my intents as I created them in Luis. I just can't find the documentation to do this. I would like to do the following things: A user would ...
  • 470
11 votes
3 answers
13k views

How can I get my bot to post a message to a Microsoft Teams channel?

I have a bot that is identical to the one demonstrated in the docs quickstart. It repeats back whatever the user says (for now). It is currently running locally and exposed with ngrok. I've ...
  • 2,845
11 votes
2 answers
10k views

How to make a rest api call in microsoft bot framework

I need a bot that takes users input, uses it as an id to some third party rest api call and posts back a response. I've looked through Microsoft documentation but didn't find any examples on how to ...
  • 113
10 votes
4 answers
3k views

How do you get to the original message text in a Microsoft Bot Framework LuisIntent method

I'm trying to access the complete original text from within a method marked as a LuisIntent within a LuisDialog. The documentation shows these methods as taking two arguments: IDialogContext context,...
  • 4,605
10 votes
4 answers
7k views

How do I deal with rich content with the Microsoft Bot Framework?

I'm not sure how to deal with rich content. Some examples that I want to return are a list of hyperlinks or a/some image thumbnails. How do I do this? I tried formatting my text as HTML and that ...
  • 12.8k
10 votes
1 answer
4k views

Injecting external dependencies in Microsoft Bot Framework Dialog using Autofac

I've been trying to pass a service to a LuisDialog from the MessagesController like so: public async Task<HttpResponseMessage> Post([FromBody]Activity activity) ... await Conversation.SendAsync(...
10 votes
6 answers
16k views

Bot Framework V4 - TypeError: Cannot perform 'get' on a proxy that has been revoked

I am trying to make a rest query against a database that stores knowledge articles for users and returns an array of results based on what the user has searched for. Whenever I try to search I get: ...
  • 189
10 votes
1 answer
826 views

how to get chat history from azure table storage

Since we are forced to drop the stateclient and move to a custom storage, in my case an azure table storage. Using my storageexplorer I can see that it already saved conversation data on my azure. How ...
9 votes
15 answers
33k views

node.js error message events.js:183 throw er; // Unhandled 'error' event

Playing around Microsoft's botframework, when I try to run the app.js file, which is the main file of the bot, the first time is fine, after I close the bot emulator, and all programs, and run the app....
  • 91
9 votes
5 answers
16k views

Microsoft Bot Integration with Whatsapp [closed]

I am trying to integrate Microsoft Bot Framework with WhatsApp. I already have existing bots (skype and webchat) that talk to the bot service and was trying to create a new channel for communication. ...
9 votes
1 answer
4k views

Microsoft Bot framework: Sending Message on connect

I'm new with Microsoft Bot framework. Right now I'm testing my code on Emulator. I want to send Hello message as soon as your connect. Following is my code. var restify = require('restify'); var ...
  • 1,239
9 votes
2 answers
3k views

Send an image rather than a link

I'm using the Microsoft Bot Framework with Cognitive Services to generate images from a source image that the user uploads via the bot. I'm using C#. The Cognitive Services API returns a byte[] or a ...
  • 2,283
9 votes
4 answers
1k views

What is "AppOffline" which prevents my bot application from getting published to the IIS web server?

Just created an application with the Bot Framework, from the template downloaded here: http://aka.ms/bf-bc-vstemplate. It works well in the testing Emulator. But when publishing to the IIS server, I ...
  • 20.3k
9 votes
3 answers
690 views

ChatBot did not work in Web Emulator but work well in Local Bot Framework emulator

I developed the ChatBot that integrates with SharePoint On Premise. When I debug the ChatBot in emulator, it work. But When I debug on Web Emulator in Azure and Website Hosted in Company Website by ...
9 votes
1 answer
2k views

Microsoft Bot Framework Custom Facebook Messages

I've started to work on my chatbot using Bot Builder SDK in C# and Microsoft Bot Framework. I've deployed my bot and can interact with it. Currently I'm focusing on facebook messenger. I already can ...
9 votes
1 answer
1k views

Clear the existing dialog

When I enter the "reset" command, I want the conversation restart again and clear all the previous dialog, May I ask about how to do it? I had stuck for 2 days. Thank in advanced. Here with my source ...
8 votes
2 answers
1k views

botframeworkv4 - List of available Channel IDs

While exploring the new preview of the botframeworkv4 in C#, I came across a case where I need to do a specific action for a certain channel. In botframeworkv3, I used to access all the channels ...
  • 2,513
8 votes
2 answers
6k views

Send message from Postman to Microsoft Bot

I am trying to send a message to a bot I created and published to azure services so that the bot can then start messaging some of its users. I am trying to make the requests on Postman first so that ...
8 votes
1 answer
2k views

How to get Activity Info from an IDialogContext

I'm using a LuisDialog and all I get the the callback returns is an IDialogContext and the LuisResult. Is there a way I can get info from the original Activity, like channel, from name, et al?
  • 9,391
8 votes
6 answers
12k views

Where can I get the LUIS subscription key?

I'm trying to create a simple chat bot on Microsoft Bot Framework and I want to add LUIS app ID and LUIS subscription key to my application. Where can I get the subscription key?
8 votes
2 answers
173 views

How to access VS code deployed on Azure

How can I access all the files that are deployed from Visual Studio into Azure? I am creating a bot using bot framework which I then publish. But, when I go to review the code online I can't see all ...
8 votes
2 answers
3k views

Microsoft Bot Framework - Clear Conversation State

I am making a bot using Microsoft's Bot Framework, and I've noticed that when I make changes and deploy to Microsoft Teams, it uses the same conversation state and I have to write "/deleteprofile" to ...
8 votes
2 answers
5k views

How do I authenticate my existing users through my bot?

I am creating a bot that will allow users to interact with an existing web service. I want users to be able to start a conversation with my bot and retrieve information that is personalized to them. ...
  • 3,216
8 votes
2 answers
879 views

Scroll to top of a bubble in botframework webchat

Some answers of our chatbot are very long. The webchat scrolls automatically to the bottom so users have to scroll up to get to the top of the bubble and start reading. I've implemented a custom ...
  • 1,129
8 votes
6 answers
4k views

Use Adaptive Cards Designer, then replace sample values with real ones in C#

The goal I want to create (and then edit) Adaptive Cards designs with the Adaptive Cards Designer and use them in my bot. The steps 1) I created my Adaptive card in the Designer, with sample values,...
  • 1,878
8 votes
2 answers
1k views

How to hook Luis into a Bot Framework FormDialog

I have a Dialog class which is a FormDialog (say, FormDialog< SandwichOrder>; one which builds an order for a sandwich, as per the bot framework documentation website). The SandwichOrder includes a ...
  • 1,327
8 votes
2 answers
3k views

Find Username of skype from Microsoft Bot Framework Channel

I have implemented bot application for Skype using Microsoft Bot Framework (version 3.0.0.59). I implemented how to retrieve the Skype Name & Id but I'm not being able to retrieve the username of ...
  • 157
8 votes
1 answer
2k views

How to Chain multiple Dialogs?

Im working on a bot with the C# Bot Builder. Now, I know that there are quite a few example of how to deal with chaining dialogs. Like the FacebookAuthDialog or the ChainedEchoDialog. What i want to ...
  • 131
8 votes
1 answer
910 views

Bot Framework: How to make an OpenUrl button on a herocard in Kik

I am trying to use the ActionTypes.OpenUrl type on a CardAction in a hero card on kik. all it does is echo back the message. It does not actually open a URL. I have the same code working on ...
8 votes
4 answers
4k views

How to get user's location while chatting with bots?

I am developing a Bot Framework application that integrates with Slack using Microsoft Bot technology. In the bot project, I was trying to get the user location when the user sends a message. What I ...
  • 605
8 votes
1 answer
386 views

Botbuilder SDK v4 creating 1:1 conversation from group

I'm attempting to send a 1:1 / private message to a specific user who tagged the bot in channel in Microsoft Teams. Because there isn't a botbuilder-teams that is compatible with botbuilder v4, I ...

1
2 3 4 5
184