Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Answered

Is it possible to built a multiturn-bot using PVA and Power Automate?

(1) ShareShare
ReportReport
Posted on by

I connected a Flow to my PVA bot using an action. This steps auto creates a flow using a template , that has one trigger 'Power Virtual Agents' and an action 'Return value(s) to Power Virtual Agents' that sends data back to PVA bot. As shown in bellow screenshot

 

 

I extended this flow as per my requirement of PVA bot which looks like as follows. Finally outcome is I am sending output to PVA bot that it expects.

 

 

This is how my topic in PVA looks, where I am taking an input from user, the sending that to Flow, and just displaying final output from Flow to user as a 'Message'.

 

In this full process, it was only 1 turn skill as in my PVA bot will only response once after taking an action on user input.

 

Is it possible to build something like multi-turn skill where Bot will response based on confirming inputs from user.?

From example:

 

User: Search for Matt in my org.

PVA: Run a Flow and, send data back which has potential matches by name 'Matt'. And Display 5 people choices my first name Matt

User: Select 1 of the Matt by clicking a button.

PVA: Runs another flow to get user details Matt.

Screen Shot 2020-03-04 at 11.45.13 AM.png

Screen Shot 2020-03-04 at 11.49.14 AM.png

Categories:
  • Verified answer
    renatoromao Profile Picture
    renatoromao 6,819 on at
    Re: Is it possible to built a multiturn-bot using PVA and Power Automate?

    Hi @Anonymous ,

     

    You can follow these steps:

    User: "Hi, I want to search Matt'

    Bot: Read the PVA message, send it to Power Automate, get the items (now, you can use only text, number and boolean to respond in the Power Automate, or organize in the markdown style) and respond to PVA. PVA read the Power Automate message and show to the user.
    Message: Names | Matt Daniel, Test 1, Test 2

    User: Write the 'Matt Daniel' (for example), because is not possible to use a button with the Power Automate responses

    Bot: Call another workflow to send Matt Daniel and get the details using the Matt Daniel message. And respond to PVA again.

     

    ---
    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/

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,526

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard

Featured topics