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 :
Power Automate - Building Flows
Answered

Find List and Create Item

(0) ShareShare
ReportReport
Posted on by 8

I am working on a student check in flow that uses a form submitted by parents to trigger a "create item" action for the list associated with the "StudentID" (a question from the form). When the parent submits the form the flow should use the grade level to determine the SP site to create the list on and the student ID they enter to select the correct list from that site. The flow should then create an item in that list using the responses from the form. Any help would be greatly appreciatedScreenshot 2021-03-29 130513.jpg.  

I have the same question (0)
  • tom_riha Profile Picture
    10,179 Most Valuable Professional on at
    Re: Find List and Create Item

    Hello @legendsIT ,

    if the url and list name can change, you should create the item with an HTTP request. You can't use the existing SharePoint actions as they require fixed url and list name.

    Site Address: the full URL to the site
    
    Method: POST
    
    Uri: _api/web/lists/GetByTitle('[ListName]')/Items
    
    Headers:
    Accept : application/json;odata=verbose
    Content-Type : application/json;odata=verbose
    
    Body:
    {
     "__metadata": {
     "type": "SP.Data.[ListName]ListItem"
     },
     "Column1": "Value1",
     "Column2": "Value2",
     "Column3": "Value3"
    }

    image.png

  • legendsIT Profile Picture
    8 on at
    Re: Find List and Create Item

    Greetings Tom, thank you for taking the time to help me with this question, your solution fits what I need perfectly. I built my flow modeling yours, but my flow is failing for an error I can't make sense of because the column does exist in the list: "The property 'ExposureToSymptoms?' does not exist on type 'SP.Data.100508533ListItem'. Make sure to only use property names that are defined by the type."  Any advice from here?

  • Verified answer
    tom_riha Profile Picture
    10,179 Most Valuable Professional on at
    Re: Find List and Create Item

    Hello @legendsIT ,

    you must use the column's internal name, and the internal name doesn't support characters like '?'. You can see the column internal name in the URL if you go to List settings -> Edit the column

    image.png

    For column created as 'ExposureToSymptoms?' it would be:

    ExposureToSymptoms_x003f_

     

  • legendsIT Profile Picture
    8 on at
    Re: Find List and Create Item

    That did it, problem solved, your help has been greatly appreciated sir.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 797 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 425 Moderator

#3
developerAJ Profile Picture

developerAJ 319

Last 30 days Overall leaderboard