Save file(s) to Google Drive
save_to_driveSave a Hermoso render — or ANY file — into the user’s connected Google Drive. 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 Drive file(s) with a webViewLink. Needs Google Drive connected (Settings ▸ Connectors ▸ Google Drive — one connection covers Drive, Sheets and Docs). NOTE: Hermoso uses the drive.file scope, so it reaches ONLY the files it created plus any the user explicitly handed over with the Google file picker in the app — never their whole Drive.
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 | Drive folder name to save into (created if new) |