Skip to main content

Upload File

AutomatR.HubSpot.Activities.UploadFile

The "Upload File" activity in AutomatR is part of the HubSpot activities package, facilitating the process of uploading files to a HubSpot user's account. This activity streamlines file upload tasks, allowing you to specify the file path, destination folder, and overwrite options.

Properties

NameDescription
Input
File PathEnter the local file path that needs to be uploaded to HubSpot.
Folder PathEnter the folder path in the HubSpot user's account where the file will be uploaded.
OverwriteWhen enabled, allows the file to be overwritten with new content. Boolean variable to determine overwrite behavior.
Misc
Display NameProvides a customizable name for the activity displayed in the workflow.
Optional
DelayEnter the wait time in seconds (e.g., 5) to start the activity.

How to use:

  1. Drag and drop the "Upload File" activity onto the workflow.
  2. Configure the properties by specifying the file path, folder path in HubSpot, and whether to overwrite existing files.
  3. Optionally, customize the display name and set a delay if necessary.
  4. Execute the workflow to upload the specified file to the designated folder in HubSpot.

Example: Consider an example where the "Upload File" activity is used to upload a document named "report.pdf" from the local drive to a folder named "Documents" in HubSpot:

Upload File:
Display Name: "Upload Report Document"
File Path: "C:\LocalFiles\report.pdf"
Folder Path: "Documents"
Overwrite: true

In this example, the activity uploads the "report.pdf" file to the "Documents" folder in HubSpot, and it overwrites the file if it already exists. Customize the inputs based on the file path and destination folder you want to use.