# Decode HubSpot Webhook Events Item

decode HubSpot Webhook Events Item 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; em

Canonical URL: https://opennodeflow.dev/wiki/reference-hubspot-codec-webhook-events-item-decode/
JSON reference: https://opennodeflow.dev/wiki/reference-hubspot-codec-webhook-events-item-decode/index.json
Source snapshot: 2026-10-23

decode HubSpot Webhook Events Item

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: value. Outputs: eventId, subscriptionId, portalId, appId, occurredAt, subscriptionType, attemptNumber, objectId, propertyName, propertyValue, changeSource, changeFlag, remainder.

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:
- `value`: `@hubspot.type.webhook.events.item`; required.

Outputs:
- `eventId`: `@hubspot.type.webhook.events.item.eventid`; required.
- `subscriptionId`: `@hubspot.type.webhook.events.item.eventid`; optional (absent stays absent).
- `portalId`: `@hubspot.type.webhook.events.item.eventid`; required.
- `appId`: `@hubspot.type.webhook.events.item.eventid`; optional (absent stays absent).
- `occurredAt`: `@hubspot.type.record.page.total`; required.
- `subscriptionType`: `string`; required.
- `attemptNumber`: `@hubspot.type.record.page.total`; optional (absent stays absent).
- `objectId`: `@hubspot.type.webhook.events.item.eventid`; optional (absent stays absent).
- `propertyName`: `string`; optional (absent stays absent).
- `propertyValue`: `@core.type.httpRequest.field.body`; optional (absent stays absent).
- `changeSource`: `string`; optional (absent stays absent).
- `changeFlag`: `string`; optional (absent stays absent).
- `remainder`: `def_f9962f86c7f4`; 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.webhook.events.item.decode` |
| 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 |  |
| `value` | value | @hubspot.type.webhook.events.item v1 | Yes |  |

## Outputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `next` | Next | control | No |  |
| `eventId` | eventId | @hubspot.type.webhook.events.item.eventid v1 | Yes |  |
| `subscriptionId` | subscriptionId | @hubspot.type.webhook.events.item.eventid v1 | No |  |
| `portalId` | portalId | @hubspot.type.webhook.events.item.eventid v1 | Yes |  |
| `appId` | appId | @hubspot.type.webhook.events.item.eventid v1 | No |  |
| `occurredAt` | occurredAt | @hubspot.type.record.page.total v1 | Yes |  |
| `subscriptionType` | subscriptionType | string | Yes |  |
| `attemptNumber` | attemptNumber | @hubspot.type.record.page.total v1 | No |  |
| `objectId` | objectId | @hubspot.type.webhook.events.item.eventid v1 | No |  |
| `propertyName` | propertyName | string | No |  |
| `propertyValue` | propertyValue | @core.type.httpRequest.field.body v1 | No |  |
| `changeSource` | changeSource | string | No |  |
| `changeFlag` | changeFlag | string | No |  |
| `remainder` | remainder | def_f9962f86c7f4 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.
