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.