cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BilalAhmed
New Member

Custom Third Party Bot in Dynamics 365 and Custom Portal

Hello,

 

We need to implement Chat bot on our website, which is Custom Web portal (Not Dynamics) as Customer Front End, with our Dynamics 365 CE Environment as Agent front End. Chat bot Control will also be third Party (Lets Say Amazon).

 

So we have a Custom Chat bot by Third Party

We have a Customer Portal (internal but not Dynamics)

and Dynamics 365 CE online.

 

Is Power Virtual Agents Can help us on this requirement?

Something Like we will configure our bot in PVA using configs provided by third party, Publish bot in Dynamics 365 environment and extend to our custom Portal, is it possible ?

 

Thanks in advance  

4 REPLIES 4
renatoromao
Super User
Super User

Hi @BilalAhmed ,

 

If it's for me this bot, I would do everything below:

 

1- Create a Power Virtual Agents for the Web

 

2- Publish into your Web Portal using iframe or something like that (Add a chatbot to mobile and web apps - Power Virtual Agents | Microsoft Docs)

 

3- Automate your bot to connect with a Dynamics 365 database using Power Automate (Automate chatbot actions with flows - Power Virtual Agents | Microsoft Docs | Create a cloud flow with Dynamics 365 (online) - Power Automate | Microsoft Docs)

 

4- Deploy inside the dynamics 365 using PCF  (Iframe PCF | PCF Gallery | Add a chatbot to mobile and web apps - Power Virtual Agents | Microsoft Docs)


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português
BilalAhmed
New Member

Thanks @renatoromao 

 

As i mentioned bot is also custom given by a third Party so is it better to create my own bot using configuration given by third Party in Microsoft Bot framework and Publish in Azure Bot Service then use that in Dynamics 365 and Custom Portal ?

Hi @BilalAhmed

 

-> So we have a Custom Chatbot by Third Party (you mentioned Amazon so I presume it's built with Amazon Lex perhaps) and you would like to surface the third-party bot on your customer portal and you mentioned dynamics environment so I presume that you would like the bot to talk to dynamics to get the customer data and surfaced it back to the bot hosted in the customer portal.

 

if the above understanding is correct, then PVA is of no use here UNLESS you have an option to shun the third party bot component and create your bot in PVA.

 

If you take this route, then I can tell you that it will be the simplest approach and you will get the bot running on your customer portal talking to dynamics to get the data in few days. I advise you to start a trial on PVA and get it going and you will be surprised how quick is that. PVA bot is very easy to publish to any customer portal and it talks to dynamics CE via Power Automate so development is quick and easy.

 

If there's no option to take this route, e.g. you have to go by the third party, then I believe the option to publish to the customer portal will be not difficult, however, if you would like to integrate the third-party bot with dynamics then you have following options

 

1- Create PowerAutomate Flows with Http triggers and call it like normal end-point via the third party bot
2- Expose the dynamics api via Azure Api management and use it like any other api
3- Build your own microservice to talk to dynamics CE.

renatoromao
Super User
Super User

Hi @BilalAhmed ,

 

It's a little difficult to provide the same bot to different configuration and settings to your clients, but it's possible can pass dynamically information to your chatbot only using PVA with Variables and Custom Portal.

Use chatbot variables to carry content across topics - Power Virtual Agents | Microsoft Docs

 

botURL?Client=Amazon&UserToken=XYZ

 


Did I answer your question? Mark my post as a solution!
Thanks!

Renato Romão,

Connect with me here 😉

Power Virtual Agents course (+2.650 students) : English | Português

Helpful resources

Announcements
Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (2,008)