SKILL·864ABA

backfill-geo-data

TomGranot
Aktualisiert 1 month ago
8 Ansichten
51
14
51
Auf GitHub ansehen
Andereautomationdata

Über

Diese Fähigkeit ergänzt fehlende geografische Daten (Land, Bundesland, Stadt) bei HubSpot-Kontakten und -Unternehmen mithilfe von Workflows, externen APIs oder IP-Geolokalisierung. Sie wurde für Entwickler konzipiert, um Gebietszuweisung, regionale Berichterstattung und Compliance-Management zu ermöglichen. Verwenden Sie sie nach der Standardisierung vorhandener Geodaten, um Datensätze anzureichern, bei denen Standortinformationen fehlen.

Schnellinstallation

Claude Code

Empfohlen
Primär
npx skills add TomGranot/hubspot-admin-skills -a claude-code
Plugin-BefehlAlternativ
/plugin add https://github.com/TomGranot/hubspot-admin-skills
Git CloneAlternativ
git clone https://github.com/TomGranot/hubspot-admin-skills.git ~/.claude/skills/backfill-geo-data

Kopieren Sie diesen Befehl und fügen Sie ihn in Claude Code ein, um diese Fähigkeit zu installieren

Dokumentation

Backfill Geographic Data

Fill in missing country, state, and city values on contacts and companies. Geographic data enables territory assignment, regional reporting, and compliance (GDPR, state privacy laws).

Prerequisites

  • HubSpot API token in .env
  • Python with hubspot-api-client installed via uv
  • Standardized geo values already in place (run /standardize-geo-values first)

Enrichment Methods

Method 1: HubSpot Workflow Enrichment (Simplest)

Use HubSpot's built-in Operations Hub data quality tools or Breeze Intelligence (if available on your plan) to auto-fill geographic fields.

  1. Create a workflow triggered by: country is unknown AND email is known
  2. Use the "Enrich contact" action (Operations Hub Professional+) or Breeze Intelligence enrichment
  3. If enrichment fills country/state, the workflow completes
  4. If enrichment fails, branch to flag for manual review

Method 2: Company Domain Lookup (API-based)

For contacts with a company domain but no geo data, look up the company's geographic information:

from hubspot import HubSpot
from hubspot.crm.contacts import PublicObjectSearchRequest

api_client = HubSpot(access_token=os.getenv("HUBSPOT_API_TOKEN"))

# Find contacts missing country but with company association
search = PublicObjectSearchRequest(
    filter_groups=[{
        "filters": [
            {"propertyName": "country", "operator": "NOT_HAS_PROPERTY"},
            {"propertyName": "associatedcompanyid", "operator": "HAS_PROPERTY"}
        ]
    }],
    properties=["email", "associatedcompanyid"]
)

Copy country/state/city from the associated company to the contact (same pattern as /enrich-company-name).

Method 3: External Data Provider

Integrate with a third-party enrichment service (Clearbit, ZoomInfo, Apollo, etc.):

  1. Export contacts missing geo data
  2. Run through enrichment provider
  3. Import enriched data back via CSV or API

Step-by-Step Instructions

Stage 1: Before — Assess the Gap

  1. Count contacts missing country, state, and city.
  2. Segment by source — which lead sources tend to have missing geo data?
  3. Choose the enrichment method based on volume and budget.

Stage 2: Execute — Run Enrichment

  1. Apply the chosen method (or combine methods for maximum coverage).
  2. Process in batches of 100 to respect rate limits.
  3. Validate enriched values against the standardized geo format from /standardize-geo-values.

Stage 3: After — Verify

  1. Re-count contacts missing geographic fields. Calculate improvement percentage.
  2. Spot-check 20-30 enriched contacts for accuracy.
  3. Set up the new-contact hygiene workflow to prevent future gaps.

Stage 4: Rollback

  • If enrichment data is inaccurate, filter contacts updated by the enrichment process (use hs_lastmodifieddate range) and clear the geo fields.
  • Keep a backup export of the original data before running enrichment.

Tips

  • IP-based geolocation (from form submissions) is already captured by HubSpot in ip_city, ip_state, ip_country. Copy these to the standard fields if the standard fields are empty.
  • Do not overwrite manually-entered geo data with enrichment data — always check "if empty" before writing.

GitHub Repository

TomGranot/hubspot-admin-skills
Pfad: skills/backfill-geo-data
0
hubspothubspot-apihubspot-crmhubspot-integration
FAQ

Frequently asked questions

What is the backfill-geo-data skill?

backfill-geo-data is a Claude Skill by TomGranot. Skills package instructions and resources that Claude loads on demand, so Claude can perform backfill-geo-data-related tasks without extra prompting.

How do I install backfill-geo-data?

Use the install commands on this page: add backfill-geo-data to Claude Code as a plugin, or clone its repository into your skills directory, then restart Claude so it picks up the skill.

What category does backfill-geo-data belong to?

backfill-geo-data is in the Other category, tagged automation and data.

Is backfill-geo-data free to use?

Yes. backfill-geo-data is listed on AIMCP and free to install. It runs inside Claude, so no separate service account is required to use the skill itself.

Verwandte Skills

llamaguard
Andere

LlamaGuard ist Metas 7-8B-Parameter-Modell zur Moderation von LLM-Eingaben und -Ausgaben in sechs Sicherheitskategorien wie Gewalt und Hassrede. Es bietet eine Genauigkeit von 94-95 % und kann mit vLLM, Hugging Face oder Amazon SageMaker eingesetzt werden. Nutzen Sie diese Skill, um Inhaltsfilterung und Sicherheitsguardrails einfach in Ihre KI-Anwendungen zu integrieren.

Skill ansehen
cost-optimization
Andere

Diese Claude Skill unterstützt Entwickler bei der Optimierung von Cloud-Kosten durch Ressourcen-Dimensionierung, Tagging-Strategien und Ausgabenanalysen. Sie bietet einen Rahmen zur Senkung von Cloud-Ausgaben und zur Implementierung von Kosten-Governance für AWS, Azure und GCP. Nutzen Sie sie, wenn Sie Infrastrukturkosten analysieren, Ressourcen richtig dimensionieren oder Budgetvorgaben einhalten müssen.

Skill ansehen
sports-betting-analyzer
Andere

Diese Claude Skill analysiert Sportwettenmärkte inklusive Handicaps, Over/Unders und Spezialwetten, indem sie historische Trends und situative Statistiken untersucht, um Wertwetten zu identifizieren. Sie liefert strukturierte Markdown-Ausgaben mit umsetzbaren Empfehlungen zu Bildungszwecken. Entwickler sollten dies für Sportwetten-Analysetools nutzen, wobei zu beachten ist, dass es nur zur Unterhaltung/Bildung konzipiert wurde.

Skill ansehen
quantizing-models-bitsandbytes
Andere

Diese Fähigkeit quantisiert LLMs auf 8-Bit- oder 4-Bit-Präzision mittels bitsandbytes und erreicht dabei eine Speicherreduzierung von 50–75 % bei minimalem Genauigkeitsverlust. Sie ist ideal für den Betrieb größerer Modelle mit begrenztem GPU-Speicher oder zur Beschleunigung von Inferenzvorgängen und unterstützt Formate wie INT8, NF4 und FP4. Die Fähigkeit integriert sich in HuggingFace Transformers und ermöglicht QLoRA-Training sowie 8-Bit-Optimierer.

Skill ansehen