CRM, receivables, billing and usage
Milestone with source, deadline and owner at the date
Calculation base per person and period
Commission tool, dashboard and AI agent
What it solves
- The payout is ready in hours, with one line per sale the team can check.
- Credit goes to whoever held the role at the time, not to today's owner.
- The target rewards customers who activate and pay, not just signed contracts.
Business questions it answers
Ask your agent these questions once the case is live.
What you need
- CRM with owner history and billing or accounts receivable connected to Nekt
- The milestones that pay variable compensation, with the source and deadline of each
- A table of targets and parameters with validity dates
What you get
- A calculation base with one line per sale and milestone
- Totals per person with target attainment
- A feed to the commission tool or the payout spreadsheet
- An AI agent that explains variable pay line by line
Where to activate
The calculation base sent with a unique key per item, so the tool updates without duplicating.
Pending activations and boletos per person during the month, with the prorated target for tracking only.
Explains each person's variable pay line by line, with the milestone and source of each item.
The rules are few. The effort is having owner history and a reliable payment source. Start with one milestone and one team, run in parallel with the spreadsheet for a month and only then switch. The detailed view has the business rules, the pitfalls and the acceptance test. Or send everything straight to your agent with the Nekt MCP.
In SaaS, variable pay depends on events outside the CRM: the customer activated, paid the first boleto (bank slip), used the product. Calculating it by hand takes days and causes disputes: the deal owner changed after the sale, a canceled boleto counted as paid, the rep's name appears in three spellings and nobody knows which version of the rule applied that month.
How it is usually done, and the rule
Each row is a mistake that already happened in practice.
Declare the milestones that pay and the source of each: sale (deal won date), activation (product milestone or onboarding date), first payment (accounts receivable or billing), usage (consumption in the first 30 days after activation). The milestone date is the event date at the source, never the date someone moved the stage in the CRM.
Discard canceled installments, sort the customer's remaining ones by due date and keep the first. It counts when it has a payment date. Second and third boletos follow the same rule for AM targets. A charge declined and then paid is a single payment.
Real example: activation by W+5. The sale week runs Sunday to Saturday and the deadline ends on the Saturday of the fifth following week. Rate per person and sale week = sales activated on time / sales of the week, with a target (for example, 60%) and a stretch target (80%). A sale activated late shows as late, it does not disappear.
The sale's SDR or ISA is the deal owner on the won date. The AM of an account in a past month is the owner valid on the cutoff day (for example, the 5th); the current month uses the current owner. Read from owner history, never from today's owner. An account enters an AM's book only if it was active on the reference date.
Use the CRM user id and a people table with mapped spellings and nicknames, team, role, start and end date. Never join on a name typed in a free field or a spreadsheet.
When variable pay depends on the revenue the customer generates on the platform (transaction volume, platform revenue), measure it in 30-day cycles from the close (cycle 1, 2 and 3) and compare with the 30 days before the close. Real result = cycle 1 minus the previous 30 days, so you do not pay for revenue that already existed.
Targets per person and period and parameters (percentages, bands, deadlines) live in a table with start and end validity, not in code. A month's payout uses the version valid that month. A day-prorated target (monthly target x elapsed days / days in the month) is for tracking, never for paying.
Test deals, internal and duplicate accounts are excluded through a list with a reason, not ids written in code. Manual MRR or credit adjustments go into a table with author, date and reason, added to the payout and visible on the person's statement.
The calculation base has one line per sale (or account) and milestone, with person, dates, status (on time, late, pending, canceled) and the unique key (for example, week plus deal id) the commission tool uses to update without duplicating. The person's total is the sum of those lines, and they can check them one by one.
After payout, the month is stored and not recalculated. A payment or activation that arrives later goes in as an adjustment in the month it was found, with the original month recorded. A cancellation after payout follows the declared clawback rule, without rewriting the past.
Milestones that usually pay variable compensation
Role, milestone and the source that proves it.
Definitions
Pitfalls that already happened
Transferred accounts had earlier months' books recalculated with the current owner, and the former AM lost credit.
Owner valid on the cutoff day, read from history.
The same rep appeared with a nickname, full name and a misspelling, fixed by a CASE copied across several queries.
People table with id and nicknames.
The first installment by due date could be a canceled and replaced one, and the sale showed as unpaid.
Exclude canceled installments before sorting.
The same account had more than one onboarding record and generated two activations.
Deduplicate by the account's first onboarding date.
Test deals were hard-coded ids in the SQL; a new test made it into the payout.
Exclusion list with a reason, reviewed at every payout.
Lines without a unique key reached the commission tool and were stored twice.
Week plus deal key required; a line without a key is not sent.
Acceptance test
The case is done when every item passes.
- For each person and month, the total payout is the sum of the base's lines, and every line has a source and a milestone date.
- Changing a deal's current owner does not change the payout of any closed month.
- No canceled installment counts as a first payment.
- A week's on-time activation rate, redone by hand for 3 people, matches the base.
- Every line sent to the commission tool has a unique key, with no repeated key.
Agent package
Paste into Claude, ChatGPT or any client with the Nekt MCP connected.
Commissions tied to activation and payment - Variable pay is calculated from the calculation base: one line per sale or account and milestone, with person, milestone date and status. Totals are the sum of those lines. - A sale is credited to the deal owner on the won date. AM of a closed month = owner valid on day <cutoff day>. Never use the current owner for the past. - On-time activation: milestone by the Saturday of the fifth week after the sale week (Sunday to Saturday). Target <x>%, stretch target <y>%. - First payment = first non-canceled installment, by due date, with a payment date. - Targets and parameters come from the rules table valid for the period being calculated. - A paid month is frozen. Late items go in as adjustments in the month they were found. - When explaining variable pay, show the lines that make up the total and the status of each. Client exceptions: - <client>: the activation milestone for product <product> is <event>. - <client>: the onboarding team is paid on consumption in the 30 days after activation.
Build the "Commissions tied to activation and payment" case in my Nekt workspace following the rules at https://academy.nekt.com/en/industrias/saas/comissao-ativacao-pagamento.md. 1) Find the source tables and confirm the columns the rules use. 2) Create a transformation at the stated grain applying every rule. 3) Run the acceptance test and show me the result of each item. 4) Create the case's context document in the workspace, leaving my clients' exceptions open for me to fill in.
Variations
An account counts for the CSM when three value indicators (for example, features used, failures identified and savings logged) are above target in the month.
For transactional platforms, the closer is paid on platform revenue in the 30-day cycles after the close.
Monthly MRR, NPS, churn and delinquency targets in the same table with validity dates, tied to OKRs.