Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 58
  • 81 stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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-workflow

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install new-contact-hygiene-workflow in Claude Code

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

A

No 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 →

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.

new-contact-hygiene-workflow Install

Add to stack

Loading.