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

Community site session details

Session Id : TLDwJdqRotCQMObaakL1xG
Copilot Studio - General
Unanswered

Random selection team member from PVA chatbot and start the conversation

Like (0) ShareShare
ReportReport
Posted on 8 Oct 2022 20:21:42 by 46
0

I created PVA chatbot in Teams, which should help us in realization of daily scrum meeting. Except standard features like make questions, one feature of bot should be random selecting team member in chat, who starts the conversation (or answers on the questions). Is there any idea how to implement this feature in PVA chatbot? Is it possible that PVA chatbot discovers which members of teams are present in chat and randomly selects one of the team member ?

Categories:
  • Expiscornovus Profile Picture
    32,177 Most Valuable Professional on 09 Oct 2022 at 14:22:14
    Re: Random selection team member from PVA chatbot and start the conversation

    Hi @zdzunic,

     

    I would say in concept this should be possible.

     

    There is a getPresencesByUserId method in the Graph API which supports the retrieval of presence of multiple users at once:

    https://learn.microsoft.com/en-us/graph/api/cloudcommunications-getpresencesbyuserid?view=graph-rest-1.0&tabs=http

     

    You could filter the output for availability and use the number of items in rand function and select a random first item.

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Loading complete