Heliont Contract Recalibrator icon

Heliont Contract Recalibrator

Modify the global contract object

Heliont Contract Recalibrator

AI-generated

Summary

Modify the global contract object by adding/updating and deleting fields via dot‑notation, then output the processed input and the updated contract.

Inputs

  • main (required) — Input items to be passed through. The node does not alter the items except for removing any existing contract field.

Output shape

main

The node has two main outputs: the first returns each input item with the contract field stripped; the second returns a single item containing the updated contract under json.contract.

Examples

Example 1: Add a field botUser.name with value 'Alice' and delete botUser.lastLatitude.

fields: [{ name: 'botUser.name', value: 'Alice' }]; deletes: [{ name: 'botUser.lastLatitude' }]; testContract: {} (if no contract exists).

Discussion