Elementium Sign in
Contents

Values · Value

Compare JSON

What was added, removed or changed between two JSON objects (top level keys). Show a member what an edit did.

Free plan json.compare

In a flow

“Works out compare JSON whenever a step wired to it needs the answer.”

before and after of a profile

What it does

What was added, removed or changed between two JSON objects (top level keys). Show a member what an edit did. It's a value node: no white pins, it works out its answer when a step wired to it needs it. It gives 5 values later steps can use. Find it under Values in the palette.

When to use it

Use it when a step needs a value worked out first: what was added, removed or changed between two JSON objects (top level keys). Show a member what an edit did.

When not to

For a value that never changes, type it into the setting instead of wiring a node.

Typical wiring

Sockets: settings you can wire

Before Text

The old JSON object.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses {"a": 1, "b": 2}.

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more

After Text

The new JSON object.

What goes there: Type it in the side panel, or wire in text. e.g. Hello there

If it's empty: Optional. Left empty and unwired, it uses {"a": 1, "b": 3, "c": 4}.

Connects fromA member's variablesAccept applicationAdd a Notion pageAdd a Trello cardAdd an emojiAdd to number in objectAdd up timesAdd working daysand 844 more

Values it gives

Added List

Keys only in the new one. e.g. ["c"]

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more

Removed List

Keys only in the old one. e.g. []

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more

Changed List

Keys with a new value. e.g. ["b"]

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd onboarding questionAdd to listAdd up timesAutoMod: add or remove allowed wordsAutoMod: add or remove wordsAutoMod: block wordsBar chartBest by a fieldand 88 more

Same Yes / no

On when nothing differs. e.g. off

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAdd a forum tagAdd onboarding questionAdd to a counterAlarms that are dueAndAutoMod: Discord's word listsBluesky latest postBoard as emojiand 572 more

As text Text

One change a line. e.g. b: 2 → 3

If it's empty: Empty when the step didn't make one (it stopped early or was skipped); steps reading it get nothing.

Connects toAccept applicationAdd a forum tagAdd a labelAdd a Notion pageAdd a row to a Google SheetAdd a staff noteAdd a stickerAdd a Trello cardand 577 more

Often next

Related in Values

Wires and sockets · Data values · Plans