Actions12
File → Replace
AI-generatedSummary
Replace the content of an existing HubSpot file while preserving its file ID.
Inputs
- fileId (required) — The unique ID of the file whose content will be replaced.
- binaryPropertyName (required) — Name of the binary property that contains the replacement file data (default: data).
- fileName — Optional new name for the file. If omitted, the original filename is retained.
Output shape
Each execution returns an item with a json field containing the HubSpot file object (id, name, size, uploadDate, etc.) and a pairedItem field referencing the input item index.
The operation does not change the file’s access level, folder, or other metadata—only the binary data and, optionally, the filename.