List Folder
Perform List Folder through SharePoint.
sharepoint_list_folderreadsharepoint
Use in a workflow
Copy the discovered node config and fill its params from the input contract. Validate the complete graph before publishing. Integration results use {{node_id.default.field}}. Check business success before dependent writes; completion alone does not prove success.
{
"_group": "SharePoint",
"params": {
"pdf_only": true,
"max_files": 200
},
"handler": "sharepoint_list_folder"
}Inputs
- Folder Url
folder_urlexpressionrequiredRequired literal value or workflow expression.
- Pdf Only
pdf_onlybooleanOptional true-or-false value.
Default:
true - Max Files
max_filesnumberOptional numeric value.
Default:
200
Outputs
successSuccessstatusStatusfolder_idFolder Iddrive_idDrive IdfilesFilesfile_namesFile NamescountCounttruncatedTruncatederrorErrorerror_messageError Message
Output schema completeness: best_effort_declared
Safety
- External effect
- read
- Confirmation recommended
- No
- Retry safe
- Yes
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"folder_url"
],
"properties": {
"pdf_only": {
"type": "boolean",
"default": true,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
},
"max_files": {
"type": "number",
"default": 200,
"description": "Optional numeric value.",
"x-workflow-field-type": "number"
},
"folder_url": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"count": {},
"error": {},
"files": {},
"status": {},
"success": {},
"drive_id": {},
"folder_id": {},
"truncated": {},
"file_names": {},
"error_message": {}
},
"additionalProperties": true
}