Skip to main content

Read File (SharePoint)

Overview

The Read File (SharePoint) node reads one or more files from a SharePoint document library through Microsoft Graph and outputs them as NodeFile values.

Purpose

Use this node when a workflow needs to retrieve files stored in SharePoint libraries, including paths selected by exact file name or wildcard pattern.

Configuration

FieldDescription
Microsoft Graph ServiceMicrosoft Graph service to connect to. For more, see Microsoft Graph Service.
Site NameSharePoint site to read from. The list is loaded through the selected service.
Library NameDocument library or drive within the selected site.
PathExact path or wildcard pattern within the selected library. Workflow properties can be used in the path.

Outputs

OutputData TypeCollectionDescription
NodeFileNodeFileTrueOne output item for each matching SharePoint file.

Processing Logic

At runtime, the node evaluates expressions in the configured path and normalizes it. For exact paths, it resolves the file by relative path. For wildcard patterns, it lists the parent folder, matches file names against the pattern, skips folders, downloads matching files into the workflow working directory, attaches file metadata, and emits each downloaded file. If the path is blank or no files match, the node emits an empty output.

Examples

/Documents/Reports/report.pdf
/Invoices/invoice_2024.xlsx
/Shared Documents/invoice_*.csv

Notes / Limitations

  • The Microsoft Graph service must have permission to access the selected site, library, and file path.
  • The path can be exact or contain a wildcard pattern such as *.
  • Folder matches are ignored; only files are emitted.
  • If no files match, the node returns an empty output rather than failing.