Action: Save to File (SaveToFile)

Saves the execution result to a JSONL file

📖 Description

The SaveToFile action saves the result of the flow execution as a single JSON line in a file. You can specify a custom path using the filePath parameter, or a default file flow_results.jsonl will be created in the script directory.

🧩 Structure
Field Type Required Description

filePath

string Path to the file where the result will be saved. Can be relative or absolute. If omitted, defaults to flow_results.jsonl.

store

StoreType[] List of stores whose data will be included in the result (e.g. Script, Flow, Page).
📋 Example
{
  "action": "SaveToFile",
  "filePath": "results/summary.jsonl",
  "store": ["Page", "Flow"]
}
📄 Site updated: 17.06.2025 00:01
An unhandled error has occurred. Reload 🗙