SharePoint Step

Saves both user-uploaded files and workflow-generated documents (reports, exports, attachments) to organizational sites and document libraries in Sharepoint.

Top-level properties

nametyperequiredconstraints
connectionstringyesName of the connection instance
actionstringyesenum: UPLOAD_FILEOperation to perform
drivestringyesTarget SharePoint drive/site
folderstringnoFolder path within the drive
filesarray[File]yesminItems: 1Files to upload

File & Source variants — same as Amazon S3.

Example (JSON)

{
  "connection": "sharepoint-prod",
  "action": "UPLOAD_FILE",
  "drive": "Marketing",
  "folder": "Documents/Assets",
  "files": [
    {
      "source": {
        "id": "file-654",
        "downloadUrl": "https://files.example.com/download/file-654"
      },
      "name": "brand-guide.pdf"
    },
    {
      "source": {
        "name": "logo.png",
        "metadata": { "contentType": "image/png", "size": 4096 }
      },
      "name": "logo.png"
    }
  ]
}