Using Delete in Workflows#
Delete is designed to be triggered exclusively via HubSpot Workflows. This allows you to use HubSpot’s powerful enrollment triggers to define exactly which records should be deleted, and when.
Adding the Custom Action#
- In HubSpot, navigate to Automation > Workflows and create or edit a workflow.
- Set your enrollment triggers (e.g.,
Lead Status is UnqualifiedandLast Activity Date is more than 365 days ago). - Click the + icon to add an action.
- Scroll down to the Connected Apps section and select Delete.
- Choose the Delete Record action.
Two Deletion Modes#
When configuring the Delete action, you must choose how the record should be deleted. The available modes depend on the object type being enrolled.
Standard Delete#
- Available for: All object types (Contacts, Companies, Deals, Tickets, Custom Objects).
- Behavior: Moves the record to the HubSpot recycle bin. Depending on your portal settings, HubSpot may retain the record in the recycle bin for a limited period (usually up to 90 days) before final erasure. During this time, the record can potentially be restored by a Super Admin natively in HubSpot.
GDPR Delete#
- Available for: Contacts only.
- Behavior: Triggers a permanent, irreversible deletion using HubSpot’s GDPR-compliant API. This action permanently erases all personal data associated with the contact and proactively blocks the contact from being re-created in the future using the same email address. Use this mode specifically when complying with a user’s “Right to Erasure” request.