smartsuite_upload_file
Upload a local file to a SmartSuite record's file field using application ID, record ID, field slug, and file path.
Instructions
Upload a file from the local filesystem to a SmartSuite file field. Requires readwrite or admin mode. The file is read from the local path and posted as multipart form data.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filePath | Yes | Absolute or relative path to the file on the local filesystem | |
| filename | No | Override the filename sent to SmartSuite (defaults to the basename of filePath) | |
| recordId | Yes | The record ID | |
| fieldSlug | Yes | The file field slug | |
| applicationId | Yes | The application ID |