跳转到主要内容
此内容尚未提供您的语言版本,正在以英文显示。

Standardize Geo Values

技能 活跃

Convert inconsistent country and state/region formats to standardized values across contacts and companies. Ensures geographic segmentation works reliably.

目的

To ensure reliable geographic segmentation and reporting in HubSpot by converting all country and state/region values to standardized formats.

功能

  • Standardize country values (e.g., US, USA to United States)
  • Standardize state/region values (e.g., NY to New York)
  • API-driven batch updates for large datasets
  • Before and after audit scripts for verification
  • Guidance on preventing future inconsistencies

使用场景

  • When inconsistent country abbreviations are breaking HubSpot list filters
  • Before running region-specific marketing campaigns or reports
  • To clean up imported data with varying geographic formats
  • As part of a broader CRM data hygiene initiative

非目标

  • Filling in missing country or state data (enrichment)
  • Validating address accuracy beyond format standardization
  • Handling international address components beyond country and state/region

工作流

  1. Gather requirements on desired standard formats and integration constraints
  2. Run 'before' script to audit current non-standard values
  3. Execute 'execute' script or manually update records via HubSpot UI
  4. Run 'after' script to verify all non-standard values have been cleared
  5. Configure HubSpot forms and import templates to prevent future inconsistencies

实践

  • Data Quality
  • CRM Administration
  • Automation

先决条件

  • HubSpot CRM access with API token
  • Python 3.10+
  • `hubspot-api-client` and `python-dotenv` installed

Documentation

  • info:Configuration & parameter referenceThe SKILL.md outlines required information and decision points but does not explicitly document all parameters or default precedence for configuration settings beyond the initial interview questions.

Maintenance

  • warning:Dependency ManagementThe skill uses Python dependencies but lacks a lockfile for precise versioning and vulnerability management.

Security

  • warning:Secret ManagementThe HubSpot API token is loaded via `.env` and `python-dotenv`, but there is a risk of accidental leakage if not handled carefully, and no specific checks are in place to prevent this.

Code Execution

  • warning:ValidationThe Python scripts perform API requests but lack explicit schema validation for inputs and outputs, relying on the HubSpot API's implicit validation.
  • warning:Error HandlingThe Python scripts have basic retry logic for rate limiting but lack comprehensive error categorization, user-friendly reporting, and structured error handling for API responses.

Compliance

  • info:GDPRThe skill operates on contact and company data, which may include personal information, but it does not submit this data to third parties or perform extra sanitization beyond what the HubSpot API provides.

Errors

  • warning:Actionable error messagesThe Python scripts have basic error handling for API requests but do not provide detailed, user-friendly error messages with remediation steps for all failure scenarios.

Execution

  • warning:Pinned dependenciesThe Python scripts declare minimum dependency versions but do not pin exact versions or use a lockfile, which can lead to inconsistencies.

Scope

  • info:Dry-run previewWhile the script performs batch updates, there is no explicit dry-run mode to preview changes before execution; however, the 'before' and 'after' scripts provide a manual review mechanism.

Protocol

  • warning:Idempotent retry & timeoutsThe script includes retry logic for API rate limits but lacks hard timeouts for individual API calls and does not guarantee idempotency for batch updates beyond what the API provides.

安装

请先添加 Marketplace

/plugin marketplace add TomGranot/hubspot-admin-skills
/plugin install hubspot-admin-skills@hubspot-admin-skills

质量评分

78 /100
1 day ago 分析

信任信号

最近提交about 2 months ago
星标21
许可证MIT
状态
查看源代码