SOLVED

Want to integrate power automated agent bot with an existing bot deployed to teams

%3CLINGO-SUB%20id%3D%22lingo-sub-1610300%22%20slang%3D%22en-US%22%3EWant%20to%20integrate%20power%20automated%20agent%20bot%20with%20an%20existing%20bot%20deployed%20to%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1610300%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20create%20a%20flow%20and%20is%20hooked%20to%20a%20power%20automated%20virtual%20agent%20bot.%3CBR%20%2F%3EBut%20i%20cant%20find%20a%20way%20to%20integrate%20this%20bot%20to%20an%20already%20existing%20bot%20that%20is%20deployed%20to%20my%20teams%20channel.%3CBR%20%2F%3EI%20have%20followed%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-virtual-agents%2Fadvanced-use-dispatcher%23register-and-trigger-your-new-dispatch-endpoint-in-code%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpower-virtual-agents%2Fadvanced-use-dispatcher%23register-and-trigger-your-new-dispatch-endpoint-in-code%3C%2FA%3E%26nbsp%3Bdocumentation%20and%20i%20have%20integrated%20the%20power%20virtual%20agent%20bot%20and%20is%20working%20in%20the%20emulator.%3CBR%20%2F%3EBut%20im%20getting%20error%20response%20when%20the%20power%20virtual%20agent%20bot%20is%20triggering%20the%20flow.%3CBR%20%2F%3E%3CBR%20%2F%3EI%20have%20tested%20in%20Power%20Virtual%20Agents%20test%20bot%3CBR%20%2F%3E%3CBR%20%2F%3E%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22Annotation%202020-08-27%20123620.png%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F214928i7130ABAF33AAF7BB%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20title%3D%22Annotation%202020-08-27%20123620.png%22%20alt%3D%22Annotation%202020-08-27%20123620.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3E%E2%80%83%3CBR%20%2F%3EBut%20im%20getting%20error%20in%20emulator%26nbsp%3B%3C%2FP%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CDIV%20class%3D%22mceNonEditable%20lia-copypaste-placeholder%22%3E%26nbsp%3B%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-1610300%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EBots%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EDeveloper%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EHow-to%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMicrosoft%20Teams%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1624007%22%20slang%3D%22en-US%22%3ERe%3A%20Want%20to%20integrate%20power%20automated%20agent%20bot%20with%20an%20existing%20bot%20deployed%20to%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1624007%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F770235%22%20target%3D%22_blank%22%3E%40ElmaSarah%3C%2FA%3E%26nbsp%3B%20%26nbsp%3BHello%26nbsp%3B%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F169605%22%20target%3D%22_blank%22%3E%40Christopher%20Hoard%3C%2FA%3E%2C%20can%20you%20assist%20here%3F%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1624009%22%20slang%3D%22en-US%22%3ERe%3A%20Want%20to%20integrate%20power%20automated%20agent%20bot%20with%20an%20existing%20bot%20deployed%20to%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1624009%22%20slang%3D%22en-US%22%3EHi%2C%3CBR%20%2F%3E%3CBR%20%2F%3ECould%20you%20possibly%20help%20me%20visualise%20the%20scenario%20a%20bit%20more%20please.%3CBR%20%2F%3E%3CBR%20%2F%3ESo%20some%20input%20is%20passed%20into%20a%20Flow%2C%20which%20in%20turn%20is%20passed%20into%20a%20Virtual%20Agent%20Bot.%20However%20based%20on%20a%20certain%20response%20to%20this%20Bot%20via%20Flow%20you%20want%20it%20to%20query%20an%20existing%20bot%20you%20have%20made%20use%20of%20in%20Teams%20and%20respond%20to%20the%20new%20Bot%20and%20then%20ultimately%20to%20the%20end%20user%3F%3CBR%20%2F%3E%3CBR%20%2F%3EThanks%3CBR%20%2F%3E%3CBR%20%2F%3EHenry%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1639667%22%20slang%3D%22en-US%22%3ERe%3A%20Want%20to%20integrate%20power%20automated%20agent%20bot%20with%20an%20existing%20bot%20deployed%20to%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1639667%22%20slang%3D%22en-US%22%3EHi%3CBR%20%2F%3EMy%20use%20case%20is%20to%20send%20out%20notifications%20my%20peers%20through%20teams%20(to%20maybe%20fill%20their%20timesheet%20every%20Friday).%3CBR%20%2F%3EFor%20this%20I%20have%20created%20a%20flow%20bot%20with%20the%20trigger%20to%20notify%20users%20every%20Friday%20at%205pm.%3CBR%20%2F%3EI%20have%20integrated%20this%20flow%20to%20a%20bot%20created%20using%20power%20virtual%20agent.%3CBR%20%2F%3ENow%20I%20want%20to%20deploy%20this%20power%20agent%20virtual%20bot%20which%20will%20trigger%20the%20flow%20so%20that%20my%20peers%20will%20get%20a%20message%20from%20the%20custom%20bot%20I%20created%20and%20not%20from%20the%20flow%20bot.%3CBR%20%2F%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1643786%22%20slang%3D%22en-US%22%3ERe%3A%20Want%20to%20integrate%20power%20automated%20agent%20bot%20with%20an%20existing%20bot%20deployed%20to%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1643786%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F668458%22%20target%3D%22_blank%22%3E%40ThereseSolimeno%3C%2FA%3E%26nbsp%3B%3CBR%20%2F%3EIm%20sorry%20but%20i%20still%20havent%20got%20any%20response%20from%20anyone.%3CBR%20%2F%3ECan%20someone%20guide%20me%20here%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1643788%22%20slang%3D%22en-US%22%3ERe%3A%20Want%20to%20integrate%20power%20automated%20agent%20bot%20with%20an%20existing%20bot%20deployed%20to%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1643788%22%20slang%3D%22en-US%22%3EIm%20sorry%20but%20i%20still%20havent%20got%20any%20response%20from%20anyone.%3CBR%20%2F%3ECan%20someone%20guide%20me%20here%3F%3CBR%20%2F%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F668458%22%20target%3D%22_blank%22%3E%40ThereseSolimeno%3C%2FA%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1643903%22%20slang%3D%22en-US%22%3ERe%3A%20Want%20to%20integrate%20power%20automated%20agent%20bot%20with%20an%20existing%20bot%20deployed%20to%20teams%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1643903%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F770235%22%20target%3D%22_blank%22%3E%40ElmaSarah%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20would%20use%20Power%20Virtual%20Agents%20to%20write%20a%20row%20into%20a%20SharePoint%20list%20with%20some%20information.%20Then%20have%20another%20Flow%20that%20is%20triggered%20when%20that%20list%20receives%20a%20new%20item.%20It%20is%20asynchronous%20of%20course%20but%20that%20was%20you%20can%20use%20it%20to%20launch%20other%20Flows.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EI%20just%20used%20this%20trick%20this%20week%20when%20I%20was%20prepping%20a%20Teams%20provisioning%20demo.%20I%20collect%20the%20new%20team%20information%20via%20PVA%20and%20then%20write%20that%20info%20to%20a%20SharePoint%20list.%20That%20has%20another%20Flow%20triggered%20by%20new%20item%20and%20it%20will%20take%20care%20of%20the%20team%20provisioning.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EOr%20you%20could%20build%20the%20reminder%20process%20in%20the%20PVA%20bot%20Flow.%26nbsp%3B%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EHopefully%20this%20helps!%3C%2FP%3E%0A%3CP%3E%26nbsp%3B%3C%2FP%3E%0A%3CP%3EBest%2C%3C%2FP%3E%0A%3CP%3EVesku%3C%2FP%3E%3C%2FLINGO-BODY%3E
New Contributor

I have create a flow and is hooked to a power automated virtual agent bot.
But i cant find a way to integrate this bot to an already existing bot that is deployed to my teams channel.
I have followed https://docs.microsoft.com/en-us/power-virtual-agents/advanced-use-dispatcher#register-and-trigger-y... documentation and i have integrated the power virtual agent bot and is working in the emulator.
But im getting error response when the power virtual agent bot is triggering the flow.

I have tested in Power Virtual Agents test bot

Annotation 2020-08-27 123620.png


But im getting error in emulator 

 
 
 

 

5 Replies
Hi,

Could you possibly help me visualise the scenario a bit more please.

So some input is passed into a Flow, which in turn is passed into a Virtual Agent Bot. However based on a certain response to this Bot via Flow you want it to query an existing bot you have made use of in Teams and respond to the new Bot and then ultimately to the end user?

Thanks

Henry
Hi
My use case is to send out notifications my peers through teams (to maybe fill their timesheet every Friday).
For this I have created a flow bot with the trigger to notify users every Friday at 5pm.
I have integrated this flow to a bot created using power virtual agent.
Now I want to deploy this power agent virtual bot which will trigger the flow so that my peers will get a message from the custom bot I created and not from the flow bot.
Im sorry but i still havent got any response from anyone.
Can someone guide me here?
@ThereseSolimeno
Best Response confirmed by ThereseSolimeno (Microsoft)
Solution

@ElmaSarah 

I would use Power Virtual Agents to write a row into a SharePoint list with some information. Then have another Flow that is triggered when that list receives a new item. It is asynchronous of course but that was you can use it to launch other Flows. 

 

I just used this trick this week when I was prepping a Teams provisioning demo. I collect the new team information via PVA and then write that info to a SharePoint list. That has another Flow triggered by new item and it will take care of the team provisioning. 

 

Or you could build the reminder process in the PVA bot Flow. 

 

Hopefully this helps!

 

Best,

Vesku