Hi all,
In our Team we would like to use a PVA to ask every day where will you be tomorrow.
Now it's not clear how we could force the bot to start asking questions in teams.
The bot works if you Trigger a Phrase, but it would be nice if the bot could ask a question itself.
All hints are welcome!
Best
Gert
Hi everyone, the ability to programatically trigger a PVA bot to send message proactively to user in Teams is not supported yet. The good news is this is a known limitation and we have it on our radar to address it! Would appreciate if everyone can share more about your scenario here for us to learn more!
A short term work around is to use Power Automate to post an adaptive card with a button deep linking to opening the bot so the user can click on it to initiate a conversation with the bot. Using @d_gertBlanchart example, you can post with flow bot to user with a button 'chat with the bot'. The button is a deep link to the 'Copy link' under PVA's Configure -> Channel -> Microsoft Teams panel. This way user can click on the button that will bring them to your bot to provide the trigger phrase itself.
Hi @renebulsara ,
Do you mean Power Apps when you said "teams custom app with a bot in it"?
If yes, when you develop a chatbot using Teams, you cannot get the URL to deploy inside the Power Apps if you don't have a premium license for PVA.
Well, let's work together on this. When we talk about scheduling almost instantly we think of Power Automate, but the only action that can be triggered is to post on Teams as the Automate Bot default chat, not a given bot (built on Teams). I was thinking in building a teams custom app with a bot in it, that refreshes every such date and then load the configured greeting posted above. What do you guys think?
Hi @d_gertBlanchart ,
You can see better here about the make a start conversation inside the teams: https://docs.microsoft.com/en-us/power-virtual-agents/teams/configure-bot-greeting-teams
Today, he'll be started when you open the conversation, but not interact itself alone without any interaction with the user.