Microsoft SharePoint
App · File Storage · 6 actions
Manage SharePoint lists and files: create lists, add and update list items, and upload files.
Actions
| Action | What it does |
|---|---|
| Add list item | Add a new item to a SharePoint list. |
| Create list | Create a new SharePoint list in a site. |
| Delete list item | Delete an item from a SharePoint list. |
| Get list items | Get items from a SharePoint list. |
| Update list item | Update an existing item in a SharePoint list. |
| Upload file | Upload a file to a SharePoint document library. |
Add list item
Add a new item to a SharePoint list.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- List ID
list_idtextRequired - The SharePoint list ID.
- Fields
fieldsobjectRequired - The column values for the new item. A basic list only has a 'Title' column; custom columns must be added to the list before they can be used.
Outputs
fieldsobject- Item fields.
idtext- Item ID.
Example output
{
"fields": {},
"id": "item123"
}Create list
Create a new SharePoint list in a site.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- List name
list_nametextRequired - Name for the list.
- Description
descriptiontext - Optional list description.
- Template
templatetext - Optional type of list to create, such as genericList or documentLibrary.
Outputs
displayNametext- List name.
idtext- List ID.
Example output
{
"displayName": "New List",
"id": "list123"
}Delete list item
Delete an item from a SharePoint list.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- List ID
list_idtextRequired - The SharePoint list ID.
- Item ID
item_idtextRequired - The item ID to delete.
Outputs
deletedtrue/false- Whether deletion succeeded.
Example output
{
"deleted": true
}Get list items
Get items from a SharePoint list.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- List ID
list_idtextRequired - The SharePoint list ID.
- Maximum items
topnumber - Optional limit for the number of items to return.
- Filter query
filter_querytext - Optional filter to narrow the results, written as an OData $filter (for example, fields/Title eq 'Invoice').
Outputs
valuelist- List of items.
Example output
{
"value": [
{
"id": "item1"
}
]
}Update list item
Update an existing item in a SharePoint list.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- List ID
list_idtextRequired - The SharePoint list ID.
- Item ID
item_idtextRequired - The item ID to update.
- Fields
fieldsobjectRequired - The column values to update. A basic list only has a 'Title' column; custom columns must already exist on the list.
Outputs
fieldsobject- Updated fields.
idtext- Item ID.
Example output
{
"fields": {},
"id": "item123"
}Upload file
Upload a file to a SharePoint document library.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- File
file_pathtextRequired - The file to upload. Use a file from an earlier step in your workflow.
- Folder path
folder_pathtext - Optional folder in the site's document library to upload into (for example, Reports/2026).
- Conflict behavior
conflict_behaviortext - What to do if a file with the same name already exists: rename, replace, or fail.
Outputs
idtext- Item ID.
nametext- File name.
webUrltext- Web URL.
Example output
{
"id": "file123",
"name": "file.txt",
"webUrl": "https://..."
}