Compare

action_diff · action · Data & Transform · Available · v1.0.0

Description

Compare two values and detect EXACTLY what changed: deep object diff returning added/removed/modified fields (with from/to values), or line-based text diff — without writing recursive Code-node logic.

⚙️ Configuration parameters

Fields shown in the editor when configuring the node. Generated directly from the NodeDefconfigFields.

FieldTypeRequiredDefaultDescription
mode
Modalità
enum
objecttext
yesobjectobject = deep diff tra oggetti · text = diff riga per riga.
a
Valore A (precedente)
expressionnoinputIl primo valore (lo stato "prima"). Vuoto = usa l'input del nodo.
b
Valore B (nuovo)
expressionyesIl secondo valore (lo stato "dopo") da confrontare con A.

⬆️ Node output

Fields available to downstream nodes via $node.<alias>.json.<field>:

  • equal
  • different

💡 Configuration example

JSON snippet of the node as it appears in the workflow. Values are derived fromdefaultValue and from required parameters.

{
  "id": "node-action_diff-1",
  "defId": "action_diff",
  "label": "Compare",
  "config": {
    "mode": "object",
    "a": "input",
    "b": "<b>"
  }
}

🔗 Related nodes in the same category

Ready to use Compare?

Available now on all FlowForge plans. Try it free without a credit card.

Start freeBrowse all nodes