In this post, I will show you how to create a DateTime type filed in a SharePoint Online list using Power Automate flow action.

To implement this demo we will use the “Send an HTTP request to SharePoint” action

Site Address:

https://{site}.sharepoint.com/sites/{SiteName}

Method:

POST

Uri:

_api/web/Lists/getByTitle('{ListName}')/fields

Headers :

{ "content-type": "application/json;odata=verbose", "Accept": "application/json;odata=verbose" }

Body :

{ 
 '__metadata': { 'type': 'SP.FieldDateTime'},
'FieldTypeKind': 4, 
'Description': '{Field Description}',
'Title':  '{Field Name}',
'DisplayFormat': 0
}

The screenshot below depicts an example

Useful Resources

SP.FieldType enumeration

Share This