# Read a SharePoint List on a Schedule

Source: https://openflow.run/en/templates/read-sharepoint-list-on-schedule/
Content language: en
Template revision: 6a810ce0d6451572951d8ffad4656467a01774f0

Productivity

Read all items from a SharePoint list on a daily schedule.

[Use in Open Flow](https://console.openflow.run/flows?importUrl=https%3A%2F%2Fraw.githubusercontent.com%2Foomol-lab%2Fawesome-workflow-templates%2F6a810ce0d6451572951d8ffad4656467a01774f0%2Fworkflows%2Fread-sharepoint-list-on-schedule%2Ftemplates%2Fread-sharepoint-list-on-schedule.openflow.json)

*   [Open Flow JSON](https://github.com/oomol-lab/awesome-workflow-templates/blob/6a810ce0d6451572951d8ffad4656467a01774f0/workflows/read-sharepoint-list-on-schedule/templates/read-sharepoint-list-on-schedule.openflow.json)
*   [n8n JSON](https://github.com/oomol-lab/awesome-workflow-templates/blob/6a810ce0d6451572951d8ffad4656467a01774f0/workflows/read-sharepoint-list-on-schedule/templates/read-sharepoint-list-on-schedule.n8n.json)

![Read a SharePoint List on a Schedule workflow in Open Flow](https://openflow.run/template-previews/read-sharepoint-list-on-schedule/light.webp)

Read all items from a SharePoint list on a daily schedule.

## Setup

Register a Microsoft Entra application with Microsoft Graph application permission **Sites.Read.All** and administrator consent. In **Read the SharePoint list**, set the tenant ID, client ID, site ID and list ID. Store the application secret in Secret Variable `MICROSOFT_CLIENT_SECRET`.

## Behavior

At 00:00 UTC each day, fetch all pages of the list using Microsoft Graph and return the items with their expanded fields. The source’s schedule used the instance timezone; this version uses UTC. The outputs can be used by later workflow steps or inspected in execution history. The list contents may contain sensitive information. Results reflect the application’s permissions and can change during pagination. Large lists must fit workflow execution limits.

A token or list request failure stops the run. No records are modified.

In n8n

In n8n, set the same site and list IDs in **Configure list**. Configure an OAuth2 API credential for client credentials with your tenant’s token URL, client ID, client secret and scope `https://graph.microsoft.com/.default`, and set Authentication to **Body**; select it in **Read Graph list pages**. Activate one format.

Inspiration & credits

## Changes to the source

*   Replace the legacy SharePoint ACS token endpoint with Microsoft Entra client credentials and Microsoft Graph. Use site and list IDs and return Graph item objects with expanded fields.
*   Follow Graph pagination and keep the application secret and access token out of workflow outputs.

Adapted from [Scheduled SharePoint list reader](https://github.com/Zie619/n8n-workflows/blob/ae8cf6dc5b873cbb4f74587aa9180ed3a9f70682/workflows/Http/0626_HTTP_Schedule_Create_Scheduled.json) in [Zie619/n8n-workflows](https://github.com/Zie619/n8n-workflows). The source export does not identify a separate template author or license.

The collection’s [MIT notice](https://github.com/Zie619/n8n-workflows/blob/94007c1445d9258a7da116646b79473e7c7c3282/LICENSE) is pinned at a later revision. This is the collection notice at that revision; it does not establish a separate original template author’s license. Our changes are listed above; see [repository licensing](https://github.com/oomol-lab/awesome-workflow-templates/blob/6a810ce0d6451572951d8ffad4656467a01774f0/README.md#licensing).

> MIT License
> 
> Copyright (c) 2025 Zie619
> 
> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
> 
> The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
> 
> THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

## What you’ll need

*   Microsoft Entra application with Graph Sites.Read.All application permission and admin consent
*   SharePoint site ID and list ID

*   sharepoint
*   microsoft graph
*   schedule
*   lists

[View on GitHub](https://github.com/oomol-lab/awesome-workflow-templates/blob/6a810ce0d6451572951d8ffad4656467a01774f0/workflows/read-sharepoint-list-on-schedule/README.md)
