Hi, I have developed a bot using PVA.
Authentication mode for this bot is : Teams
I got USERID, USER-DISPLAYNAME variables
In greeting, I have used bot.UserDisplayName and it is displaying the user name in chat whoever is using that...
I want to save the person name in sharepoint list whoever using my bot
how to do that?
Thanks @HenryJammes @Jameslew_MSFT , your answer helpful.
Within a Power Automate Flow you can use a Create List Item node to add items to a sharepoint list; I would start there. You may find others have posted similar questions here in the community forums as well in the past.
Thanks! --jim
Hi @Jupyter123,
One way to achieve this would be to call a Power Automate cloud flow, for example as part of your Greeting topic.
The flow would then add a record in your SharePoint list with the user details (and perhaps check if it already exists to avoid creating duplicates).
You can learn how to create a cloud flow in PVA here: Call a flow as an action - Power Virtual Agents | Microsoft Learn
Just a word of warning: calling a cloud flow as part of the greeting topic would make the session to be counted as a billed session, even if the user doesn't engage anymore in the conversation.
Henry
Romain The Low-Code...
76
Pablo Roldan
61
stampcoin
10