Skip to main content

Notifications

Building Copilot Studio Chatbots in Microsoft T...
Answered

masive messages

Posted on by 109
 

hello everyone!!

 

it is possible to send messages to users who have the bot added ?

  • Verified answer
    Expiscornovus Profile Picture
    Expiscornovus 1,708 on at
    Re: masive messages

    Hi @IgnacioV,

     

    I got a first version of a working example.

     

    The general idea is to list all users. Check which apps they installed. Match the results of that installed apps with the chatbot id in a filter array (compare it with the id from the teamsAppDefinition) and append the userPrincipal name of the user in an array if there is a match.

     

    You could use the final array (after a join with a semi-colon character) in a Send an Email or probably other ways.

     

    firstversionofflow_messagepeoplewhoinstalledbot.png

  • Expiscornovus Profile Picture
    Expiscornovus 1,708 on at
    Re: masive messages

    Hi @IgnacioV,

     

    Do you mean installed in Microsoft Teams? If so, I would say an option could be to use the Graph API with HTTP action and use the List apps installed for user method in a Power Automate flow:

    https://docs.microsoft.com/en-us/graph/api/userteamwork-list-installedapps?view=graph-rest-1.0&tabs=http

     

    But it does require some additional logic. You have to loop through all the user to list who has installed a specific app.

Helpful resources

Quick Links

Exciting News for Copilot Studio Communi…

Get ready to experience a whole new level of engagement with the Copilot Studio…

Celebrating the May Super User of the…

LaurensM is an exceptional contributor to the Power Platform Community…

Check out the Copilot Studio Cookbook…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
renatoromao Profile Picture

renatoromao 6,459

#2
Pstork1 Profile Picture

Pstork1 1,995

#3
Expiscornovus Profile Picture

Expiscornovus 1,708

Leaderboard

Featured topics