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