Microsoft SharePoint
App · File Storage · 20 actions
Manage SharePoint lists and files: create lists, add and update list items, upload files and search sites for files.
Actions
| Action | What it does |
|---|---|
| Add list item | Add a new item to a SharePoint list. |
| Add or update list item | Update the item in a SharePoint list whose column has a value, or add an item when none does, so a list keeps one item per request or person. |
| Create folder | Create a folder in the site's document library. |
| Create list | Create a new SharePoint list in a site. |
| Create sharing link | Make a link to a file or folder in the site's document library that people can open, for example to send a client their documents. |
| Delete file | Delete a file or folder from the site's document library. |
| Delete list item | Delete an item from a SharePoint list. |
| Download file | Download a file from the site's document library and keep it with the run, so a later step can attach it to an email or read it. |
| Find list items | Find the items in a SharePoint list whose column has a value, for example the request whose Email is jo@example.com. |
| Get file details | Look up a file or folder in the site's document library: its size, type, link and when it last changed. |
| Get list | Look up one SharePoint list or document library: its name, description, kind, link, and when it was made and last changed. |
| Get list item | Look up one item in a SharePoint list, with all its column values. |
| Get list items | Get items from a SharePoint list. |
| List columns | List a SharePoint list's columns, with the internal name that 'Add list item', 'Update list item' and 'Find list items' use for each. |
| List files | List the files and folders in a folder of the site's document library. |
| List lists | List a site's lists and document libraries, with each one's ID for other SharePoint steps. |
| Move or rename file | Move a file or folder to another folder of the site's document library, give it a new name, or both. |
| Search files | Find the files in the SharePoint sites you name that contain some words, most relevant first, as Microsoft Search finds them. |
| 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"
}Add or update list item
Update the item in a SharePoint list whose column has a value, or add an item when none does, so a list keeps one item per request or person. If more than one item has the value, the step stops and changes nothing.
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, or the list's name.
- Match on column
columntextRequired - The internal name of the column that identifies the item, as 'List columns' gives it, for example Email.
- Value
valuetextRequired - The value that identifies the item, exactly, for example jo@example.com. A new item gets it in that column.
- Fields
fieldsobjectRequired - The column values to set, by internal name. Custom columns must already exist on the list.
Outputs
addedtrue/false- True when no item matched and a new one was added.
fieldsobject- The item's column values after the change.
idtext- The item's ID.
Example output
{
"added": false,
"fields": {
"Email": "jo@example.com",
"Title": "Website quote"
},
"id": "7"
}Create folder
Create a folder in the site's document library.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- Folder name
folder_nametextRequired - The new folder's name, for example Acme Corp.
- Parent folder
parent_foldertext - The folder to make it in, for example Clients/2026. Leave blank for the top of the library.
- If the name is taken
conflict_behaviortext - What to do when a folder with that name is already there.One of:
fail(Stop with an error),rename(Add a number to the name),replace(Replace it). Default:fail.
Outputs
drive_idtext- The document library it's in, for Microsoft OneDrive steps.
file_typetext- The file's type, such as application/pdf; empty for a folder.
idtext- Item ID, for Microsoft OneDrive steps.
is_foldertrue/false- Whether it's a folder.
modified_attext- When it last changed.
nametext- Name.
sizenumber- Size in bytes.
webUrltext- Where to open it in SharePoint.
Example output
{
"drive_id": "b!drive456",
"file_type": "",
"id": "folder123",
"is_folder": true,
"modified_at": "2026-07-02T10:30:00Z",
"name": "Acme Corp",
"size": 0,
"webUrl": "https://contoso.sharepoint.com/sites/Sales/Shared%20Documents/Agenda.pdf"
}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"
}Create sharing link
Make a link to a file or folder in the site's document library that people can open, for example to send a client their documents. Your organization's sharing settings decide whether links for anyone are allowed.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- Path in the library
item_pathtextRequired - Where the file or folder is in the site's document library, with its name, for example Reports/2026/Agenda.pdf.
- People can
link_typetext - Whether people with the link can only view it or also edit it.One of:
view,edit. Default:view. - Who can open it
link_scopetext - Only people in your organization, or anyone who has the link.One of:
organization(People in your organization),anonymous(Anyone with the link). Default:organization.
Outputs
idtext- The sharing link's ID.
link_scopetext- organization or anonymous (anyone with the link).
link_typetext- view or edit.
urltext- The link to send.
Example output
{
"id": "a1b2c3d4",
"link_scope": "organization",
"link_type": "view",
"url": "https://contoso.sharepoint.com/:b:/s/Sales/EabcDEF"
}Delete file
Delete a file or folder from the site's document library. It goes to the site's recycle bin, where it can be restored.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- Path in the library
item_pathtextRequired - Where the file or folder is in the site's document library, with its name, for example Reports/2026/Agenda.pdf.
Outputs
deletedtrue/false- True when it was deleted; false when it wasn't there.
item_pathtext- The path that was deleted.
Example output
{
"deleted": true,
"item_path": "Reports/2026/Agenda.pdf"
}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
}Download file
Download a file from the site's document library and keep it with the run, so a later step can attach it to an email or read it.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- Path in the library
item_pathtextRequired - Where the file or folder is in the site's document library, with its name, for example Reports/2026/Agenda.pdf.
Outputs
document_reftext- The downloaded file, for later steps that take a file.
file_nametext- The file's name.
Example output
{
"document_ref": "doc_0123456789abcdef0123456789abcdef",
"file_name": "Agenda.pdf"
}Find list items
Find the items in a SharePoint list whose column has a value, for example the request whose Email is jo@example.com. On a list of more than 5,000 items, the column has to be indexed in SharePoint.
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, or the list's name.
- Column
columntextRequired - The column's internal name, as 'List columns' gives it, for example Title or Email.
- Value
valuetextRequired - The value the column must have, exactly, for example jo@example.com.
- Most items
topnumber - How many items to hand back, from 1 to 999. 100 if left blank.
Outputs
countnumber- How many items were found.
valuelist- The items found.
Example output
{
"count": 1,
"value": [
{
"fields": {
"Email": "jo@example.com",
"Title": "Website quote"
},
"id": "7",
"webUrl": "https://..."
}
]
}Get file details
Look up a file or folder in the site's document library: its size, type, link and when it last changed.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- Path in the library
item_pathtextRequired - Where the file or folder is in the site's document library, with its name, for example Reports/2026/Agenda.pdf.
Outputs
drive_idtext- The document library it's in, for Microsoft OneDrive steps.
file_typetext- The file's type, such as application/pdf; empty for a folder.
idtext- Item ID, for Microsoft OneDrive steps.
is_foldertrue/false- Whether it's a folder.
modified_attext- When it last changed.
nametext- Name.
sizenumber- Size in bytes.
webUrltext- Where to open it in SharePoint.
Example output
{
"drive_id": "b!drive456",
"file_type": "application/pdf",
"id": "file123",
"is_folder": false,
"modified_at": "2026-07-02T10:30:00Z",
"name": "Agenda.pdf",
"size": 20480,
"webUrl": "https://contoso.sharepoint.com/sites/Sales/Shared%20Documents/Agenda.pdf"
}Get list
Look up one SharePoint list or document library: its name, description, kind, link, and when it was made and last changed.
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, or the list's name.
Outputs
created_attext- When the list was made.
descriptiontext- List description.
displayNametext- List name.
hiddentrue/false- Whether SharePoint hides it from the site's pages.
idtext- List ID, for other SharePoint steps.
modified_attext- When the list was last changed.
templatetext- What kind of list it is, such as genericList or documentLibrary.
webUrltext- The list's page in SharePoint.
Example output
{
"created_at": "2026-01-05T15:00:00Z",
"description": "Requests from the public",
"displayName": "Service Requests",
"hidden": false,
"id": "list123",
"modified_at": "2026-11-20T09:30:00Z",
"template": "genericList",
"webUrl": "https://contoso.sharepoint.com/sites/clerk/Lists/Service%20Requests"
}Get list item
Look up one item in a SharePoint list, with all its column values.
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, or the list's name.
- Item ID
item_idtextRequired - The item ID, from an earlier step such as 'Add list item' or 'Get list items'.
Outputs
created_attext- When the item was added.
fieldsobject- The item's column values, by column name.
idtext- Item ID.
modified_attext- When the item last changed.
webUrltext- Web URL.
Example output
{
"created_at": "2026-07-01T09:00:00Z",
"fields": {
"Status": "Open",
"Title": "Pothole on Main St"
},
"id": "7",
"modified_at": "2026-07-02T10:30:00Z",
"webUrl": "https://..."
}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"
}
]
}List columns
List a SharePoint list's columns, with the internal name that 'Add list item', 'Update list item' and 'Find list items' use for each.
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, or the list's name.
Outputs
countnumber- How many columns.
valuelist- The list's columns, hidden ones left out.
Example output
{
"count": 2,
"value": [
{
"choices": [],
"displayName": "Title",
"name": "Title",
"read_only": false,
"required": true,
"type": "text"
},
{
"choices": [
"Open",
"Done"
],
"displayName": "Status",
"name": "Status",
"read_only": false,
"required": false,
"type": "choice"
}
]
}List files
List the files and folders in a folder of the site's document library.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- Folder path
folder_pathtext - Optional folder in the site's document library (for example, Reports/2026). Leave blank for the top of the library.
Outputs
countnumber- How many files and folders, up to 200.
valuelist- The files and folders.
Example output
{
"count": 1,
"value": [
{
"drive_id": "b!drive456",
"file_type": "application/pdf",
"id": "file123",
"is_folder": false,
"modified_at": "2026-07-02T10:30:00Z",
"name": "Agenda.pdf",
"size": 20480,
"webUrl": "https://..."
}
]
}List lists
List a site's lists and document libraries, with each one's ID for other SharePoint steps.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
Outputs
countnumber- How many lists.
valuelist- The site's lists.
Example output
{
"count": 1,
"value": [
{
"description": "",
"displayName": "Service Requests",
"hidden": false,
"id": "list123",
"template": "genericList",
"webUrl": "https://..."
}
]
}Move or rename file
Move a file or folder to another folder of the site's document library, give it a new name, or both.
Inputs
- Site ID
site_idtextRequired - The web address of your SharePoint site (for example, contoso.sharepoint.com).
- Path in the library
item_pathtextRequired - Where the file or folder is in the site's document library, with its name, for example Reports/2026/Agenda.pdf.
- Destination folder
destination_foldertext - The folder to move it into, for example Archive/2025. Leave blank to keep it where it is.
- New name
new_nametext - A new name for it, for example Invoice 1042 (paid).pdf. Leave blank to keep its name.
Outputs
drive_idtext- The document library it's in, for Microsoft OneDrive steps.
file_typetext- The file's type, such as application/pdf; empty for a folder.
idtext- Item ID, for Microsoft OneDrive steps.
is_foldertrue/false- Whether it's a folder.
modified_attext- When it last changed.
nametext- Name.
sizenumber- Size in bytes.
webUrltext- Where to open it in SharePoint.
Example output
{
"drive_id": "b!drive456",
"file_type": "application/pdf",
"id": "file123",
"is_folder": false,
"modified_at": "2026-07-02T10:30:00Z",
"name": "Agenda.pdf",
"size": 20480,
"webUrl": "https://contoso.sharepoint.com/sites/Sales/Shared%20Documents/Agenda.pdf"
}Search files
Find the files in the SharePoint sites you name that contain some words, most relevant first, as Microsoft Search finds them. Only those sites are searched, never anyone's OneDrive.
Inputs
- Words to find
querytextRequired - What the files should contain, such as 4th Street incident March 2026. Every word has to be in a file for it to be found.
- Sites to search
sitestextRequired - The address of each SharePoint site to search, separated by commas, such as springfield.sharepoint.com/sites/Police. Up to 20.
- Most files
limitnumber - How many files to hand back, from 1 to 50. 50 if left blank.
Outputs
countnumber- How many files are handed back.
fileslist- The files found, most relevant first.
totalnumber- How many Microsoft Search found in all.
Example output
{
"count": 1,
"files": [
{
"drive_id": "b!drive",
"id": "01ABC",
"modified": "2026-03-14T16:02:11Z",
"modified_by": "Sam Ortiz",
"name": "Incident 26-0412.pdf",
"site": "https://springfield.sharepoint.com/sites/Police",
"size": 482113,
"summary": "Incident at 4th Street on March 12...",
"web_url": "https://springfield.sharepoint.com/sites/Police/Shared%20Documents/Incident%2026-0412.pdf"
}
],
"total": 1
}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://..."
}