Hi,
I need to create an instant cloud flow on Power Automate that, once trigged, creates a new sharepoint list (called "NewList")and adds 3 columns: "Name", "ID" and "Role".
I followed a web tutorial and I created the list as you can see below, and it works.
BODY: { "AllowContentTypes": true, "BaseTemplate": 100, "ContentTypesEnabled": true, "Description": "My list description", "Title": "NewList" }
Then, I tried to add a new column ("Name") adding a new 'Send an HTTP request to Sharepoint' step (see below) and, once run the flow it returns with success but no column is actually added.
BODY: { '__metadata': { 'type': 'SP.Field' }, 'FieldTypeKind': 2, 'Title':'Name' }
However, I don't know how to create more than one column in a single step (I think I have to change the 'body' but I'm not very familiar with JSON language).
I don't know if it's the right process, if you have any suggestions please comment below.
Can you point me out how to solve these issues?
Thank you in advance!