# Notion Block Decode

Expand Notion Block without losing unknown fields.

Canonical URL: https://opennodeflow.dev/wiki/reference-dev-notion-type-block-decode/
JSON reference: https://opennodeflow.dev/wiki/reference-dev-notion-type-block-decode/index.json
Source snapshot: 2026-10-23

Expand Notion Block without losing unknown fields.

Inputs: value (required). Outputs: object, id, type, has_children, in_trash, remainder.

Pure transformation; no provider requests, persistent state or credentials. Record codecs reject remainder collisions with declared fields. Missing optional fields stay absent; explicit null follows the pinned schema. List codecs select/reinsert one item at index; an empty list omits item and requires index zero. Connect only optional outputs present for your case.

Uses the exact shared Notion Block version. Encode output validates the complete resource schema; scalar codec ports do not weaken it.

## Catalog identity

| Field | Value |
| --- | --- |
| Source key | `dev.notion.type.block.decode` |
| Kind | node |
| Family | notion |
| Pack | pack_notion |

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

## Inputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `exec` | Execute | control | No |  |
| `value` | Value | @dev.notion.type.block v1 | Yes |  |

## Outputs

| Socket ID | Label | Type | Required | Meaning |
| --- | --- | --- | --- | --- |
| `next` | Next | control | No |  |
| `object` | Object | def_c5fc8fea11ea v1 | No |  |
| `id` | Id | string | Yes |  |
| `type` | Type | string | No |  |
| `has_children` | Has Children | boolean | No |  |
| `in_trash` | In Trash | boolean | No |  |
| `remainder` | Remainder | def_f9962f86c7f4 v1 | Yes |  |
| `error` | On error | control | No |  |

## Configuration schema


```json
{
  "type": "object",
  "properties": {},
  "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.
