Create File
create_fileUpload a file and attach it to a contact in Less Annoying CRM. Supply contact_id and either base64 content or a local file path.
Instructions
Upload a file and attach it to a contact in Less Annoying CRM. Supports two input methods:
file_base64: Base64-encoded file content (for smaller files)
file_path: Local file path (server reads and uploads)
Required: contact_id, and either file_base64 or file_path. Maximum file size: 50MB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_name | No | Display name for the file (required if using base64) | |
| file_path | No | Local file path to upload | |
| mime_type | No | MIME type (e.g., "application/pdf") | |
| contact_id | Yes | Contact or company ID to attach file to | |
| file_base64 | No | Base64-encoded file content |