Reconcile paid orders and keep the sales workflow connected


In 30 seconds
Problem
Sales work needs consistent links between orders, commissions and support conversations, with permissions enforced across API and interface.
My part
I built CRM extensions with Rails data models and APIs, a Vue Kanban interface and idempotent reconciliation of paid orders and commissions.
Result
The implementation preserves commercial relationships during reconciliation and exposes the work through the application’s API and interface.
Technical decisions
Extend the existing support platform.
- Why
- CRM actions need the same account context and access rules as customer support.
- Trade-off
- Extensions must follow changes in the upstream application.
Make reconciliation repeatable.
- Why
- A repeated operation should preserve the existing commercial links.
- Trade-off
- The data model and reconciliation rules need explicit handling of duplicate relationships.
Operation
I kept API/MCP contracts aligned with platform changes and repaired task-tool output filtering without exposing attachment storage URLs. Another fix fetched canned-response attachments through the application’s own origin.
Authorship
I built the CRM and commerce modules on Chatwoot’s open-source (MIT) core, without the Enterprise edition. Upstream authorship remains with the original project.

