FlexiRule Docs
Quick Start
Build your first automation visually in under 5 minutes.
Quick Start Guide#
Build a visual rule in under 5 minutes that alerts you whenever a high-value Sales Invoice is created.
1. Create your First Rule#
- Go to FlexiRule -> Rule List and click New.
- Set Rule Name to
High Value Alert. - Set Document Type to
Sales Invoice. - Set Trigger Event to
Before Save. - Click Save.
2. Open the Visual Rule Builder#
- Click Open Rule Builder at the top of the form.
- You will see the visual canvas containing the mandatory Start (Entry Action) node.
3. Add a Check (Condition) Node#
- Hover over the Start node’s connection port and click the + Add Action button.
- Select Check (Condition) from the action list.
- In the configuration panel on the right:
- Ensure Group Logic is set to ALL.
- Click Add Condition.
- Click the left value field and type
@to open the Smart Value Selector. - In the search popup, search for
Grand Total. - Select Sales Invoice → Grand Total.
- Set the comparison operator dropdown to Is Greater Than.
- In the right value field, enter
10000.
4. Add a Notification Node#
- Click and drag a connection line from the True (Green) outbound port of the Check node.
- Select Notify from the action picker.
- In the Notify configuration panel:
- Set Channel / Mode to
UI Message (Toast). - Click inside the Message editor field.
- Enter
💰 High value invoice detected! Invoice ID:. - Type
@to open the Smart Value Selector. - Search for
Nameand select Sales Invoice → Name to dynamically insert the document ID token.
- Set Channel / Mode to
5. Test Your Rule Visually#
- Click Test Run in the top action bar.
- Select an existing Sales Invoice record with a Grand Total above 10,000.
- Click Run Test.
- Observe the green execution path highlighted on your canvas leading to the Notify block, along with the live toast notification preview!
6. Go Live#
- Close the Rule Builder using the Close button.
- On the main Rule document, check the Enabled box.
- Click Save. Your rule is now active!
Visual Design Best Practices#
- Use the Smart Value Selector: Always use
@or click the Variable (@) button to pick document fields rather than typing field names manually. - Connect Every Node: Ensure outbound ports are connected to downstream actions so the execution flow completes seamlessly.
Was this page helpful?