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
Name | Description |
---|---|
Input | |
File Path | Enter the local file path that needs to be uploaded to HubSpot. |
Folder Path | Enter the folder path in the HubSpot user's account where the file will be uploaded. |
Overwrite | When enabled, allows the file to be overwritten with new content. Boolean variable to determine overwrite behavior. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. |
Optional | |
Delay | Enter the wait time in seconds (e.g., 5) to start the activity. |
How to use:
- Drag and drop the "Upload File" activity onto the workflow.
- Configure the properties by specifying the file path, folder path in HubSpot, and whether to overwrite existing files.
- Optionally, customize the display name and set a delay if necessary.
- 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.