Actions30
- Schema Actions
- Record Actions
- File Actions
File → Upload File Attachment
AI-generatedOverview
This node operation uploads a file attachment to a specified record in a Ninox database. It is useful for automating the process of adding files to records within Ninox, such as attaching documents, images, or other binary data to database entries. For example, you can use this node to upload a contract PDF to a client record or add an image to a product entry automatically.
Use Case Examples
- Uploading a PDF contract to a client record in Ninox.
- Adding an image file to a product record in a Ninox database.
Properties
| Name | Meaning |
|---|---|
| Ninox Team | The ID of the Ninox team to access. Can be selected from a list, specified by URL, or entered as an ID. |
| Ninox Database | The ID of the Ninox database to access. Can be selected from a list, specified by URL, or entered as an ID. |
| Ninox Table | The ID of the Ninox table to access. Can be selected from a list, specified by URL, or entered as an ID. |
| Record ID | The ID of the record in Ninox where the file attachment will be added. |
| Binary Property Name | The name of the binary property in the input data where the file to upload is found. |
| Attachment Field | The name or ID of the field in the Ninox record where the attachment should be added. If left empty, the file will be added to the record's default attachment field. |
Output
JSON
id- The ID of the uploaded file attachment record.name- The name of the uploaded file.size- The size of the uploaded file in bytes.mimeType- The MIME type of the uploaded file.url- The URL to access the uploaded file attachment.
Dependencies
- Requires Ninox API credentials for authentication.
Troubleshooting
- Ensure the Record ID is correct and exists in the specified Ninox table to avoid errors.
- Verify that the binary property name matches the input data property containing the file to upload.
- Check that the Ninox Team, Database, and Table IDs are valid and accessible with the provided credentials.
- If the attachment field is specified, ensure it exists in the Ninox table schema.
Links
- Ninox REST API Documentation - Official API documentation for Ninox, useful for understanding the API endpoints and data structures.
- Ninox n8n Node GitHub Repository - Source code and additional information about the Ninox node for n8n.