Skip to content

Reconcile the HubSpot snapshot against docs_document #13

Description

@niel-cody

The 2026-08-13 export holds 177 articles. docs_document holds 161. They disagree, and the export is ground truth.

Also disagreeing: legacy -oolio-help-center URLs 100 (export) vs 101 (registry); titles containing '2.0' 20 (export) vs 27 (registry).

Work:

  1. Load the snapshot (scripts/load_hubspot_export.py).
  2. Diff hubspot_export against docs_document on url — in HubSpot but not the registry, in the registry but not HubSpot, and fields that differ.
  3. Populate docs_document.body_html from the snapshot.
  4. Correct docs_document.status — the registry assumes everything is published; the export shows 30 DRAFT and 1 archived.
  5. Fix the category mapping: export Category (Back Office, Front of House…) maps to docs_document.section, and export Subcategory to docs_document.category. These are currently inverted in our naming.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions