Skip to content
OpenNodeFlow.DocsOpen beta ↗
Agent guide ↗
Docs/Library asset reference

HubSpot Archive Record

Deliberate CRM action for selected objectType; requires matching write scope and confirmWrites=true with $retries=0. Provider validation rules remain authoritative. No generic idempotency header is invented; reconcile uncertain network comp

23 Oct 2026 · 2 min read
Markdown ↗JSON ↗

HubSpot Archive Record

Deliberate CRM action for selected objectType; requires matching write scope and confirmWrites=true with $retries=0. Provider validation rules remain authoritative. No generic idempotency header is invented; reconcile uncertain network completion before manual retry. Archive by record ID, moving to provider recycle bin. idProperty is not accepted for this operation.

Inputs: exec, address. Outputs: next, error, receipt. Configuration follows the inspector schema; no schema defaults are assumed at execution. Missing optional fields stay absent. Provider remainders are retained by codecs. Errors throw and can select a wired error control route.

Authored 2026-10-20. Provider reference: official documentation. New assets are v1; callers must preserve exact dependency pins. Mock tests establish request/codec behavior only; live tenant access is unverified.

Audited socket contract (21 October 2026)#

Inputs:

  • address: @hubspot.type.get.request; required.

Outputs:

  • receipt: @hubspot.type.archive.receipt; required.

Configuration:

  • accessTokenSecret: string; default "HUBSPOT_ACCESS_TOKEN"
  • baseUrl: string; no automatic default. Leave absent for official HTTPS API. Only explicit http://127.0.0.1 or http://[::1] local mock override is accepted.
  • timeoutMs: integer; default 15000
  • readRetries: integer; default 2
  • confirmWrites: boolean; default false
  • objectType: string; default "contacts"

Known provider records and list elements have structural schemas. Explicit dynamic payloads, selected query results and provider extensions retain the recursive JSON Value vocabulary; they do not imply a known provider entity. Null is distinct from omission. Runtime validates the exact selected immutable type version; reading newer documentation never repins existing graphs. This audit used synthetic fixtures/local mocks and does not establish live provider authorization or delivery.

Catalog identity#

FieldValue
Source keyhubspot.records.archive
Kindnode
Familyhubspot
PackSee library discovery

Integration guide · Browse the catalog

Inputs#

Socket IDLabelTypeRequiredMeaning
execexeccontrolNo
addressaddress@hubspot.type.get.request v1Yes

Outputs#

Socket IDLabelTypeRequiredMeaning
nextnextcontrolNo
errorerrorcontrolNo
receiptreceipt@hubspot.type.archive.receipt v1Yes

Configuration schema#

json
{
  "type": "object",
  "properties": {
    "accessTokenSecret": {
      "type": "string",
      "minLength": 1,
      "default": "HUBSPOT_ACCESS_TOKEN"
    },
    "baseUrl": {
      "type": "string",
      "description": "Leave absent for official HTTPS API. Only explicit http://127.0.0.1 or http://[::1] local mock override is accepted."
    },
    "timeoutMs": {
      "type": "integer",
      "minimum": 100,
      "maximum": 120000,
      "default": 15000
    },
    "readRetries": {
      "type": "integer",
      "minimum": 0,
      "maximum": 3,
      "default": 2
    },
    "confirmWrites": {
      "type": "boolean",
      "default": false
    },
    "objectType": {
      "type": "string",
      "enum": [
        "contacts",
        "companies",
        "deals"
      ],
      "default": "contacts"
    }
  },
  "required": [
    "confirmWrites"
  ],
  "additionalProperties": false
}

Source and installed versions#

This reference describes the maintained source catalog snapshot, not a live export of your installation. Published definitions use immutable versions; installed graphs retain their exact pins. Discover and read the installed definition and selected version before wiring it. See versioning, connections and integration setup.

Source provenance

Reviewed against maintained source and topic documentation on 23 October 2026. This is a source snapshot; installed versions and provider access may differ.

  • ../OpenNodeFlow-Library/work/catalog-all.mjs
  • ../OpenNodeFlow-Library/work/azure-pack-consolidation-20261022/catalog-policy.mjs
  • ../OpenNodeFlow-Library/work/developer-packs-20261022/catalog.mjs
  • shared/seed.ts
  • shared/storage-library.ts
  • shared/variable-library.ts
  • shared/control-flow.ts
  • shared/remote-routes.ts
  • server/runtime-library.ts
  • shared/error-library.ts
  • shared/storage-model.ts
  • shared/builtin-documentation.ts
Type to search the documentation.
↑ ↓ to navigate · Enter to openAgent map ↗