web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Can i save the user di...
Copilot Studio
Answered

Can i save the user display name of a person who is using my BOT

(0) ShareShare
ReportReport
Posted on by 403

Hi, I have developed a bot using PVA.

Jupyter123_0-1676607337639.png

Authentication mode for this bot is : Teams
I got USERID, USER-DISPLAYNAME variables

Jupyter123_1-1676607444320.png

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?

 

Categories:
I have the same question (0)
  • Verified answer
    HenryJammes Profile Picture
    Microsoft Employee on at

    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

  • Jameslew_MSFT Profile Picture
    Microsoft Employee on at

    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

  • Jupyter123 Profile Picture
    403 on at

    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.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
sannavajjala87 Profile Picture

sannavajjala87 206 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 147

#3
Haque Profile Picture

Haque 119

Last 30 days Overall leaderboard