new-contact-hygiene-workflow
Skill by TomGranot
Builds a HubSpot workflow that enriches new contacts at creation. It sets a default lifecycle stage and copies company name and industry from the associated company, for HubSpot teams that want clean contact records from the start.
Install new-contact-hygiene-workflow
Built from the published package, never by AI.
git clone --depth 1 https://github.com/TomGranot/hubspot-admin-skills /tmp/hubspot-admin-skills && mkdir -p ~/.claude/skills && cp -r /tmp/hubspot-admin-skills/skills/new-contact-hygiene-workflow ~/.claude/skills/new-contact-hygiene-workflowRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
Step-by-step: install new-contact-hygiene-workflow in Claude Code
git clone --depth 1 https://github.com/TomGranot/hubspot-admin-skills /tmp/hubspot-admin-skills && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/hubspot-admin-skills/skills/new-contact-hygiene-workflow ~/.gemini/antigravity-cli/skills/new-contact-hygiene-workflowAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install new-contact-hygiene-workflow in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
New Contact Hygiene Workflow builds a HubSpot workflow that enriches every new contact when it is created. The workflow sets the lifecycle stage to Lead when it is empty, copies company name and industry from the associated company, waits a short delay, then branches on whether a company is still missing. The execute script creates the default lifecycle stage workflow through the v4 Automation API, disabled, so it can be reviewed before it is turned on.
The copy actions and the no-company notification are added in the HubSpot UI, because the v4 API does not document fields for them. The skill is for HubSpot teams that want contacts to enter the database with a stage, company and industry before anyone edits them. Because the Workflows API is in beta, the skill also documents a manual UI build as the fallback.
Written from the project's SKILL.md and checked against it.
What it can do
- Before scriptInventories existing workflows and checks for name collisions before creating anything.
- Execute scriptCreates the default lifecycle stage workflow via the v4 Automation API, disabled for review.
- After scriptConfirms the workflow exists and reports its enabled state.
- Lifecycle stage defaultSets lifecycle stage to Lead for new contacts when the stage is unknown.
- Company and industry copyCopies company name and industry from the associated company, added in the UI.
- Completeness branchBranches on whether company name is still unknown after a short delay and notifies an admin.
What you need
- HubSpot Marketing Professional or Enterprise plan
- HubSpot service key with the automation scope
- Python 3.10 or later with uv
- HubSpot workflow creation permissions
Try asking
- Run the before script to inventory HubSpot workflows and check name collisions
- Create the default lifecycle stage workflow in HubSpot as a disabled draft
- Check that the new contact hygiene workflow exists and report its enabled state
Good to know
- The HubSpot Workflows API is documented as beta and may change.
- Copy-from-associated-company actions have no documented v4 fields and must be added in the UI.
- Imported contacts fire the trigger and can overwrite company values with the associated company's values.
- Only the primary associated company is copied.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills/new-contact-hygiene-workflow/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to new-contact-hygiene-workflow
All alternatives →Scores inbound HubSpot leads on engagement, company fit and urgency, then ranks the ones worth a call today. Built for sales owners who need to decide who to call first.
Builds a ranked list of prospects by deriving an ideal customer profile from existing customers. It finds look-alike companies and decision-makers, then scores them. Built for owners who need new customers.
Writes prospect outreach and follow-up sequences in the owner's own voice, learned from their sent mail. Queues every send for approval and logs each touch to the CRM. Runs draft-only when no mail connector is available.
Writes and runs B2B cold outbound, including cold emails, follow-up sequences, LinkedIn messages and multichannel cadences. Built for sales development and outbound teams that want replies rather than template blasts.
Speed to Lead checks inbound inquiries from web forms, the shared inbox, and the CRM, then drafts replies for the owner to approve. It is for owners who lose leads because nobody replies fast enough.
Helps write, build and improve B2B cold email and follow-up sequences for prospects who did not opt in. Covers SDR and founder outreach.
Compare with lead-triage, lead-finder or outreach-composer
new-contact-hygiene-workflow: common questions
Does this skill change existing contacts?
The source says the workflow runs on contact creation, and it notes that contacts already enriched keep their values. Rollback involves turning off the workflow, with no destructive changes to undo.
Why are some steps done in the HubSpot UI instead of the API?
The source says the v4 Automation API has no documented action fields for copy-from-associated-object actions, and the notification branch depends on portal-specific recipients. The script creates the default lifecycle workflow and the rest is added in the UI.
What happens to contacts with no company association?
The source says the copy action silently fails for them, and the if/then branch sends an admin notification after the delay.
How do I install new-contact-hygiene-workflow?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is new-contact-hygiene-workflow free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is new-contact-hygiene-workflow safe to use?
It scores 58 of 100. Grades: maintenance A, licence A, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to new-contact-hygiene-workflow?
Similar skills: lead-triage, lead-finder, outreach-composer, cold-email.
