site | string or SelectItem | No | - | SharePoint site the document library belongs to, or ‘me’ for the user’s own OneDrive. |
drive | string or SelectItem | No | - | Document library (drive) to upload into. Not needed when folder_path is a full SharePoint link. |
folder_path | string | No | - | Destination folder: a path inside the library, e.g. ‘Creative Ads/Q4’, or a full SharePoint folder link. Leave empty to upload to the library root. |
upload_type | string | Yes | - | Type of upload: single or multiple |
file_url | string | No | - | File URL for single upload. Accepts direct URLs, Google Drive share links with sharing set to ‘Anyone with the link’, or files uploaded through Markifact (use the URL from get_file_url, not a {{file-…}} reference, which passes the file’s contents). |
file_name | string | No | - | Custom filename for single upload |
file_urls | array (also accepts a comma-separated string) | No | - | List of file URLs for multiple upload. Accepts direct URLs, Google Drive share links with sharing set to ‘Anyone with the link’, or files uploaded through Markifact (use the URL from get_file_url, not a {{file-…}} reference, which passes the file’s contents). |