--- title: "Fetch Documents" slug: "fetch-documents-1" updated: 2025-12-18T20:30:32Z published: 2025-12-18T20:30:32Z canonical: "documentation.decisions.com/fetch-documents-1" --- > ## Documentation Index > Fetch the complete documentation index at: https://documentation.decisions.com/llms.txt > Use this file to discover all available pages before exploring further. # Fetch Documents | Step Details | | --- | | **Introduced in Version** | 5.0.0 | | **Last Modified in Version** | 5.0.0 | | **Location** | Integrations> SharePoint Document Library/List | After the SharePoint Module has been installed and a SharePoint List/Document Library has been configured, the List/Document Library can be interacted with using Decisions steps in a Flow. The **Fetch Documents** **Step** enables Users to retrieve a list of Documents from an integrated SharePoint List/Document Library. ### Prerequisites - This Step will not appear in the Flow Designer until the [SharePoint Module](https://documentation.decisions.com/docs/sharepoint-module)is installed, and the following requirements have been fulfilled: - [Establishing an OAuth Provider](https://documentation.decisions.com/v9/docs/en/establishing-an-oauth-provider?highlight=Creating%20an%20Oauth%20Token) - [Creating OAuth Tokens](https://documentation.decisions.com/docs/creating-oauth-tokens) - [Create a SharePoint Document Library/List](https://documentation.decisions.com/docs/sharepoint-module#adding-a-sharepoint-list) - Users must also have access to a SharePoint site. - For v9 Users: [Add a Project Dependency](https://documentation.decisions.com/docs/project-dependencies). --- ## Sharepoint Limitations SharePoint has inherent limitations in its capacity to handle files. They are: Only 5,000 files can be displayed in a view. Only 300,000 files can be stored in a library before performance issues arise. Unique document permissions are limited to 50,000 items per list. --- ## Properties #### Item Fetch Definition | Property | Description | Data Type | | --- | --- | --- | | Item Fetch Definition | Allows Users to toggle on/off the following options: - **Match on ID**: Checking this value will reveal a field to specify an ID. - **Paginate Results** - **Search Subfolders** | -- | | Fetch Criteria | Allows Users to specify Fetch criteria for the desired documents. | -- | | Max Results | Allows Users to filter the maximum results. | -- | | Pagination Position | Allows Users to customize the **Pagination Position**. | -- | #### Outputs | Property | Description | Data Type | | --- | --- | --- | | Success | Displays a list of documents from a connected SharePoint List/Document Library. | Listof(Document Library/List name) | | Error Message | Displays an Error Message | String | ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-12-18_15h23_07.png) --- ## Example Inputs/Outputs ![](https://cdn.document360.io/6ef8bcc1-6489-4486-9ad1-83acff7e5df0/Images/Documentation/2025-12-18_15h25_15.png) ```none OUTPUTS: [ 0: { path: "Success" data: { Items: [ 0: { Id: 5 File: { Id: null FileName: "Test Document.docx" Contents: } Title: null _ExtendedDescription: null ``` Related Information Forum Posts: [Integrations](https://community.decisions.com/categories/Integrations)