Skip to main content

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

NameDescription
Input
Company IDEnter the ID of the company that needs to be deleted from the HubSpot account.
Misc
Display NameProvides 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
DelayEnter the wait time in seconds (Example: 5 seconds) to start the activity.
Output
ResultOutputs the result of the "Delete Company" operation. True if the company is deleted successfully; otherwise, false.

How to use:

  1. Drag and drop the "Delete Company" activity onto the workflow.
  2. Configure the properties by specifying the company ID for deletion.
  3. Optionally, configure the delay if needed.
  4. 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.