Data: Save data

Save key-value pairs to a local JSON state file.

Help Centre › Functions & Formulas

Save key-value pairs to a local JSON state file.

Add it to a process

In the process designer, open the Add step tab. Find Save data under Data, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
File pathNoEnter the file path, or use a variable such as {folders::desktop::path}\file.txt.
Overwrite if existsNoIf data with the same key already exists, overwrite it with the new values. Default: off.
KeysNoRows of the repeating band. Persisted as the sibling arrays app.keys, app.operators, app.values.

See all Data steps.

Errors

ErrorDescription
Save failedThe data could not be saved to the specified location.

Tips

  • Use data-load to retrieve saved data later in the process.

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.