How to integrate Whatsapp with Power virtual agent without using Azure service? - node.js

When I tried creating a WhatsApp channel through Microsoft power virtual agent,
they have provided BotID and Tenant ID and a documentation
which is redirecting to the azure bot service.
Is there any way to use Power Virtual Agent or Power Automate w/o using Azure bot service?
If we have to use a bot service is the only way to use NodeJS as in the Doc and Github code in C#.
Thanks.

Unfortunately, Power virtual agents don't provide a way to natively integrate with WhatsApp and you need to follow the steps mentioned in the documentation.
You should be able to use the language of your choice for which BotFramework has an SDK: https://github.com/microsoft/botframework-sdk

Related

Is it possible to create a MS Teams App incl. messaging extension without an Azure Bot?

I am building a Teams App which uses a search based messaging extension. As far as I understand, I need a bot for this, because the bot is basically posting the adaptive card created from the data on my external webapp to the chat.
Is it possible to create or host a bot somewhere else than in Azure? I do not have an Azure subscription. If so, how would I go about using a different Bot for my Teams App?
Thanks for helping in advance!
Teams bots rely on the underlying Microsoft Bot Framework - the same engine for building any kinds of bots in the Microsoft ecosystem (e.g. slack or web or facebook bots). The only way to register those bots in MS Bot Framework is, yes, via the Azure portal. However, you don't need to HOST your bot in Azure - the physical web endpoint can live anywhere that's publicly httpS addressable (e.g. AWS), as long as the registration for the bot is in Azure.
yes, you can create the Bot framework locally and run it using Visual Studio.
To debug Bot locally in teams you need to use a tunneling service like ngrok.
To install ngrok run the following command.
ngrok http <port> -host-header=localhost:<port>
Here is document related Bot framework running locally and the installation steps for ngrok.

How to send SMS with team join url link from azure logic app design to user?

I have a scenario
Create power virtual agent chatbot using QNA
Connect human agent whenever customer need
Connect human-agent options to azure communication services
I have successfully created a chatbot,transfer context variables to omnichannels.
But my current case is to make human-agent experience with azure communication services.
So after some research i found a link https://youtu.be/kCi1J4ayX0w which includes demo and flow of azure communication services with team call. The link is what i need. I created one azure communication service and i got a USA communication number in it.
My doubts,
How to make a audio/video microsoft teams join url link in azure logic app design?
How can I proceed it with power virtual agents?
Make sure you use sample payload to generate schema and add
{
"CustomerName":"",
"joinUrl":"",
"PhoneNumber":""
}
For Url, you can start a meet and click Share Invite then Copy the link and now you just have to add the URL while sending the HTTP request.
Here is the Sample pic where I was testing using API Tester.
To proceed with power virtual agents you can refer to this site.

How to create a Webhook between Google chat and Azure devops

Is it possible to connect a Google Chat room using Azure devOps WebHooks?
Thanks
Web Hooks in Azure DevOps provide a way to send a JSON representation of an event to any public endpoint (HTTP or HTTPS).
But it's not able to directly contact Google chat room with Azure DevOps. Cause DevOps sends a JSON message in a format that Chat is not able to understand. Which means they do not talk to each other by default.
We need a way to transform the message and tie those two services together. There are a lot of options for that. We could use a 3rd-party tool Zapier.
It allows to easily integrate various services and APIs and I highly
recommend it, although it is a subject for another post.
You could refer this step by step tutorial-- Azure DevOps integration with Google Hangouts Chat

Is it possible to use the Direct Line API protocol that is through an azure bot service for an on-premise environment?

The question I have is can you use the Microsoft Bot Framework service via an on-premise solution through, ideally a docker container, ~~or at least an Azure Stack installation~~ (not available currently through azure stack)? We need a 100% on premise solution that will utilize LUIS and other Azure services but still be on-premise when utilizing the chat bot.
The problem is the bot almost requires a solution that is through the direct line api which authenticates through a token. This token is generated through an azure service, if it's not the secret, and the direct line api is through a registered bot application through an azure service.
Although there is LUIS container support, meaning a localized docker container that can pull down azure cognitive services and use them through that container, there doesn't seem to be any support for the bot framework service. Which just seems bizarre to not have one without the other.
https://learn.microsoft.com/en-us/azure/cognitive-services/cognitive-services-container-support
But, that's ok if utilizing an Azure stack that would perhaps solve a lot of on premise solutions. It could even be the hybrid variation where lLis and other aspects are through traditional cloud services but the bot service has to be on premise and able to utilize the direct Line api. If possible. Or what is another solution?
Would it have to be traditional restful api calls and what would be missing from a deployed nodejs or C# bot to the cloud. Perhaps I am missing something in the architecture but the need described is 100% off premise
You will want to look into offline DirectLine. This is an unoffical package, but it is open source.

How to use my own API instead of using mobile API in Azure

is there any way to publish my API in azure mobile service API instead of using its own. I want just to know it, because assume I have a backup server in amazon and as you know I don't have access to azure sdk in there and it means technically I cant use the API anywhere outside the azure.
Azure mobile services is actually based on the .Net web api in their C# flavor and on node.js on the Javascript side. You could surely write an API using those technology and have the same behavior. You will gain the fact of being more portable, however you will lose some of the preconfigured stuff from Mobile services.
If you are using .NET, please check this to see how to build a Web api! http://www.asp.net/web-api.
If you are using Javascript, here is where you should start : https://nodejs.org/
Both tech are quite easy to learn and super powerfull, have fun! When your API is built, you could just publish them as an azure Web APP (http://azure.microsoft.com/en-us/services/app-service/web/) or an Azure API (https://azure.microsoft.com/en-us/services/app-service/api/) instead of the mobile App
Hope it helps, if you have more questions, please ask!
You can create and publish your own custom APIs in azure mobile service. You could even access in via azure mobile service sdk in client by using "InvokeApiAsync<>()" method.
https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn614130.aspx
If you want to access the api via fidder/httpclient than AZM SDK, pass the mobile service key in HTTP header as Name:'x-zumo-application' value:'application key from portal'

Resources