Skip to main content

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

NameDescription
Input
Contact IDEnter the ID of the contact 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
NoneThis activity does not output any specific result. It throws an exception if the contact ID does not exist.

How to use:

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