Nexoid icon

Nexoid

Connect N8N to Nexoid via the Nexoid API. Supports service-account auth, delegated session_id auth, attachments, schema discovery, and AI Agent tool use.

Attachment → Upload File

AI-generated

Summary

Upload a binary file from n8n to a specified Nexoid record using a signed upload URL obtained via the Nexoid API.

Inputs

  • Authentication Mode (required) — Choose whether to authenticate with the Nexoid API service account (API User) or use a provided user-scoped session ID (Provided Session).
  • Provided Session ID (required) — The Nexoid session_id to use when 'Provided Session' authentication mode is selected; allows user-scoped permissions.
  • Record type (required) — The Nexoid record type (like a database table) where the attachment will be uploaded, e.g., 'contact' or 'invoice'.
  • Record ID (required) — The identifier of the record to attach the file to; the node will strip any prefix automatically.
  • Binary Property (required) — Name of the incoming binary property to upload from the n8n item.
  • Use Binary Filename — If true, uses the filename from the incoming binary data; otherwise, uses the specified Attachment Name.
  • Attachment Name (required) — The filename to assign to the attachment in Nexoid, used if 'Use Binary Filename' is false or no filename exists in binary data.
  • Content Type — Optional content MIME type to specify for the upload; overrides the binary data's MIME type if provided.

Output shape

a single JSON object containing upload result information including the signed request data, HTTP upload status, upload success indicator, final filename, and content type.

The operation requires valid authentication (API User or Provided Session) and expects the input item to contain binary data on the specified binary property. It fetches a signed upload URL from Nexoid, uploads the binary buffer to that URL, and returns the upload status and metadata. Errors are thrown if authentication fails or if the binary property or filename is missing.

Examples

Example 1: Upload a PDF invoice file attached to a Nexoid invoice record

Set Resource to 'Attachment', Operation to 'Upload File', provide the record type (e.g., 'invoice') and record ID (e.g., '123'), select authentication mode, supply session ID if needed, specify the binary property with the file content, and optionally set the attachment filename and content type.

Links

Discussion