Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Send_an_HTTP_request_to_SharePoint - Get multiple groups and send multiple conditions email

(0) ShareShare
ReportReport
Posted on by 7
Hi! How can I get more than one user group and send an email according to each group. Tanks!

HTTP_GET.JPG

  • Expiscornovus Profile Picture
    Expiscornovus 31,081 on at
    Re: Send_an_HTTP_request_to_SharePoint - Get multiple groups and send multiple conditions email

    Hi @emersouz,

     

    It looks like the result of the HTTP request action is empty. Are you retrieving a group without users? If that is the case your select will fail.

  • emersouz Profile Picture
    emersouz 7 on at
    Re: Send_an_HTTP_request_to_SharePoint - Get multiple groups and send multiple conditions email

    @Expiscornovus 

    This error appeared: The value of the property 'from' in the entries of the action 'select' is of type 'Null'. The value must be an array.
    Erro_FluxoII.JPG

  • emersouz Profile Picture
    emersouz 7 on at
    Re: Send_an_HTTP_request_to_SharePoint - Get multiple groups and send multiple conditions email

    @Expiscornovus 
    This error appeared: The value of the property 'from' in the entries of the action 'select' is of type 'Null'. The value must be an array.
    Erro_Fluxo.JPG

  • emersouz Profile Picture
    emersouz 7 on at
    Re: Send_an_HTTP_request_to_SharePoint - Get multiple groups and send multiple conditions email

    @Expiscornovus , I will implement and run tests. Thank you very much!

  • Expiscornovus Profile Picture
    Expiscornovus 31,081 on at
    Re: Send_an_HTTP_request_to_SharePoint - Get multiple groups and send multiple conditions email

    Hi @emersouz,

     

    One approach could be to create an array with the different group ids and loop through that.

     

    Below is a example of that approach.

     

    loopthrougharray.png

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard