Ninox icon

Ninox

Read, create, update and delete data from Ninox

Record → Upload File Attachment

AI-generated

Overview

This node operation uploads a file attachment to a specific record in a Ninox database. It is useful for scenarios where you need to programmatically add files, such as images, documents, or other media, to records stored in Ninox. For example, you might use this to attach a scanned contract to a customer record or upload a photo to a project entry.

Use Case Examples

  1. Uploading a PDF invoice to a sales record in Ninox.
  2. Adding a profile picture to a user record automatically from an external source.

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 to which 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 stored.
Attachment Field The name or ID of the field in the 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 record to which the file was attached.
  • attachmentField - The field where the attachment was added.
  • fileName - The name of the uploaded file.
  • fileSize - The size of the uploaded file in bytes.
  • fileType - The MIME type of the uploaded file.

Dependencies

  • Ninox API with authentication credentials

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 containing the file to upload.
  • Check that the attachment field name or ID is valid and exists in the Ninox table schema.
  • Network or API authentication issues may cause upload failures; verify API credentials and network connectivity.

Links

Discussion