cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

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

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

1 ACCEPTED SOLUTION

Accepted Solutions
renatoromao
Super User
Super User

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/


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

Renato Romão,

Connect with me here 😉

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

View solution in original post

1 REPLY 1
renatoromao
Super User
Super User

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/


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

Renato Romão,

Connect with me here 😉

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

Helpful resources

Announcements
Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

PVA Community Blog Build Carousel (1) (1).png

What does the community say?

Discover what our community thinks about the announcements at Build 2022.

June 14th PVA AMA Carousel (up on May 25th, take down June 15th) (1).png

'Ask Microsoft Anything' about Power Virtual Agents!

Join the community to ask questions and provide helpful answers about Microsoft's conversational AI and Power Virtual Agents.

Top Solution Authors
Users online (1,550)