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

ActionWhat it does
Add list itemAdd a new item to a SharePoint list.
Add or update list itemUpdate 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 folderCreate a folder in the site's document library.
Create listCreate a new SharePoint list in a site.
Create sharing linkMake 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 fileDelete a file or folder from the site's document library.
Delete list itemDelete an item from a SharePoint list.
Download fileDownload 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 itemsFind the items in a SharePoint list whose column has a value, for example the request whose Email is jo@example.com.
Get file detailsLook up a file or folder in the site's document library: its size, type, link and when it last changed.
Get listLook up one SharePoint list or document library: its name, description, kind, link, and when it was made and last changed.
Get list itemLook up one item in a SharePoint list, with all its column values.
Get list itemsGet items from a SharePoint list.
List columnsList a SharePoint list's columns, with the internal name that 'Add list item', 'Update list item' and 'Find list items' use for each.
List filesList the files and folders in a folder of the site's document library.
List listsList a site's lists and document libraries, with each one's ID for other SharePoint steps.
Move or rename fileMove a file or folder to another folder of the site's document library, give it a new name, or both.
Search filesFind the files in the SharePoint sites you name that contain some words, most relevant first, as Microsoft Search finds them.
Update list itemUpdate an existing item in a SharePoint list.
Upload fileUpload a file to a SharePoint document library.

Add list item

Add a new item to a SharePoint list.

Inputs

Site IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List IDlist_idtextRequired
The SharePoint list ID.
FieldsfieldsobjectRequired
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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List IDlist_idtextRequired
The SharePoint list ID, or the list's name.
Match on columncolumntextRequired
The internal name of the column that identifies the item, as 'List columns' gives it, for example Email.
ValuevaluetextRequired
The value that identifies the item, exactly, for example jo@example.com. A new item gets it in that column.
FieldsfieldsobjectRequired
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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
Folder namefolder_nametextRequired
The new folder's name, for example Acme Corp.
Parent folderparent_foldertext
The folder to make it in, for example Clients/2026. Leave blank for the top of the library.
If the name is takenconflict_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List namelist_nametextRequired
Name for the list.
Descriptiondescriptiontext
Optional list description.
Templatetemplatetext
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"
}

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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
Path in the libraryitem_pathtextRequired
Where the file or folder is in the site's document library, with its name, for example Reports/2026/Agenda.pdf.
People canlink_typetext
Whether people with the link can only view it or also edit it.One of: view, edit. Default: view.
Who can open itlink_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
Path in the libraryitem_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List IDlist_idtextRequired
The SharePoint list ID.
Item IDitem_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
Path in the libraryitem_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List IDlist_idtextRequired
The SharePoint list ID, or the list's name.
ColumncolumntextRequired
The column's internal name, as 'List columns' gives it, for example Title or Email.
ValuevaluetextRequired
The value the column must have, exactly, for example jo@example.com.
Most itemstopnumber
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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
Path in the libraryitem_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List IDlist_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List IDlist_idtextRequired
The SharePoint list ID, or the list's name.
Item IDitem_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List IDlist_idtextRequired
The SharePoint list ID.
Maximum itemstopnumber
Optional limit for the number of items to return.
Filter queryfilter_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List IDlist_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
Folder pathfolder_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 IDsite_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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
Path in the libraryitem_pathtextRequired
Where the file or folder is in the site's document library, with its name, for example Reports/2026/Agenda.pdf.
Destination folderdestination_foldertext
The folder to move it into, for example Archive/2025. Leave blank to keep it where it is.
New namenew_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 findquerytextRequired
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 searchsitestextRequired
The address of each SharePoint site to search, separated by commas, such as springfield.sharepoint.com/sites/Police. Up to 20.
Most fileslimitnumber
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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
List IDlist_idtextRequired
The SharePoint list ID.
Item IDitem_idtextRequired
The item ID to update.
FieldsfieldsobjectRequired
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 IDsite_idtextRequired
The web address of your SharePoint site (for example, contoso.sharepoint.com).
Filefile_pathtextRequired
The file to upload. Use a file from an earlier step in your workflow.
Folder pathfolder_pathtext
Optional folder in the site's document library to upload into (for example, Reports/2026).
Conflict behaviorconflict_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://..."
}

On this page