Workflow automation integrations
Use Neuron-JS when workflow automation needs a deterministic decision node instead of probabilistic LLM branching.
The pattern is simple:
- A workflow tool gathers, extracts, or classifies data.
- Neuron-JS validates the JSON rule script with
validateScript. - Neuron-JS validates the execution context with
validateExecutionContext. Synapseexecutes approved rules through a developer-ownedNeuronregistry.- The workflow routes side effects from
summarizeExecutionOutputandexplainExecution.
Recipes
Use Neuron-JS when
- Business rules must be represented as JSON and executed deterministically.
- Rules need to be stored in a database, versioned, transmitted, or audited.
- An AI assistant generates rules and you need schema validation before execution.
- Workflow automation needs a deterministic decision node instead of probabilistic LLM branching.
- You need explanation traces for why a rule matched or failed.
Do not use Neuron-JS when
- A simple hard-coded condition is clearer and rarely changes.
- Arbitrary user code execution is required.
- A full BPMN/process engine is required.
- Non-technical users need unrestricted rule authoring without validation, tests, review, and rollback.
