Save file(s) to OneDrive
save_to_onedriveSave Hermoso renders or any uploaded file to OneDrive, choosing folder and name, and batch-save up to 20 URLs in one call.
Instructions
Save a Hermoso render — or ANY file — into the user’s connected Microsoft OneDrive. Pass a Hermoso render URL as url (or urls[] for several); for a local/external file, call upload_file first and pass the url it returns. Optional folder (created if new) + name. Returns the OneDrive file(s) with a webViewLink. Needs OneDrive connected (Settings > Connectors > OneDrive).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | a single Hermoso render URL to save | |
| name | No | file name (single save) | |
| urls | No | several render URLs (up to 20) to save in one call | |
| folder | No | OneDrive folder name to save into (created if new) |