Import File
Perform Import File through SharePoint.
sharepoint_import_filewritesharepoint
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": {
"document_type": "Other",
"show_in_inbox": false
},
"handler": "sharepoint_import_file"
}Inputs
- Folder Url
folder_urlexpressionrequiredRequired literal value or workflow expression.
- Item Id
item_idexpressionOptional literal value or workflow expression.
- File Name
file_nameexpressionOptional literal value or workflow expression.
- Document Type
document_typetextOptional text value.
Default:
"Other" - Show In Inbox
show_in_inboxbooleanOptional true-or-false value.
Default:
false
Outputs
successSuccessstatusStatusdocument_idDocument Ids3_pathS3 Pathitem_idItem Idfile_nameFile Namesha256Sha256sizeSizewas_existingWas ExistingerrorErrorerror_messageError Message
Output schema completeness: best_effort_declared
Safety
- External effect
- write
- Confirmation recommended
- No
- Retry safe
- No
- Dry run supported
- No
Schemas
These schemas are first-pass authoring guidance. Runtime validation remains authoritative.
Input schema
{
"type": "object",
"required": [
"folder_url"
],
"properties": {
"item_id": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"file_name": {
"description": "Optional literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"folder_url": {
"description": "Required literal value or workflow expression.",
"x-workflow-field-type": "expression"
},
"document_type": {
"type": "string",
"default": "Other",
"description": "Optional text value.",
"x-workflow-field-type": "text"
},
"show_in_inbox": {
"type": "boolean",
"default": false,
"description": "Optional true-or-false value.",
"x-workflow-field-type": "boolean"
}
},
"additionalProperties": false
}Output schema
{
"type": "object",
"properties": {
"size": {},
"error": {},
"sha256": {},
"status": {},
"item_id": {},
"s3_path": {},
"success": {},
"file_name": {},
"document_id": {},
"was_existing": {},
"error_message": {}
},
"additionalProperties": true
}