cleanup-lead-owners

Installation
SKILL.md

Cleanup Lead Owners

Remove departed employees from HubSpot and reassign their CRM records. Orphaned records with no active owner fall through the cracks.

Prerequisites

  • HubSpot API token in .env
  • Python with hubspot-api-client installed via uv
  • A list of current employees (to compare against HubSpot users)
  • A default owner or round-robin assignment rule for orphaned records

Step-by-Step Instructions

Stage 1: Before — Identify Non-Employee Owners

from hubspot import HubSpot

api_client = HubSpot(access_token=os.getenv("HUBSPOT_API_TOKEN"))
Related skills
Installs
11
GitHub Stars
20
First Seen
Apr 9, 2026