Datatable Variables Import/Export icon

Datatable Variables Import/Export

Import or export local datatables and variables

Actions2

Import

AI-generated

Summary

Imports datatable data from a JSON string or an input item’s binary JSON property into the local datatables store. Merge mode adds tables and adds or overwrites keys; replace mode replaces all existing tables with the imported data.

Inputs

  • Import Mode — Choose Merge (default) to add or overwrite imported table entries while retaining other existing data, or Replace to replace all tables.
  • Source Type — Choose JSON File (Binary) (default) to read a file from the input item, or JSON Input String to parse the configured raw JSON string.
  • Input Binary Property Name (required) — Shown for JSON File (Binary); names the input item’s binary property containing the JSON file. Defaults to data.
  • JSON Input String (required) — Shown for JSON Input String; the raw JSON string to parse. Defaults to {} and must represent the tables data structure.

Output shape

One output item per input item, each with a JSON object reporting success, import mode, import timestamp, and tablesCount.

tablesCount is the number of top-level keys in the parsed input. The operation writes to the local datatables store. Invalid JSON or a missing binary property fails the item; with Continue On Fail enabled, the output item instead contains an error field.

Links

Discussion