Save file(s) to Google Drive
save_to_driveSave Hermoso renders or any file to your Google Drive. Specify a folder and get a webViewLink for each file.
Instructions
Save 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). NOTE: Hermoso uses the drive.file scope, so it can only see/manage files IT created in the user’s Drive — not 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) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | ||
| files | No | ||
| failed | No |