Workflow User Guide
This guide is the practical operating standard for building NodeFox workflows. Use it as a repeatable system, not a one-time tutorial. It is optimized for teams that need to ship quickly while preserving explicit control over execution behavior, approvals, and external side effects.
Recommended approach: build small, validate deeply, and promote in stages. Most failures in production come from unclear entry paths, implicit assumptions, and missing fallback behavior, not from lack of features.
Guide navigation map
When onboarding a new team, start with Quickstart to build the first functioning graph quickly, then use this guide as the operating baseline for how workflows should be designed, validated, and promoted. After that, move to Use Case Patterns to select a concrete workflow shape, then review Execution Model and Edges & Data Flow so route behavior is deterministic under failure conditions. Use Capabilities and Features for platform-level tradeoffs and Foundation and Future for strategic design posture.
Who this guide is for
This guide is intentionally cross-functional. Engineers use it to build and maintain graph logic. Operators use it to run workflows and handle incidents. Business-system owners and governance stakeholders use it to inspect branch behavior, approvals, and accountability. The goal is one shared language for control boundaries so technical and non-technical owners are reviewing the same runtime model.
Purpose of this guide
The purpose is to make workflow behavior predictable at scale. That includes deterministic routing, explicit activation and slot boundaries, legal/consent checks where needed, and practical account/billing operations that remain stable while workflows evolve. If a team follows this guide, they should be able to move from pilot to production without relying on hidden assumptions.
Account, auth, and billing operations
Treat account and billing setup as part of production readiness, not as an afterthought. Start with Sign Up, then continue through Account settings, Pricing, and Terms and policy pages so onboarding, consent handling, and runtime controls stay aligned.
In practice, the minimum stable baseline is: create the account with required legal and beta acknowledgments, confirm sign-in and recovery paths, enable 2FA and backup codes, validate billing ownership before trial conversion, and verify that policy-sensitive workflow branches re-check acceptance state before execution. Teams that do this upfront avoid most account, billing, and consent-related surprises later.
For incident readiness, run a routine recovery drill through /reset-password, confirm ownership of reset channels, and verify that session revocation and credential rotation can be completed quickly. For subscription changes, confirm cancellation authority and export critical artifacts before downgrades or closure events.
Build sequence (recommended)
1. Define the workflow contract in one sentence
Write a single sentence that states:
- what enters the workflow
- what decisions are made
- what exits the workflow
- what side effects are permitted
If this sentence is unclear, the graph will usually become unclear and difficult to operate.
2. Design the entry path first
Before building advanced branches, verify a deterministic start path exists:
- input source node has real payloads
- starting node is in
Readystate (required for run start) - first downstream node can become eligible
- no accidental
Activated/Delaygating blocks initial progression - path preconditions (schema, optional fields, acceptance state) are explicit
3. Place core nodes before edge-case branches
Start with a minimum path:
Input/Buffer -> Processing -> Decision (if needed) -> Writer
Add retries, escalations, and approval paths only after the base route executes reliably.
4. Wire slots deliberately with a slot map
Do not rely on memory. Use a quick mapping record per edge:
- source output slot
- target input slot
- expected shape
- fallback behavior if value is missing
5. Add activation edges for release control
If a node should not execute immediately on data arrival, use:
Activatedflag- activation edge from a gate/approval node
This is especially important for Writer/API side effects and compliance-sensitive actions.
Flag quick reference for build reviews:
Optional(O, blue): configured per input slot. Slot can be empty without blocking execution.Activated: configured per node. Node still requires activation signal even when data is present.Keep(K, green): configured per input slot in general; for Buffer nodes,Keepapplies across all slots when selected.Delay: configured per node. Execution is deferred by graph steps/cycles (not wall-clock seconds).
Activation control rule:
- Configure
Activatedand activation edges together on release-gated branches.
For deeper implementation guidance and failure patterns, see Crucial Workflow Mechanics.
6. Validate with realistic payload sets
Test with payload classes, not a single happy path:
- missing optional fields
- malformed JSON fields
- out-of-range values
- model low-confidence responses
- stale acceptance or policy state
7. Add bounded recovery behavior
Every retry branch must have an upper bound and deterministic fallback.
Typical pattern:
- Decision pass -> continue
- Decision fail -> retry
- max reached -> fallback/quarantine/escalation
8. Add governance and acceptance checks where needed
For workflows with policy-sensitive writes:
- validate legal/policy acceptance state before write branches
- route missing/stale acceptance to a re-acknowledgment branch
- retain acceptance version and timestamp references in run metadata
Role-based operating model
Engineering owner responsibilities
- Maintain deterministic branch logic and schema contracts.
- Keep retries bounded and side-effect routes idempotent where possible.
- Version workflow changes with clear run-impact notes.
- Validate branch behavior under dependency-failure scenarios.
Operations owner responsibilities
- Monitor run health and branch-level failure distribution.
- Own escalation paths for blocked queues and fallback branches.
- Track run and cost trends after each workflow revision.
- Coordinate incident retrospectives using run evidence.
Business and policy owner responsibilities
- Review approval rules for customer-impacting actions.
- Confirm acceptance/consent requirements remain current.
- Validate communication and remediation outcomes for sensitive workflows.
- Approve policy-class changes before production rollout.
Deterministic release checklist
Design readiness
- workflow contract is clear and reviewable in one sentence
- external write points are explicitly identified
- risk classes are defined before branch implementation
Validation readiness
- representative payload suites exist for each branch class
- loops have max iteration bounds and termination fallbacks
- optional slots are blocking unless deliberately optional
Production readiness
- high-impact writes are behind approval-release controls
- acceptance and policy checks are enforced at runtime
- rollback criteria and owner on-call paths are documented
Scale readiness
- reusable subflows have explicit input/output contracts
- change review uses export + diff practices
- run and cost analytics are reviewed on a recurring cadence
Full platform setup by view/tab
Network View (authoring tab)
- Model the directed graph with explicit branch outcomes.
- Configure node variants, slot contracts, and flags (
Optional,Activated,Keep,Delay). - Add schemas where downstream decisions or writes require typed guarantees.
- Insert activation edges for review/release control before sensitive actions.
Automate View (operations tab)
- Configure schedules and event triggers for production run entry points.
- Set iteration variables and run parameters for batch processing.
- Define escalation ownership for failed or blocked branches.
- Monitor run history and replay outcomes before scaling volume.
Apps View (user-facing tab)
- Define input forms, validation behavior, and expected user flow.
- Route uncertain/high-risk outcomes into review paths.
- Keep outbound side effects behind explicit approval branches.
- Preserve clear result and status feedback for end users.
MCP View (tooling tab)
- Attach only the MCP servers optional for each workflow context.
- Scope tool availability by branch where possible.
- Add fallback behavior for unavailable tools.
- Keep invocation traces in run evidence for auditability.
Schemas View (contract tab)
- Create schemas using one of three builders: Raw JSON, Visual builder, or From JSON inference.
- Mark optional fields and constraints before attaching to Conversation nodes.
- Validate schema changes against Decision and Writer branches before production promotion.
- Keep schema versions documented in release notes for audit and rollback clarity.
Functions View (tool contract tab)
- Define function name, description, typed parameters, and return shape.
- Keep function scope narrow and deterministic.
- Attach only optional functions to Conversation nodes per branch.
- Monitor function failure rates and update contracts with version discipline.
Marketplace View (reuse tab)
- Import reusable workflow assets and review their input/output contracts.
- Assign ownership for each imported asset before production use.
- Validate imported assets under your own policies, not only publisher defaults.
- Track asset version adoption and deprecate stale dependencies deliberately.
Settings View (control tab)
- Configure runtime defaults and workspace conventions.
- Store API key references and OAuth mapping names without hardcoding in nodes.
- Review sensitive setting changes during release approvals.
- Keep environment-specific settings isolated by workspace.
Integrations View (connectivity tab)
- Configure MCP endpoints, OAuth integrations, and custom API key references.
- Attach integration references to Reader/Writer/Conversation/Code nodes explicitly.
- Route auth and dependency failures to deterministic fallback branches.
- Use least-privilege scopes and rotate credentials on schedule.
Workspace View (organization tab)
- Define ownership boundaries by team, domain, or environment.
- Keep naming and promotion standards consistent across workflows.
- Use export + Git diff workflows for change review before promotion.
- Maintain explicit rollback owner and incident-response ownership paths.
Files and permissions tab
- Register file/directory handles needed for Reader/Writer behavior.
- Verify path conventions for local download (
./) versus directory writes. - Standardize naming/versioning conventions for reusable modules.
- Review permissions, ownership, and incident contacts regularly.
Portability, versioning, and model swapping
JSON and bundle/zip export patterns
- use JSON exports for diff-friendly workflow reviews
- use bundle/zip exports for multi-asset migration and handoff
- keep export metadata tied to release notes and ownership records
Git diff and release governance
- Export workflow artifacts before each production promotion.
- Review graph diffs alongside code/policy changes in Git.
- Require approval for branch/control changes affecting high-impact actions.
- Keep rollback references for the previous known-good artifact version.
Local-first and typed runtime posture
- local-first workflow operation supports tighter control over sensitive contexts
- typed schemas and slot contracts reduce hidden drift
- JSON graph artifacts keep workflow behavior portable and inspectable
- Rust/WASM runtime design supports predictable execution characteristics
Swapping models without rewriting workflows
- Keep branch and policy logic in graph structure, not provider-specific prompt hacks.
- Enforce schema contracts so output shape remains stable across model changes.
- Swap model/provider settings in Conversation configuration.
- Re-validate quality, latency, and cost by route before broad rollout.
Slot system quick reference
| Context | Slot 1 reference |
|---|---|
| Canvas keyboard connect | press 1 |
| Template/prompt/selector | $1 |
| Code node input API | inputs.get(0) |
| Code node output API | outputs.set(0, value) |
Important reminders:
- Keyboard
0means bulk connect, not slot0. $references are 1-based.- Code APIs are 0-based.
Writer path rules to memorize
| Path | Result |
|---|---|
./file.ext | Browser download prompt |
folder/file.ext | Registered directory write |
| unresolved or virtual path | Virtual file-system storage |
When a file "did not download," this is usually a path-prefix issue.
Workflow type guides
Agentic workflow
Use when model reasoning is central.
Core path:
Reader -> Conversation -> Decision(risk/confidence) -> (Auto/Review/Reject) -> Writer
Must-have controls:
- tool allowlists by branch
- deterministic risk classification rules
- explicit human review for medium/high-risk actions
API integration workflow
Use when synchronizing external systems.
Core path:
Reader(API) -> Code(normalize) -> Decision(validate/policy) -> Writer(API)
Must-have controls:
- strict schema/contract checks
- idempotency or replay strategy
- bounded retry and dead-letter handling
Data quality workflow
Use when downstream analytics or operations depend on reliable data.
Core path:
Reader -> Data/Code -> Decision(Quality) -> (Publish/Quarantine/Retry)
Must-have controls:
- measurable quality thresholds
- clear failure classes
- replay-ready quarantine evidence
Acceptance-aware workflow
Use when terms, policy, or consent state changes execution eligibility.
Core path:
Input(Action) -> Decision(acceptance validity) -> (Proceed/Re-ack/Block)
Must-have controls:
- acceptance event logging (version + timestamp + actor)
- stale acceptance detection
- block behavior for missing or invalid acceptance
Common pitfalls and deterministic fixes
Pitfall: workflow does not start
Cause:
- no eligible entry node
Fix:
- ensure first path is Ready/executable with real input data and no hidden precondition failures
Pitfall: node executes with partial context
Cause:
Optionaloverused on critical inputs
Fix:
- keep critical slots blocking by default; make optionality explicit and intentional
Pitfall: sensitive write happens too early
Cause:
- direct data edge without release control
Fix:
- add
Activated+ activation edge from approval branch
Pitfall: wrong data in prompts/templates
Cause:
- slot-index confusion across UI and code
Fix:
- validate slot map and sample data at every critical hop
Pitfall: loops never converge
Cause:
- retry branch unbounded
Fix:
- enforce decision max limits and explicit fallback termination
Pitfall: policy drift causes inconsistent behavior
Cause:
- business/legal logic embedded ad hoc in code
Fix:
- centralize policy classes in Decision nodes and version policy logic with release notes
Production hardening checklist
- Entry path starts deterministically with representative payloads.
- All external writes are gated by explicit branch conditions.
- Retry branches are bounded and observable.
- Schema-driven validation executes before sensitive downstream writes.
- Failure branches are testable and have clear owners.
- Acceptance/policy checks are enforced where workflow risk requires them.
- Run traces are reviewed before broad rollout.
- Rollback triggers and escalation paths are documented.
April 2026 rollout templates
Teams using this guide in April 2026 commonly launch:
- Incident response orchestrations with explicit approval release before customer-facing communication.
- Finance exception workflows with deterministic reconciliation and adjustment review.
- Support automations where low-risk actions auto-complete and high-risk actions escalate.
- Trust-and-safety triage paths combining model classification with human decision nodes.
- Acceptance-aware flows that block sensitive actions until current policy acknowledgment exists.