Skip to documentation
SharePoint integration

Import File

Perform Import File through SharePoint.

View as Markdown
sharepoint_import_file
writesharepoint

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"
}

Action contracts and connections · Run recovery

Inputs

  • folder_url
    expressionrequired
    Folder Url

    Required literal value or workflow expression.

  • item_id
    expression
    Item Id

    Optional literal value or workflow expression.

  • file_name
    expression
    File Name

    Optional literal value or workflow expression.

  • document_type
    text
    Document Type

    Optional text value.

    Default: "Other"

  • show_in_inbox
    boolean
    Show In Inbox

    Optional true-or-false value.

    Default: false

Outputs

  • successSuccess
  • statusStatus
  • document_idDocument Id
  • s3_pathS3 Path
  • item_idItem Id
  • file_nameFile Name
  • sha256Sha256
  • sizeSize
  • was_existingWas Existing
  • errorError
  • error_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
}
View all SharePoint actions