Hi everyone,
I'm trying to create a Teams Power Virtual Agent that uses a Power Automate Flow under the hood which in turn should use a custom connector I created. So far I did not succeed...
I created the custom connector in Microsoft Flow and tested it with multiple flows, the custom connector itself is working. Then I created a bot in teams and tried to call a flow that I created in Microsoft Flow but its not listed in the "Call an action" menu. I can create new flows using the "Create a new flow" menu item but those do not have access to my custom connector (it is not listed). The documentation on the Teams-specific Flow integration here links to the web-specific site here so I tried putting my connector in a solution but that did not help. Flows created via "Create a new flow" item in Teams cannot access the custom connector and flows created using Microsoft Flow (in my solution) are not visible inside the "Call an action" menu in Teams. I read that Flows you want to call from Power Virtual Agents need specific triggers and returns and created my Flows accordingly, that should not be the issue.
Flows I created in Teams are also not listed in the "Add existing" menu in the Microsoft Flow solutions page, not under "Outside solutions" and neither in "From solutions" like described in the web-specific help.
I was unable to find any more specific info on the topic, I'm not sure if its unsupported or if I didn't find the right knob to turn.
TL;DR: How can I create a Teams Power Virtual Agent that calls a custom connector in Microsoft flow?
I'd be happy about pointers in the right direction!
Regards,
Johannes
EDIT: I figured it out. You'll need to switch to the Environment your bot was created in (right upper corner of Microsoft Flow interface). However, calling custom connectors is sadly a pro feature which is not feasibly to use for us at this time 😕 Too bad.
Thank you very much for your prompt response.!
Hi @sajarac,
this actually barely qualifies as a work-around and might not be feasible in other use cases but we use the flow from the virtual agent to insert the relevant input data into a Sharepoint list. This triggers another "automated cloud flow that" uses the "When an item is created" trigger which then performs the required action asynchronously. Of course, this comes with some challenges in regards to feedback to the user etc. It works for our specific use case but it is not pretty...
Hope this helps.
Hey @JohannesB , I am currently facing the same issues as you. Would you mind to share the work-around implemented?
Thanks in advance
We implemented a work-around using a SharePoint list. Unfortunately, it doesn't make financial sense for us to switch to pro at this time.
Hello @JohannesB
Unfortunately since you’re using a custom connector which is a “premium connector” To use this with PVA, you need the full PVA license.
Docs can be found here:
https://docs.microsoft.com/en-us/power-virtual-agents/requirements-licensing-subscriptions