Skip to main content

Notifications

Power Automate - General Discussion
Answered

Searching in sharepoint list with power automate

(0) ShareShare
ReportReport
Posted on by 42

In my power automate flow, I am trying to search for the row using email. My problems is, this always retuns as data not found, even though I do have a row for the entered email.

don75_0-1617055638042.png

In the condition, I have the following.
length(outputs('Get_items')?['body/value'])

 

  • Verified answer
    ScottShearer Profile Picture
    ScottShearer 25,150 on at
    Re: Searching in sharepoint list with power automate

    @don75 

    See my example below:

    image.png

     

     

  • don75 Profile Picture
    don75 42 on at
    Re: Searching in sharepoint list with power automate

    I think I found the issue. Even though I see the data in sharepoint as they are entered in the bookings app, they got extra information. I created a new flow just to retrieve data from the sharepoint list and email them. What I noticed was that some data has the <div class> before the actual data.

    Ex: <div class="ExternalClassA463BD7F04DA413C924005E9BA36B94D">Graham@test.com</div>

    Any way that I could remove this from the variable?

  • don75 Profile Picture
    don75 42 on at
    Re: Searching in sharepoint list with power automate

    Thanks for the response. I didn't manually type the field names to search in sharepoint. Power automate automatically populated the fields for me to select. And no issues with case sensitivity as all the data is in lower case. I tried to add other fields instead of email, but got the same result.

    In sharepoint list, the Email column has been set as "Single line of text"

  • ScottShearer Profile Picture
    ScottShearer 25,150 on at
    Re: Searching in sharepoint list with power automate

    @don75 

    First, remember that OData filters are case sensitive.   

    Also, can you tell me if the Email column is a text column or a person or group column (they are handled differently)?

     

     

     

     

  • mahoneypat Profile Picture
    mahoneypat 1,720 on at
    Re: Searching in sharepoint list with power automate

    Please see if this article helps.

    https://sharepains.com/2020/08/07/people-field-get-items-power-automate/

    Regards,

    Pat

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

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,839

Leaderboard