Notifications
Announcements
Hi, I have developed a bot using PVA.
Authentication mode for this bot is : TeamsI 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 bothow to do that?
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
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
Thanks @HenryJammes @Jameslew_MSFT , your answer helpful.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
In our never-ending quest to improve we are simplifying the forum hierarchy…
We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Michael E. Gernaey 265 Super User 2025 Season 2
Romain The Low-Code... 240 Super User 2025 Season 2
S-Venkadesh 101 Moderator