# Trivial 3-node smoke workflow.
# Run: cargo run --bin r8r -- run examples/trivial.toml

[workflow]
name = "trivial"

[[nodes]]
name = "Greet"
type = "set"
[nodes.parameters]
fields = { greeting = "hello", target = "tanner" }

[[nodes]]
name = "Decide"
type = "if"
[nodes.parameters]
left = "{{ $json.target }}"
right = "tanner"
op = "eq"

[[nodes]]
name = "Through"
type = "no_op"

[[edges]]
from = "Greet"
to = "Decide"

[[edges]]
from = "Decide"
to = "Through"
from_index = 0
