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 Platform Community / Forums / Power Automate / Find List and Create Item
Power Automate
Unanswered

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:
I have the same question (0)
  • tom_riha Profile Picture
    10,185 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,185 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard