Delete Company
AutomatR.HubSpot.Activities.DeleteCompany
The "Delete Company" activity in AutomatR is part of the HubSpot activities package, allowing users to delete a company based on the company ID from their HubSpot user account. This activity provides a streamlined approach to manage company data within HubSpot.
Properties
Name | Description |
---|---|
Input | |
Company ID | Enter the ID of the company that needs to be deleted from the HubSpot account. |
Misc | |
Display Name | Provides a customizable name for the activity displayed in the workflow. The display name enhances clarity and organization within the automation project. String variables containing the desired display name. |
Optional | |
Delay | Enter the wait time in seconds (Example: 5 seconds) to start the activity. |
Output | |
Result | Outputs the result of the "Delete Company" operation. True if the company is deleted successfully; otherwise, false. |
How to use:
- Drag and drop the "Delete Company" activity onto the workflow.
- Configure the properties by specifying the company ID for deletion.
- Optionally, configure the delay if needed.
- Execute the workflow to delete the specified company in the HubSpot account.
Example: Consider an example where the "Delete Company" activity is used to delete a company with ID "company123" from HubSpot:
Delete Company:
Company ID: "company123"
Result: isCompanyDeleted
In this example, the activity attempts to delete the company with ID "company123" from HubSpot. The result of the operation (success or failure) is stored in the Boolean variable "isCompanyDeleted" for further handling in the workflow.