I want to create a flow which is triggered by my copilot in conversation which can change a variable in a Power Apps canvas app. This would be great because the bot is embedded in the canvas app.
---------------------
Basically the bot asks a question: Do you want to fill in a form?
The user replies: Yes
The bot triggers a flow.
The flow connects to the canvas app.
The flow sets the canvas app variable 'IsFormVisible' = true.
--------------------
There doesn't seem to be an easy way to do this. Has anyone done something similar? I am thinking maybe have a parent and child flow, where the PVA flow triggers the Power Apps flow, but this doesn't seem to work. I was wondering if this could be done with https actions? Any help would be appreciated. Thanks
That seems to be the case. Would be interesting in seeing how the integration with power apps is improved going forward. I have just used an adaptive card in the PVA, although it isn't as exciting.
Thank you
I don't think this can be achieved using a client-side design. i.e. you would have to have your copilot save a value to a backend service (e.g. Dataverse) and have your canvas app read from the same backend.
There are pro-dev patterns that would allow client-side messaging, but they would be effort intense.