MCP HubMCP Hub
스킬 목록으로 돌아가기

new-contact-hygiene-workflow

TomGranot
업데이트됨 2 days ago
6 조회
33
11
33
GitHub에서 보기
메타apiautomationdesign

정보

이 HubSpot 워크플로우 기능은 새로운 연락처의 라이프사이클 단계를 설정하고 관련 기록에서 회사 데이터를 복사하여 자동으로 정보를 보강합니다. 데이터 완성도에 따른 조건 분기를 포함하지만, '알 수 없음' 조건과 복사 작업에 대한 API 제한으로 인해 HubSpot UI에서 수동으로 구축해야 합니다. 초기 연락처 단계 설정 및 데이터 정리 자동화를 구현해야 하는 개발자를 위해 사용하세요.

빠른 설치

Claude Code

추천
기본
npx skills add TomGranot/hubspot-admin-skills -a claude-code
플러그인 명령대체
/plugin add https://github.com/TomGranot/hubspot-admin-skills
Git 클론대체
git clone https://github.com/TomGranot/hubspot-admin-skills.git ~/.claude/skills/new-contact-hygiene-workflow

Claude Code에서 이 명령을 복사하여 붙여넣어 스킬을 설치하세요

문서

New Contact Hygiene Workflow

Build a workflow that automatically enriches every new contact at creation time. This ensures contacts enter the database with a lifecycle stage, company name, and industry before any human touches them.

Why This Cannot Be Fully Automated via API

Three HubSpot API limitations prevent full automation:

  1. "Is unknown" branch conditions are not supported programmatically — the Workflows API cannot create branches that check whether a property has never been set.
  2. Copy from associated object actions (e.g., copy company name from the associated company) are not available via API.
  3. Workflows API v4 is beta and unstable — production workflows should not depend on it.

You have three options for building this workflow, described below.

Building the Workflow: Three Options

Option 1: Manual UI Build

Follow the step-by-step instructions in the "Execute" section below. This is the most reliable method and gives you full control over every trigger, branch, and action.

Option 2: HubSpot Breeze AI

HubSpot's built-in Breeze AI can generate a workflow skeleton from a natural language prompt. Navigate to Automation > Workflows > Create workflow > "Describe what you want" and paste the following prompt:

Create a contact-based workflow that triggers when a contact is created. It should:
1. Set the lifecycle stage to "Lead" if it is empty
2. Copy the company name from the associated company to the contact's Company property
3. Copy the industry from the associated company to the contact's Industry property
4. Wait a short delay (3-10 minutes, recommended: 5)
5. Check if the contact's Company property is still empty — if yes, send an internal notification to the admin saying the contact has no company association

CRITICAL WARNING: Breeze trigger limitations. Breeze creates event-based triggers (OR logic) instead of filter-based triggers (AND logic). After Breeze creates the workflow, you MUST manually verify and fix the trigger/enrollment conditions in the UI. Breeze is best used for creating the workflow skeleton (actions, branches, delays) -- the trigger conditions almost always need manual correction.

Additional Breeze limitations for this workflow:

  • Breeze cannot create "is unknown" branch conditions -- you must add these manually
  • Breeze cannot create "copy property from associated object" actions -- you must add these manually
  • Breeze cannot configure re-enrollment rules

Given these limitations, Breeze provides minimal value for this particular workflow. Manual build (Option 1) is recommended.

Option 3: Claude Anthropic Chrome Extension

The Claude Anthropic Chrome extension lets Claude see and interact with the HubSpot workflow builder UI directly. You can describe the workflow logic in natural language and Claude will click through the UI to build it. This is often more accurate than Breeze for complex workflows because Claude can verify each step visually, including "is unknown" branch conditions and copy-from-association actions that Breeze cannot handle.

To use this approach:

  1. Open the HubSpot workflow builder in Chrome (Automation > Workflows > Create workflow)
  2. Activate the Claude Chrome extension
  3. Describe the workflow using the design diagram and instructions from this skill

Note on Fast Mode: If you're using Claude Code's Fast Mode to speed up workflow creation, be aware of the billing model: Haiku usage is included in your subscription, but Opus in Fast Mode consumes extra credits. For workflow building tasks (which are UI-heavy and may require many interactions), consider whether the speed tradeoff is worth the credit cost.

Prerequisites

  • HubSpot Marketing Professional or Enterprise plan
  • Workflow creation permissions in HubSpot
  • Company association enrichment completed (run /enrich-company-name and /enrich-industry first for existing contacts)

Workflow Design

TRIGGER: Contact create date is known
         (fires for every new contact)
           │
           ▼
    ┌─────────────────────────┐
    │ Set lifecycle stage      │
    │ = "Lead" (if empty)      │
    └────────────┬────────────┘
                 │
                 ▼
    ┌─────────────────────────┐
    │ Copy company name from   │
    │ associated company       │
    └────────────┬────────────┘
                 │
                 ▼
    ┌─────────────────────────┐
    │ Copy industry from       │
    │ associated company       │
    └────────────┬────────────┘
                 │
                 ▼
    ┌─────────────────────────┐
    │ Delay: short wait         │
    │ (3-10 min, rec: 5)      │
    └────────────┬────────────┘
                 │
                 ▼
    ┌─────────────────────────┐
    │ IF/THEN BRANCH:          │
    │ Company name is unknown? │
    ├──────────┬──────────────┘
    │ YES      │ NO
    │          │
    ▼          ▼
  Retry      Continue
  copy       (enriched)
  + notify
  admin

Step-by-Step Build Instructions

Stage 1: Before — Verify Prerequisites

  1. Confirm company enrichment processes have run for existing data.
  2. Open HubSpot > Automation > Workflows > Create workflow.
  3. Select "Contact-based" workflow, start from scratch.

Stage 2: Execute — Build the Workflow

  1. Set enrollment trigger:

    • Property: "Create date" > "is known"
    • This enrolls every new contact automatically.
  2. Add action: Set property value

    • Property: "Lifecycle stage"
    • Value: "Lead"
    • Condition: Only if lifecycle stage is unknown (use an if/then branch before this step, or rely on HubSpot's "only if empty" option if available in your plan).
  3. Add action: Copy property

    • Source: Associated company > "Company name"
    • Target: Contact > "Company" property
  4. Add action: Copy property

    • Source: Associated company > "Industry"
    • Target: Contact > "Industry" property
  5. Add delay: a short delay (3-10 minutes, recommended: 5)

    • Purpose: Allow time for company associations to sync (especially for form submissions or integrations that create contacts before associating them). Adjust the duration based on how quickly your integrations typically create associations.
  6. Add if/then branch:

    • Condition: Contact "Company" property is unknown
    • YES branch: Add internal notification to CRM admin — "New contact {firstname} {lastname} ({email}) has no company association after enrichment attempt."
    • NO branch: No further action needed (contact is enriched).
  7. Review settings:

    • Re-enrollment: OFF (each contact should only go through this once)
    • Unenrollment: None needed
    • Time zone: Not applicable (no time-based actions beyond delay)
  8. Turn on the workflow.

Stage 3: After — Verify

  1. Create a test contact manually. Confirm:
    • Lifecycle stage is set to "Lead"
    • Company name copied from associated company
    • Industry copied from associated company
  2. Create a test contact with no company association. Confirm:
    • Admin notification fires after the configured delay
  3. Check workflow history for any errors in the first 24 hours.

Stage 4: Rollback

  1. Turn off the workflow in HubSpot > Automation > Workflows.
  2. Contacts already enriched retain their values — no destructive changes to undo.
  3. If lifecycle stages were set incorrectly, use the Search API to find contacts created after the workflow activation date and reset as needed.

Edge Cases

  • Contacts created via import: These fire the trigger. If imports include company name/industry, the copy action will overwrite with the associated company's values. Consider excluding imported contacts via a list filter.
  • Contacts without company associations: The copy action silently fails. The branch handles notification.
  • Multiple associated companies: HubSpot copies from the primary associated company only.

GitHub 저장소

TomGranot/hubspot-admin-skills
경로: skills/new-contact-hygiene-workflow
0

연관 스킬

content-collections

메타

이 스킬은 콘텐츠 콜렉션(Content Collections)을 위한 프로덕션 검증된 설정을 제공합니다. 콘텐츠 콜렉션은 Markdown/MDX 파일을 Zod 검증이 포함된 타입 안전한 데이터 콜렉션으로 변환해주는 TypeScript 최우선 도구입니다. 블로그, 문서 사이트 또는 콘텐츠 중심의 Vite + React 애플리케이션을 구축할 때 타입 안전성과 자동 콘텐츠 검증을 보장하기 위해 사용하세요. Vite 플러그인 구성과 MDX 컴파일부터 배포 최적화 및 스키마 검증에 이르기까지 모든 것을 다룹니다.

스킬 보기

polymarket

메타

이 스킬은 개발자들이 Polymarket 예측 시장 플랫폼을 활용한 애플리케이션을 구축할 수 있도록 지원하며, 거래 및 시장 데이터를 위한 API 통합 기능을 포함합니다. 또한 WebSocket을 통한 실시간 데이터 스트리밍을 제공하여 실시간 거래와 시장 활동을 모니터링할 수 있습니다. 이를 통해 거래 전략을 구현하거나 실시간 시장 업데이트를 처리하는 도구를 생성하는 데 활용할 수 있습니다.

스킬 보기

creating-opencode-plugins

메타

이 스킬은 개발자들이 명령어, 파일, LSP 작업 등 25개 이상의 이벤트 유형에 연결되는 OpenCode 플러그인을 만들 수 있도록 돕습니다. JavaScript/TypeScript 모듈을 위한 플러그인 구조, 이벤트 API 명세, 구현 패턴을 제공합니다. OpenCode AI 어시스턴트의 라이프사이클을 사용자 정의 이벤트 기반 로직으로 가로채거나, 모니터링하거나, 확장해야 할 때 사용하세요.

스킬 보기

sglang

메타

SGLang은 RadixAttention 프리픽스 캐싱을 활용하여 JSON, 정규식, 에이전트 워크플로우를 위한 고속 구조화 생성에 특화된 고성능 LLM 서빙 프레임워크입니다. 특히 반복되는 프리픽스가 있는 작업에서 상당히 빠른 추론 속도를 제공하여 복잡한 구조화 출력 및 다중 턴 대화에 이상적입니다. 제약 디코딩이 필요하거나 광범위한 프리픽스 공유가 있는 애플리케이션을 구축할 때는 vLLM과 같은 대안보다 SGLang을 선택하십시오.

스킬 보기