Open the Playground
Launch the visual editor in your browser
What you can do
The playground includes the full visual editor:- Decision tables — Create spreadsheet-style conditional logic
- Expression nodes — Transform data with the ZEN expression language
- Function nodes — Write custom JavaScript for complex logic
- Switch nodes — Route data through conditional branches
- Simulator — Test your rules with sample data and see step-by-step execution
Getting started
- Open the playground — Visit editor.gorules.io
- Build your graph — Drag nodes onto the canvas and connect them
- Add logic — Double-click nodes to configure rules, expressions, or code
- Test — Click Open Simulator, enter test data, and run your decision
- Export — Download the JDM file to use with GoRules SDKs
Try these examples
Pricing calculator
Build a decision that applies discounts based on customer tier and order value:- Add a Decision Table node
- Configure inputs:
customer.tier,order.total - Configure output:
discount - Add rules for different scenarios
Eligibility checker
Create a decision that determines if a user qualifies for a service:- Add an Expression node to calculate derived values (age from birthdate, etc.)
- Add a Decision Table to check eligibility criteria
- Add another Expression to format the response
Risk scoring
Build a decision that calculates a risk score from multiple factors:- Add multiple Decision Table nodes for different risk categories
- Add an Expression node to combine scores
- Add a Switch node to route to different outcomes based on total score
Exporting your work
Click Export to download your decision as a JSON file. This JDM (JSON Decision Model) file works with any GoRules SDK:Limitations
The playground is designed for experimentation. For production use:| Feature | Playground | BRMS |
|---|---|---|
| Save decisions | Export only | Automatic |
| Version control | No | Yes |
| Team collaboration | No | Yes |
| Environment management | No | Yes |
| Access control | No | Yes |