Skip to main content
Community site session details

Community site session details

Session Id :
Copilot Studio - Bot Administration
Unanswered

How to call different bots on different web pages

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

In Power Pages I have multiple pages like Home Page, Customer Page etc

Is it possible to have different PVA bots embedded in each page?

 

I know it was possible earlier in PowerApps Portals. 

Anyone knows how to add page specific bots?

  • adilei Profile Picture
    on at
    Re: How to call different bots on different web pages

    But the best option in this context has to be determined by whether you need Omnichannel capabilities or not (e.g. escalate to a live agent). If you don't, don't use Omnichannel.

  • AkshayJJ Profile Picture
    6 on at
    Re: How to call different bots on different web pages

    I'm trying both the options, wanted to check the best possible.

  • adilei Profile Picture
    on at
    Re: How to call different bots on different web pages

    Not sure I'm following, are you wanting to set up Omnichannel or a standalone copilot/bot?

  • AkshayJJ Profile Picture
    6 on at
    Re: How to call different bots on different web pages

    Hi,

     

    How can we embed the iframe code in the floating widget?

    Is it possible to make the bot aware of the user who is logged in to the portal?

     

    Like when we launch the bot, it should greet the user based on the username

    example Hi username. I have created a global variable context for storing the username.

    is it also possible to embed the iframe code in the omnichannel chat widget too?

  • adilei Profile Picture
    on at
    Re: How to call different bots on different web pages

    It is possible to use the iframe "embed code" but you would still need to create the floating widget yourself. 

     

    Can you see any client side errors in dev tools?

  • AkshayJJ Profile Picture
    6 on at
    Re: How to call different bots on different web pages

    Hi adilei,
    Thanks for the prompt response.

     

    I did try the solution that you suggested but, i'm unable connect to my PVA bot and getting the below error.

    AkshayJJ_0-1712390486941.png

    Instead of using the mobile app API code
    is it possible to directly use the custom website frame code?

  • adilei Profile Picture
    on at
    Re: How to call different bots on different web pages

    It is possible with some minimal JavaScript. Just click on "edit code" in the Power Pages designer and add a copilot widget.

     

    Here is a sample floating widget to get you started:

     

    https://gist.github.com/adilei/964ec8ade6051648144d8d5ee456e58d

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 1

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75

Featured topics