I'm trying to do a C# MVC WebApplication for human-hybrid bots support customers, so I can't create a conversation between 3 different channels.
Example:
1-) An user start a chat with my bot in facebook
2-) When the bot receive the activity, he adds a new guy in conversation (directline, that's I have conversationId).
3-) The facebook user now, is chatting with other 2 users (bot and directline User).
Is the correct logic ?
I'm trying to create this group conversation but I'm getting error 500.
This is a common scenario that I've seen addressed by a number of users in the following manner:
Build your customer support interface (CSI) (i.e. the side used by your customer support reps) using Direct Line
Your bot pipes through the all the user messages to the CSI which stores all the conversations. Reps can see a list of all the users interacting with the bot and the history of each of those conversations.
When escalation to a human is needed, the bot flags one of the conversations needing attention
Your bot then brokers conversations between the accounts (i.e. Facebook End User <-> Your Bot <-> CSI). Essentially the customer support rep is creating a response, which is being posted by the bot back to the end user
This means there's no need to add an additional person to the conversation. (Facebook currently only allow 1-on-1 conversations with bots).
Related
I Am able to send messages to individual users and general channel of a team using Bot Framework. What I want to know if it's possible to send messages to below target audiences!
Private channel of a Specific Team
Any M365 Group and Azure AD Security Group
Any Distribution list
If possible , any link or documentation would be highly appreciated. Thanks in advance.
You can definitely message to a regular channel in a Team, aside from the "general" channel, but I've not tested a Private Channel. I don't see why not though, provided the bot has been added to that specific channel.
Aside from that, there's also a Meeting as well as a Group Chat.
But all of those are within Teams. An M365 group, or distribution group, you can message as well, but not within Teams as there's no Teams context. Remember though, that a Teams bot is built on the Microsoft Bot Framework, which can be used to built bots of other types outside of Teams, e.g. web chat, facebook, slack, etc. Included is the possibility to build an "email" bot - it uses the same concepts, e.g. "dialogs" and what not, but communicates via email. See more at https://learn.microsoft.com/en-us/azure/bot-service/bot-service-channel-connect-email?view=azure-bot-service-4.0
I'm using Bot Framework v4 and c# to build a teams bot that signs in user when added to channel.
My use case, is that each time a new user is added to the channel, I want to send him an OAuthPrompt in 1:1 in order to sign him in.
The samples provided for proactive message shows only how to send a simple message, and can't find the right resources to solve this problem.
I have a bot that collects information in a private chat from User A about User B and then sends it to User B. I am collecting the information via Dialog and then formatting a HeroCard to be sent. I was using the Bot Emulator to test the private chat code, but I'm unable to test creating a new conversation () in the emulator without getting a 500 InternalServerError. When I deploy the code and integrate the bot into an existing Teams channel I receive 400 Bad Request responses.
Is there a tool to use that can help me debug creating a new conversation locally?
You need the user’s (User-B) unique ID and tenant ID to start 1:1 proactive conversation. Typically, these are obtained from a team context, either by fetching the team roster or when a user interacts with your bot in a channel.
Please check the sample code.
I'm making a Bot that can reply e-comerce websites (such as book shop, flower shop, motorbike shop,etc..) using FormFlow to create the selection that I've stored in my database. The problem here is that how can the bot provides to my customers the correct selections according to the purpose of the Website (For instance: customers chat with the bot via Flower Shop website so the bot must give the selections that relate to "Flower" to customers and customers chat from others websites must receive the correctspoding selections). I really don't know how to pass the ServiceUrl to FormFlow class to identify the selections should the Bot reply?
I want to build a project which is similar to the post I attach below. However, assume that if the secrectary must communicate with many customers at the same time.
How can we create the number of chat controls adequate with the number of customers want to chat directly with the secrectary?
And can we just use the chat control that Bot Framework provide us without using DirectLine API?
My previous post: Client-client chatting via Bot Framework
you have two options:
1) you can create dynamic iframe per user and set up the user name and the id of the user and send this in the iframe :
"https://webchat.botframework.com/embed/smilesbot?s=secret_code&username=admin&userid=1234'>"
2) use the direct line on the basis of the web Chat : webChat