web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Is is possible to crea...
Copilot Studio
Answered

Is is possible to create orchestration for PVA bots

(2) ShareShare
ReportReport
Posted on by

Hello,

 

We are trying to explore PVA capabilities before we accept this platform fully as bot development in our organization. We have many teams that are building bot and, we are trying to see if we can create Master - slave pattern or Virtual assistant pattern in PVA.

 

Example:

Master PVA bot get user input.

Master PVA, provide user authentication using existing PVA capabilities. and, flows out in 2 paths.

  • If user token is received -
  • If user token is not received.

Based on some information present in a token, master will call respective Child PVA bot. For example, if in JWT token user belongs to 'HR group', master will send user to HR PVA bot.

 

Can we achieve something like this in PVA platform? If not out of the box, are there any workarounds? or items on the roadmap?

I have the same question (0)
  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @Anonymous ,

     

    Thanks for posting in the forum! 🙂

     

    Yes, it is possible to do your situation, just follow these steps:

     

    - Create a bot

    - Create some topics, like HR Group, Finance Group, Directory Group

    - Create a principal topic called General

    - When user open your principal topic, you force to use Authentication, get the token and you can validate the token sending  as a parameter to Power Automate

    - When you Power Automate returns your text variable, you can create a condition if is "HR Group", use the "Go to another topic" action on the PVA

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

  • Community Power Platform Member Profile Picture
    on at

    I liked your solution but it assumes I have to work with only 1 PVA bot. You missed a point where I mentioned master PVA and slave PVA's. You are assuming HR Group, Finance Group, Directory Group as topics to a PVA bot vs I am saying the individually need to be PVA bots. Moreover, General Topic will be part of separate PVA master bot.

     

     

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Hi @Anonymous ,

     

    Sorry, I suggested another way to do it using one PVA bot.

    Unfortunately, you cannot redirect to another Bot or something like that. You just can redirect/call another topic, but not Bot.

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

  • CleberM Profile Picture
    on at

    Hi @Anonymous ,

     

    A workaround would be to call a Bot Framework bot via Skill, but that's probably not what you want.

     

    Can you tell us why you want to separate these in separate bots, instead of using @renatoromao 's suggestion? I would like to understand your scenario so we can potentially bring that as a feature to Power Virtual Agents.

     

    Thanks

  • Verified answer
    CU22081450-0 Profile Picture
    Most Valuable Professional on at

    Additionally, I created the idea here: https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Create-a-Master-bot-and-redirect-to-another-bots-Power-Virtual/idi-p/489998

     

    ---
    If you like this reply, please give kudos. And if this solves your problem, please accept this reply as the solution.

    Thanks!
    Renato Romão
    https://www.linkedin.com/in/renatoromao/

  • Community Power Platform Member Profile Picture
    on at

    @renatoromao just to make sure I got it right. What is the connector and action name on MS flow I should be using to validate the token? I didnt find specific one. 

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at
    Use the PVA authentication, open the documentation related to Power Virtual agents.
  • Community Power Platform Member Profile Picture
    on at

    Yes, I have already read that have auth setup using azure AD. Its working and giving right token back. I am focusing on following statement of yours

     

    "validate the token sending as a parameter to Power Automate"

     

    What do you expect Power Automate to do with token? and, what string to send back to bot as an output?

  • CU22081450-0 Profile Picture
    Most Valuable Professional on at

    @Anonymous ,

     

    You can get the token message, call the Power Automate using the token as a parameter/input, inside the Power Automate, validate using the Condition or use this token to get some properties related to the user using Office 365 connectors and respond to Power Virtual Agents as an output. 

     

     

  • Community Power Platform Member Profile Picture
    on at

    Hello, I tried your solution but it didnt work for me. I passed in token to power automate successfully but cant call O365 api on it as api needs UPN as an input not token.

     

    Screen Shot 2020-03-10 at 1.50.32 PM.png

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 261 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 198 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard