set_workflow_state · Version: 1 · Category: Data
Store a value after a successful run. sndbox classifies this node as side-effecting, so tests or automatic runs can require additional confirmation and permission review.
When to use this node
- Persist a cursor, last successful timestamp, or small JSON-compatible checkpoint.
- Make the next execution aware of work completed by the current one.
Example: Commit the latest API cursor
Store a mapped response cursor only after the entire workflow succeeds.Example settings
- Use a stable key.
- Map the new value from a successful upstream node.
- Place the node in the successful path and verify the whole run completes.
Configuration
State writes are committed only after the complete workflow succeeds. Node tests only preview state changes.
Workflow JSON
The editor stores this node with the following implemented default configuration:Default node configuration
Inputs
Outputs
Execution behavior
- The write is staged during execution and committed only after the workflow succeeds.
- A failed or cancelled run leaves the previous committed value intact.
- The editor catalogue declares
value(any) for mapping. The execution inspector can contain additional evidence fields; inspect a real result before selecting nested paths from object or any outputs.
Common issues
- A successful node test previews the state update but deliberately does not commit it.
- Workflow state is for small checkpoints, not secrets, files, or an unbounded event archive.
Where it can run
- Desktop local runner
- Paired self-hosted runner
- Hosted runner