Internal Frappe app for agent incentive configuration, plan management, and ledger tracking based on encounter-owned collections.
Agent Incentive Settingssingle doctypeAgent Incentive PlandoctypeAgent Incentive RundoctypeAgent Incentive Ledgerdoctype- formula helper functions for threshold and payout logic
- setup status API
- smoke-check API
cd $PATH_TO_YOUR_BENCH
bench get-app /Users/admin/.openclaw/workspace/agent_incentives
bench --site yoursite install-app agent_incentives
bench --site yoursite migrate
bench --site yoursite clear-cache- Open
Agent Incentive Settings - Configure threshold defaults and deduction behavior
- Create one active
Agent Incentive Planper sales agent - Verify setup using:
/api/method/agent_incentives.api.setup.get_setup_status/api/method/agent_incentives.api.setup.smoke_check
- Run monthly calculations into
Agent Incentive Ledger
This app is plug-and-play from the code side for settings/plans/ledger structure, but real incentive calculation still depends on frozen attribution fields and ERP-side collection data being present and trustworthy.