Delete Product
AutomatR.HubSpot.Activities.DeleteProduct
The "Delete Product" activity in AutomatR is part of the HubSpot activities package, allowing users to delete a product based on the product ID from their HubSpot user account. This activity streamlines product management tasks within HubSpot.
Properties
Name | Description |
---|---|
Input | |
Product ID | Enter the ID of the product that needs to be deleted from the HubSpot product list. |
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 Product" operation, indicating whether the deletion was successful or encountered errors. Variables of relevant types (e.g., Boolean variables) to store the operation result. |
How to use:
- Drag and drop the "Delete Product" activity onto the workflow.
- Configure the properties by specifying the product ID for deletion.
- Optionally, configure the delay if needed.
- Execute the workflow to delete the specified product in the HubSpot account.
Example: Consider an example where the "Delete Product" activity is used to delete a product with ID "product123" from HubSpot:
Delete Product:
Product ID: "product123"
In this example, the activity attempts to delete the product with ID "product123" from HubSpot. If the product ID exists, the activity will delete the product; otherwise, it will set the result to false.