# Encode HubSpot Association Labels

encode HubSpot Association Labels Pure functional codec; no external request, secret lookup or state mutation. Object codecs preserve unknown fields through a named remainder; collision is rejected. Lists preserve item/rest/index/count; emp

Canonical URL: https://opennodeflow.dev/wiki/reference-hubspot-codec-association-labels-encode/
JSON reference: https://opennodeflow.dev/wiki/reference-hubspot-codec-association-labels-encode/index.json
Source snapshot: 2026-10-23

encode HubSpot Association Labels

Pure functional codec; no external request, secret lookup or state mutation. Object codecs preserve unknown fields through a named remainder; collision is rejected. Lists preserve item/rest/index/count; empty lists omit item. Nullable codecs preserve null explicitly. Opaque maps/JSON use JSON text parsing/stringification. Runtime validates the named type after encoding and before decoding.

Inputs: results, remainder. Outputs: value.

Authored 2026-10-20. Provider reference: [official documentation](https://developers.hubspot.com/docs/api-reference/latest/crm/using-object-apis). 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:
- `results`: `@hubspot.type.association.labels.results`; required.
- `remainder`: `def_f9962f86c7f4`; optional (absent stays absent).

Outputs:
- `value`: `@hubspot.type.association.labels`; required.

Configuration:
No asset-specific configuration.

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

| Field | Value |
| --- | --- |
| Source key | `hubspot.codec.association.labels.encode` |
| Kind | node |
| Family | hubspot |
| Pack | See library discovery |

[Integration guide](/wiki/integration-hubspot/) · [Browse the catalog](/wiki/integration-catalog/)

## Inputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `exec` | Execute | control | No |  |
| `results` | results | @hubspot.type.association.labels.results v1 | Yes |  |
| `remainder` | remainder | def_f9962f86c7f4 v1 | No |  |

## Outputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `next` | Next | control | No |  |
| `value` | value | @hubspot.type.association.labels v1 | Yes |  |
| `error` | On error | control | No |  |

## Configuration schema


```json
{
  "type": "object",
  "properties": {},
  "required": [],
  "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](/wiki/versioning/), [connections](/wiki/connections/) and [integration setup](/wiki/integration-setup/).

---

## Documentation provenance

- `../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`

This page describes maintained source, not a live inventory or an authorization to perform actions.
