Delete Contact
AutomatR.HubSpot.Activities.DeleteContact
The "Delete Contact" activity in AutomatR is part of the HubSpot activities package, allowing users to delete a contact based on the contact ID from their HubSpot user account. This activity streamlines contact management tasks within HubSpot.
Properties
Name | Description |
---|---|
Input | |
Contact ID | Enter the ID of the contact 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 | |
None | This activity does not output any specific result. It throws an exception if the contact ID does not exist. |
How to use:
- Drag and drop the "Delete Contact" activity onto the workflow.
- Configure the properties by specifying the contact ID for deletion.
- Optionally, configure the delay if needed.
- Execute the workflow to delete the specified contact in the HubSpot account.
Example: Consider an example where the "Delete Contact" activity is used to delete a contact with ID "contact123" from HubSpot:
Delete Contact:
Contact ID: "contact123"
In this example, the activity attempts to delete the contact with ID "contact123" from HubSpot. If the contact ID exists, the activity will delete the contact; otherwise, it will throw an exception indicating that the given contact ID does not exist.