Client rules are rolled out per platform behind a feature flag. If you don’t see the Client option when you create a rule, ask your Corsa contact to enable it. With client rules enabled, the Transaction Monitoring module is called Monitoring Rules.
How client rules work
- You create a rule and choose Client as what it applies to.
- When an individual or corporate client is created or updated, Corsa evaluates the active client rules whose trigger matches the change. Evaluation runs asynchronously, right after the client write is stored.
- The rule’s conditions are checked against the client’s current data: its profile, tags, lists, custom fields, latest session and transaction history.
- When the rule matches, Corsa creates an alert with category
CLIENT_MONITORING, linked to the client. Client Monitoring alerts are not linked to a transaction.
When a rule runs
Each client rule has a trigger:Only when specific fields change
A rule that runs on updates can be narrowed to only when these fields change. List the client fields as dotted paths, as they appear in the client API (for example,address.country or address.city). The rule runs on an update only when one of those fields changed:
- A field matches a change to itself or to anything below it:
addressmatches a change toaddress.city. - A change to a whole parent object matches the fields inside it.
- Other fields don’t count: a rule on
address.citydoesn’t run when onlyaddress.countrychanges.
What a client rule can check
The rule always checks the client that was created or updated, so you don’t choose a sender or receiver.
Some conditions need a transaction in progress, so client rules don’t offer them:
- transaction properties (amount, type, currency) outside an aggregation;
- wallet, bank account, payment account and merchant conditions;
- include current transaction on aggregations;
- conditions that match the current transaction’s counterparty or wallet.
Alerts
A client rule’s only action is Create alert. Client rules can’t halt transactions.- Category: always
CLIENT_MONITORING. Priority, assignee, sub-category and due date come from the rule’s alert settings, as for transaction rules. - One alert per match: by default, a rule alerts when a client starts matching. While the client keeps matching on later updates, no new alert is created. If the client stops matching and later matches again, the rule alerts again.
- Alert on every match: turn this on to create an alert every time the rule runs and matches.
Build a client rule in the dashboard
- Go to Monitoring Rules → Rules and click Create Rule.
- Choose Client. You can’t change this after the rule is created.
- Define conditions. The condition menu offers client, device and IP data. Aggregations let you choose the direction of the client’s transactions.
- Configure the response:
- Run on: Client created, Client created or updated, or Client updated.
- Only when these fields change (shown when the rule runs on updates): optional dotted client field paths.
- Alert on every match: off by default.
- Alert priority and routing, as for transaction rules.
- Test on a client. Pick an individual or corporate client. Corsa evaluates the rule on that client’s current data and shows whether it matches, with each condition’s value. Testing creates no alert and stores nothing.
- Review and activate.
Manage client rules with the API
Client rules use the same Rules API as transaction rules, with three extra fields:Create a client rule
400 if client rules aren’t enabled for your platform, if a condition needs a transaction, or if an action other than CREATE_ALERT is used.
Change when a client rule runs
Sendtriggers or alertOnEveryMatch on update. Fields you omit keep their stored values.
List client rules
baseEntity, triggers and alertOnEveryMatch. A transaction rule returns baseEntity: "transaction" and triggers: null.
What’s next?
Conditions reference
Operators, entities, aggregations and time windows.
Lists
Block, allow and watch lists your client rules can check.
Ingesting sessions
Send sessions so client rules can check the latest login.
Alerts
Triage Client Monitoring alerts with the rest of your queue.