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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Find List and Create Item
Power Automate
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.  

Categories:
  • tom_riha Profile Picture
    10,187 Most Valuable Professional on at

    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

    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,187 Most Valuable Professional on at

    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

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard