Actions144
- Activity Log Actions
- API Info Actions
- Article Actions
- Asset Actions
- Asset Layout Actions
- Asset Layout Field Actions
- Asset Password Actions
- Card Actions
- Company Actions
- Expiration Actions
- Export Actions
- Folder Actions
- Group Actions
- IP Address Actions
- List Actions
- List Options Actions
- Magic Dash Actions
- Matcher Actions
- Network Actions
- Password Folder Actions
- Photo Actions
- Procedure Actions
- Procedure Task Actions
- Public Photo Actions
- Rack Storage Actions
- Rack Storage Item Actions
- Relation Actions
- S3 Export Actions
- Upload Actions
- User Actions
- VLAN Actions
- VLAN Zone Actions
- Website Actions
Upload → Create
AI-generatedOverview
This node operation allows users to upload a file to a specified record type within the Hudu system. It is useful for attaching files such as documents or images to various record types like Articles, Assets, Companies, Procedures, or Websites. For example, a user can upload a maintenance manual PDF to an Asset record or attach a company logo image to a Company record.
Use Case Examples
- Uploading a PDF file to an Asset record for documentation purposes.
- Attaching an image file to a Company record to maintain branding assets.
Properties
| Name | Meaning |
|---|---|
| File | The name of the binary property containing the file to upload. This is required to specify which file from the input data should be uploaded. |
| Uploadable Type | The type of record to which the file will be attached. Options include Article, Asset, Asset Password, Company, Procedure, and Website. |
| Uploadable ID | The ID of the specific record to which the file will be attached. This must be a positive number and is required. |
Output
JSON
id- The unique identifier of the uploaded file record.uploadable_type- The type of record the file was attached to.uploadable_id- The ID of the record the file was attached to.file_name- The name of the uploaded file.file_size- The size of the uploaded file in bytes.created_at- Timestamp when the file was uploaded.
Dependencies
- Hudu REST API
- API authentication token (credential)
Troubleshooting
- Ensure the binary property name specified in 'File' exists in the input data and contains valid file data.
- Verify that the 'Uploadable Type' and 'Uploadable ID' correspond to existing records in the Hudu system to avoid attachment errors.
- Check API credentials and network connectivity if the upload fails due to authentication or communication issues.
Links
- Hudu API Uploads Documentation - Official documentation for uploading files via the Hudu API.