Actions16
- Record Actions
- Attachment Actions
- Report Actions
- Schema Actions
Attachment → Get File
AI-generatedSummary
Download a single file attachment from a Nexoid record as binary data within an n8n workflow.
Inputs
- Authentication Mode (required) — Choose whether to authenticate using the generic Nexoid API service account or a user-provided Nexoid session ID for permission-scoped access.
- Record type (required) — Specify the Nexoid object/table type, such as 'contact' or 'invoice', representing where the attachment belongs.
- Record ID (required) — Provide the ID of the record owning the attachment; the prefix (e.g. 'CON-' or 'INC-') is stripped automatically.
- Attachment Key (required) — The exact attachment key identifying the file to download, typically a random folder and filename string returned by listing attachments.
- Download Link Expiry (Minutes) — Optionally specify the desired expiry time in minutes for the signed download URL (default 90, with a minimum of 1 and maximum of 1440).
Output shape
a single item containing the attachment's metadata in JSON and the file contents as a binary property named 'data'.
The node performs an authenticated request to retrieve a signed download URL for the specified attachment, then downloads the file content as an arraybuffer and returns it as binary data. If the attachment or download link is not found, it throws an error. The content type and filename are preserved for the binary data. Session-based authentication supports automatic token refresh if using API User mode.