HubSpot Files icon

HubSpot Files

Manage files and folders in HubSpot File Manager

File → Upload

AI-generated

Summary

Upload a file from binary data to HubSpot File Manager.

Inputs

  • binaryPropertyName (required) — Name of the binary property containing the file data from the previous node (default: 'data').
  • folderPath — Path in HubSpot File Manager where the file will be uploaded; will be created if it doesn't exist (default: '/n8n-uploads').
  • access — Access level for the uploaded file: PRIVATE, PUBLIC_INDEXABLE, or PUBLIC_NOT_INDEXABLE (default: PRIVATE).
  • fileName — Optional custom name for the file; if empty, the original filename is used.
  • duplicateValidationScope — Scope for duplicate file validation: NONE, EXACT_FOLDER, or ENTIRE_PORTAL (default: NONE).
  • duplicateValidationStrategy — Strategy when a duplicate is found: REJECT (fail) or RETURN_EXISTING (return existing file); applies only if scope is not NONE (default: REJECT).

Output shape

object

Returns the HubSpot file object as received from the API, attached as the json property of the result item, together with a pairedItem reference to the processed input item.

Links

Discussion