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

Notifications

Announcements

Community site session details

Community site session details

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

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
    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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 265 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 240 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard