HubSpot Files icon

HubSpot Files

Manage files and folders in HubSpot File Manager

Folder → Create

AI-generated

Summary

Create a folder in HubSpot File Manager

Inputs

  • folderPath (required) — Path where the folder should be created. Parent folders will be created if they don't exist.
  • folderName (required) — Name of the folder to create.
  • parentFolderId — ID of the parent folder. Leave empty to create at root level.

Output shape

object

The folder object returned by the HubSpot API, including at minimum id, name, and path.

Examples

Example 1: Create a new folder at the root level with path /documents and name contracts

folderPath: /documents, folderName: contracts

Links

Discussion