Delete contact option in workflows

You are able to do this with Operations Hub by using a custom code action where you talk to your own HubSpot API key - see below for node.js.

Set your HubSpot API key as a secret (called HAPIKEY in this code)

const hubspot = require('@hubspot/api-client')

exports.main = (event) => {
 const hubspotClient = new hubspot.Client({
 apiKey: process.env.HAPIKEY
 });

 // Archive a contact by ID
 hubspotClient.crm.contacts.basicApi.archive(event.object.objectId)
 .then(resp => {
 console.log('Contact archived')
 });
};