FlowmageDocs

List SharePoint list items

BetaReads data

Lists the rows of a SharePoint list, with the columns you choose.

Settings

SettingWhat it is
ConnectionRequiredThe Microsoft Graph connection the step signs in with.
Site idRequiredThe id Get SharePoint site answered — host name, site GUID and web GUID.
ListRequiredThe list's id, or its title.
ColumnsInternal column names, comma-separated — a space is _x0020_. Leave empty for every column.
FilterFilters best on an indexed column, and on one indexed column at a time.
Allow filters on columns that are not indexedWithout an index SharePoint scans the whole list, and on a large list it may refuse the read at random — index the column for a read that always works.
Items per call1 to 999.
Fetch every pageFollows Graph's own next-page link.
Stop afterPages — at most 50.
CursorPaste a previous run's Next cursor to read the page after it.
Technical details
KeyValue
connectiontexta connection id from `requires.connections` (provider `microsoft-graph`)
siteIdtext
listIdtext
fieldstext
filtertext
allowNonIndexedtrue/false, by default false
topnumber, by default 100
returnAlltrue/false, by default false
maxPagesnumber, by default 10
cursortext

Output

FieldType
itemsarray
countItems in this answernumber
hasMoreMore items are waiting behind this pageboolean
nextCursorCursor for the next pagestring
Sample output, and the expression for each field
  • count0
  • hasMorefalse
  • items[]
  • nextCursor""

Errors

When a step of this node stops a run, the run page shows a code. Look it up:

Example step

The step as a flow file holds it. Replace each value in <…>.

{
  "config": {
    "allowNonIndexed": false,
    "connection": "<connection id>",
    "cursor": "",
    "fields": "",
    "filter": "",
    "listId": "<list>",
    "maxPages": 10,
    "returnAll": false,
    "siteId": "<site id>",
    "top": 100
  },
  "label": "List SharePoint list items",
  "type": "graph.listListItems",
  "version": 1
}