Hi all,
I am sure this would have been asked before, but the board search or Google didn't reveal anything.
Is it possible to trigger a chatbot conversation from an event? For example, if a new item is created in a SharePoint list, then the chatbot starts a conversation with the creator of the SharePoint item? I.e. Flow initiates the Chatbot conversation in Teams with the user?
(Rather than having to ask the chatbot a question to trigger the conversation).
Related, but just a welcome message in a canvas: Make your Power Virtual Agents bot start the conversation using a custom canvas | Microsoft Power Virtual Agents or Automatically start a chatbot conversation - Power Virtual Agents | Microsoft Docs
Regards,
Ben
The point is that the Power Automate triggers start a flow that runs in the cloud without a user interface. So how does it start something like a bot for a user in a specific user interface? It would have to be able to launch Teams and send the user to Teams to see the bot. The article you specified does talk about how to automatically start a bot when a user access a specific web site page or some user interface. But that's not a trigger. To use this example how to does it get the user to go to a specific place every Friday to get the user to interact?
Hi @BenGWeeks,
I needed an action like that, when a specific event happened the BOT would start, unfortunately I couldn't find the triggers in power automate to do exactly what I wanted, so I created a flow sending an adaptive card to the users, passing some patterns and informing that in case of doubts access the bot to solve them...
I believe that the main difficulty is to pass to the BOT the userID of the user that should be contacted by TEAMS, so I used the flow to meet my demand until I find something more efficient.
Did I answer your question?😉
Please consider accepting it as the solution to help other members find you faster.
Like my answer? Like it!
Thanks!
Diego Peres,
Connect with me: Linkedin
Doesn’t need to be within the list context (just used that as an example trigger). Another scenario is the bot initiates a conversation on every Friday.
The problem is that the trigger event doesn't really provide a context for starting the bot. The article on automatically starting a chatbot is essentially what you want, but it does it from the context of a web site. When a SharePoint item is created the user is in the SharePoint list. There's no where in that list for the bot to surface. The flow would need to navigate the user from the list to Teams and surface the bot. The problem isn't so much starting the bot as it is navigating the user to Teams.
WarrenBelz
146,745
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
66,091
Most Valuable Professional