John Herold
Senior Business Analyst, Revenue Operations, Analytics & GTM Systems
Connected systems. Trusted data. AI that gets results.
- Connects every system the business runs on, in real time where it matters: Salesforce, NetSuite, Asana, PandaDoc and product usage.
- Builds a full picture of business health, customer risk and day-to-day operations, in one place.
- Turns month-end work into daily updates. Analysis that used to take days at each monthly close now runs daily or answers on demand.
For hiring managers: I build and run revenue operations systems end to end, from Salesforce architecture and finance integrations to ARR reporting and commissions. Every project below has a working demo on invented data, so you can see how it works, not just read about it.
Results
- Visibility: Immediate insight into coordinated efforts. Teams no longer track renewal process and status in separate systems.
- Checked: $40M ARR verified each month. Month-end ARR close now takes 3 to 4 days, down from two to four weeks, with many components updated daily.
- Paid sooner: $10M a quarter collected sooner. Median time from invoice to payment fell from 30 days to 15.
- Insights: 20% more accounts saved, 30% more upsell. On-demand risk and opportunity profiles for every client, built from real call recordings, emails and Slack.
Salesforce work since 2022
150 flows, 122 validation rules, 512 custom fields, 108 Rollup Helper rollups, 48 Apex classes, 9 Lightning web components.
Projects
Renewal work is tracked in Asana, but the facts live in Salesforce. This sync pushes every mapped change on an opportunity to its Asana task almost as soon as it's saved, using mappings that can be changed without touching code.
Value: Renewal teams see changes in seconds instead of 15 to 20 minutes. Lapsed contracts from 40% to 10%.
Two Salesforce tools that keep renewal records honest. One stops a delete that would silently break product links and walks the rep through fixing them. The other splits the products a customer is dropping onto their own lost opportunity.
Value: A delete can't silently break renewal data anymore, and partial churn is recorded correctly.
Rollup Helper keeps dozens of totals on accounts and opportunities up to date, until a row lock or a failed run quietly leaves one wrong. This recounts every tracked rollup from its source records each morning, lists what doesn't match, and lets a person queue the fix.
Value: Stale totals get caught within a day. Open mismatches fell from 23 to 9 in ten days.
A rework of how contracts with heavy messaging use are priced. The old calculator held the whole account to one blended margin and rationed messaging with a cap. The new model splits the price in two: a platform fee that covers fixed cost, and metered usage with a committed volume and an overage rate.
Value: Each part of a contract carries its own margin, so a discount can't quietly erase profit. Ensures 70%+ margin.
Every month, each Salesforce product becomes one Historical ARR record per month of its term. Those records are checked a dozen ways, rolled into an ARR file, turned into a monthly bridge, and read by leadership in an executive review.
Value: Leadership reads ARR that's been checked a dozen ways, every month. Month-end ARR close now takes 3 to 4 days, down from two to four weeks. Close cut from 2–4 weeks to 3–4 days.
Every month since January 2022: pull quota credit from Salesforce, apply each plan's rules, review the exceptions, check pacing, and approve the payout list. 57 runs in a row.
Value: 57 payout lists in a row, each traceable to the deals behind it. Covers about $40M in annual revenue and $2M+ in annual commission payouts, 57 runs in a row. $2M paid per year.
Contracts are built from the opportunity itself. The rep picks their team's template, Salesforce fills in the customer, terms and products, approvals run in PandaDoc, and the signed contract lands back on the record.
Value: Contracts are built from the deal, so prices and terms are never retyped. 300+ enterprise contract amendments approved a year. AI reviews contracts in 10 seconds.
Product usage from the company's own systems syncs onto each account in Salesforce on a schedule, through Fivetran. Once usage lives on the account, overage opportunities, margin on open renewals and health scores all update from it.
Value: Overages and margins update from real usage, with no imports. $1M overage billed 2025–2026.
Celigo's integrator.io package connects Salesforce to NetSuite. A closed-won deal becomes a sales order, the account becomes a customer, and invoices and payments come back to Salesforce, so sales and finance work from the same records.
Value: Sales and finance work from the same records, and the median invoice is now paid in 15 days, down from 30. Median collection from 30 to 15 days.
An MCP server, co-built and maintained, that combines data from every customer system into one place. Anyone can ask about a customer and get an immediate answer, and it produces combined analysis like churn risk, meeting prep and weekly briefings. MCP, the Model Context Protocol, is the standard that lets AI assistants read live business data.
Value: Account risk is one question away instead of hours of digging. ID $4M in churn risk with action plan.
Most of this work lives in one Salesforce org: flows, validation rules, formulas, rollups, Apex and the connections to Asana and NetSuite. This page shows how the pieces meet on a single renewal, then maps them across the org.
Things Salesforce, Apex and Google Sheets don't tell you until they cost you an afternoon. Each one came up while building the work on this site.
The habits that show up in every build on this site, and the tools they run on.
Smaller pieces and side projects. Same habits, different subjects.
Skills and focus areas
Focus areas: Revenue operations · Go-to-market operations · Business performance management · KPIs and SaaS metrics (ARR, net retention, churn) · Board and executive reporting · Business intelligence and analytics · Sales compensation and commission operations · Financial modeling (ACV, pricing, pacing) · Deal desk and contract workflow · Enterprise AI (MCP, LLM-assisted revenue workflows) · Data quality and reconciliation
Systems and tools: Salesforce (Flow, Apex, Lightning web components, Rollup Helper) · Salesforce CLI · GitHub Actions · NetSuite and Celigo · PandaDoc · Asana · Fivetran · Coefficient · Google Sheets and Apps Script · Python · Slack · Jira · Claude Code · Model Context Protocol (MCP)
Contact
johnwherold@gmail.com · LinkedIn
Six case studies
Salesforce to Asana sync
Move data between systems. Started as a polling script in Google Apps Script. Now runs in Apex: a trigger hands changes to a queued job that updates the matching Asana task, driven by metadata mappings, with a daily full resync as a safety net.
The demo: Change a renewal's stage and watch the Asana task update, then replay it the old polling way.
Renewal relinking and product split
Give reps better tools. Deleting or repointing a renewal used to break product links silently. A guard now stops the delete and a guided screen relinks the products. A second tool splits churning products onto their own opportunity.
The demo: Match products in four passes, then split off the ones a customer is dropping.
Rollup Reconciliation Desk
Keep data right. Recalculates what each tracked rollup should say, compares it with what Salesforce holds, and posts the differences every morning. Open mismatches fell from 23 to 9 over ten daily runs.
The demo: Open each mismatch to see the recount behind it, queue fixes, and run the next day's check.
Pricing calculator
Give reps better tools. A two-part model: a platform fee plus metered usage, with committed volume and an overage rate. Margin on each part updates as the terms change.
The demo: Price a contract for a sample account, compare it with the old model as usage grows, and move along the margin curve.
Monthly ARR close
Keep data right. Every Salesforce product becomes one Historical ARR record per month of its term. A dozen checks catch overlaps, gaps and bad prices, then the records roll into an ARR file, a monthly bridge and an executive review.
The demo: Watch a product become monthly records, run and fix the checks, then drill into the bridge and the executive review.
Month-end commission run
Keep data right. Every month since January 2022: pull quota credit from Salesforce, apply the plan rules, review exceptions, check pacing, and approve the payout list.
The demo: Run one month for ten invented reps, from import to approval.
Every project, by what it does
25 projects across 9 systems.
Move data between systems (7)
Nobody retypes a deal. Contracts, usage, orders and tasks flow on their own.
- Salesforce to Asana sync (Integration, case study): Renewal teams see changes in seconds instead of 15 to 20 minutes. Lapsed contracts from 40% to 10%. Apex triggers hand each change to a queued job that updates the Asana task, driven by metadata mappings. Systems: Salesforce and Asana.
- Deploy pipeline (Integration): Every change to Salesforce is tested, deployed and logged the same way. Every push deploys through GitHub and opens an Asana task tagged with the commit. Systems: GitHub and Salesforce.
- PandaDoc amendment sync (Integration): Amendment requests show where their contract stands without anyone checking PandaDoc. Document status updates the matching Asana task through a verified webhook. Systems: PandaDoc and Asana.
- Renewal Amendment Check (Automation): No amendment slips past its upcoming renewal. An Asana AI Teammate that links each new amendment to its upcoming renewal. Systems: Asana.
- Salesforce to NetSuite (Integration): Sales and finance work from the same records, and the median invoice is now paid in 15 days, down from 30. Median collection from 30 to 15 days. Closed-won deals become NetSuite sales orders, and invoices and payments come back to Salesforce. Replaced Maxio and QuickBooks. Systems: NetSuite and Salesforce.
- PandaDoc to Salesforce (Integration): Contracts are built from the deal, so prices and terms are never retyped. AI reviews contracts in 10 seconds. Contracts built from the opportunity, with team templates and approvals, and status tracked on the deal. Systems: PandaDoc and Salesforce.
- Usage to Salesforce (Integration): Overages and margins update from real usage, with no imports. $1M overage billed 2025–2026. Product usage syncs onto accounts through Fivetran and drives overages, margins and health scores. Systems: Usage data and Salesforce.
Keep data right (8)
The numbers leadership and reps rely on are checked before anyone reads them.
- Rollup Reconciliation Desk (Data check, case study): Stale totals get caught within a day. Open mismatches fell from 23 to 9. Recounts tracked rollups every morning and posts what Salesforce got wrong. Systems: Salesforce and Asana.
- Monthly ARR close (Process, case study): Leadership reads ARR that's been checked a dozen ways, every month. Close cut from 2–4 weeks to 3–4 days. Turns every product into monthly ARR records, checks them a dozen ways, and builds the ARR bridge leadership reads. Systems: Salesforce and Sheets.
- Month-end commission run (Process, case study): 57 payout lists in a row, each traceable to the deals behind it. $2M paid per year. Pulls quota credit from Salesforce, applies each plan's rules, reviews exceptions and approves the payout list. Systems: Salesforce and Sheets.
- Record reconciliation (Data check): Real mismatches get fixed first, instead of chasing formatting noise. Compared 20,000+ records and separated real mismatches from formatting noise. Systems: Salesforce and Sheets.
- Usage pull and recheck (Data check): Usage numbers were proven right before anyone priced from them. Pulled usage for 877 accounts, checksummed it, and traced the one real discrepancy. Systems: Usage data and Sheets.
- ARR change alerts (Data check): Changes to ARR are announced the day they happen, not found at month-end. Snapshots the ARR sheet daily and posts what changed to Slack, next to a nightly check that every ARR import ran. Systems: Sheets and Slack.
- Product-status checker (Data check): A wrong product status gets traced to the exact step that broke. Finds which of three date hops broke when a product status looks wrong. Systems: Salesforce.
- Validation-rule audit (Data check): Rollups stopped failing on validation rules wherever the org allowed a fix. Audited 54 rules and added a rollup bypass to the 22 that could take one. Systems: Salesforce.
Give reps better tools (5)
Reps fix and price deals themselves, in the record they're already working in.
- Renewal relinking (Rep tool, case study): A delete can't silently break renewal data anymore. Blocks deletes that would orphan product links and walks reps through the fix. Systems: Salesforce.
- Product split (Rep tool): Partial churn is recorded correctly: renewed products won, dropped products lost. Moves churning products onto their own opportunity, so one deal can be partly won. Systems: Salesforce.
- Pricing calculator (Rep tool, case study): Each part of a contract carries its own margin, so a discount can't quietly erase profit. Ensures 70%+ margin. Platform fee plus metered usage, with margins that update as the terms change. Systems: Salesforce.
- Renewal eligibility logic (Automation): Every renewal says whether it will auto-renew, and why not. Decides whether a renewal can auto-renew, and records why when it can't. Systems: Salesforce.
- ARR drilldown (Rep tool): The deals behind any monthly total are one click away. Click a monthly total to see the deals behind it. Systems: Sheets.
Make numbers readable (5)
Leadership sees what moved and why, not just the total.
- Account Intelligence MCP (Intelligence): Account risk is one question away instead of hours of digging. ID $4M in churn risk with action plan. Co-built MCP server: combines Salesforce, Slack, Asana, Jira and call recordings, answers questions about any customer, and scores churn risk. Systems: Account Intelligence MCP.
- Commission bump charts (Reporting): Rep performance trends are readable at a glance. Shows how rep rankings shift across quarters and segments. Systems: Sheets.
- Margin curve (Reporting): Shows which price cuts cost the most margin before they're made. Shows why margin swings hardest at low per-segment prices. Systems: Sheets.
- Net-impact views (Reporting): Commission reviews start with the accounts that actually change pay. Groups accounts by whether commission changes net to zero, up or down. Systems: Sheets.
- Bookings reporting (Reporting): Month-end bookings are captured the same way every time. Month-end snapshots of booked but not live deals, plus weekly bookings buckets. Systems: Salesforce and Sheets.
Systems on the map
- Salesforce: Where deals, renewals and products live.
- Asana: Where renewal and finance work gets tracked.
- Google Sheets and Apps Script: Where reporting, commissions and analysis run.
- Slack: Where the team hears about changes.
- PandaDoc: Where contracts and amendments get signed.
- NetSuite: Where invoices and payments land.
- Usage dashboard: Where messaging volume gets reported.
- GitHub: Where Salesforce code is versioned and deployed.
- Account Intelligence MCP: Co-built MCP server that combines data from every system and answers questions about any customer.
What the Account Intelligence MCP reads
- Reads Salesforce: Renewals, accounts and conditional deals, pulled through the Bulk API.
- Reads Slack: Account channels, about 1,400 of them, several times a day. Every sync job also posts its result back to Slack.
- Reads Asana: Renewal and amendment tasks, refreshed nightly.
Project details
Salesforce to Asana sync
Status
In production
Built with
Apex triggers, queued and scheduled jobs, custom metadata, a named credential, GitHub Actions
Systems
Salesforce, Asana, GitHub
Replaced
A Google Apps Script that polled on a schedule
Demo data
Invented. Harborline Staffing is a made-up company.
The problem
Renewal and finance teams work from Asana, one task per renewal. The facts on those tasks, like stage, renewal status, whether it will auto-renew and the amount, come from Salesforce.
The first sync was a Google Apps Script that ran on a schedule. Changes waited 15 to 20 minutes to show up, and adding a field meant changing the script. On April 1, 2026, Asana also retired the Apex action some Salesforce flows had used to reach it.
How it got here
A polling script
- RenewalSync, in Google Apps Script. Four stages: pull from Salesforce, find mismatches, create missing tasks, push the fixes. It saved its place so a run that hit a time limit could pick up where it stopped.
- Stopgap
A webhook for stage changes
- A Salesforce flow posted stage changes straight to the script's web address, so the most important field stopped waiting for the schedule.
- Now
AsanaSync, in Apex
- Triggers hand changes to a queued job that updates the Asana task directly. Field mappings live in custom metadata. A daily resync catches anything missed.
What made it hard
A cap on outside calls
A Salesforce transaction can make 100 calls to other systems, so each job takes about 45 opportunities. Saving each opportunity's Asana task ID cut the calls per opportunity from two to one.
Timeouts with a budget
The default 10-second wait was too short for some Asana calls. It's 20 seconds now, and on purpose no longer, because a transaction only gets 120 seconds of call time in total.
Too many jobs at once
Bulk updates from other flows tried to queue more than 50 jobs in one go, which Salesforce refuses with a "too many queueable jobs" error.
A key that quietly got cut off
A 40-character text field silently truncated long mapping keys, which hid a broken mapping across 161 opportunities.
An old picklist value
One mapping was still keyed on a picklist value that had since changed, which left 22 opportunities unsynced.
Deploys that lied
The deploy workflow picks Apex classes by file name, so a class named outside the pattern was skipped while the run still reported success.
How it fits together
Where changes start
Opportunity triggerFires after an opportunity is saved
Account triggerFires when account fields the tasks show change
Deciding what to send
HandlersWork out which mapped fields changed
Scope rulesDecide which opportunities sync at all
Queued jobTakes about 45 opportunities per run
Talking to Asana
Asana serviceThe only class that calls Asana, through a named credential, so the login never lives in code
Currency serviceConverts non-USD amounts with the org's own exchange rates
Mappings
92 metadata records across 12 typesIncluding 15 stage maps, 15 non-renewal reasons, 11 PandaDoc statuses and 10 direct field mappings
Safety net
Daily resync at 5:30 AMRechecks every in-scope opportunity and fixes whatever drifted
Shipping
GitHub ActionsPush to main deploys to the sandbox. Production is a manual run. Each deploy opens an Asana task tagged with the commit.
Try it
Harborline Staffing's November renewal is moving. Change a few fields on the Salesforce side and save. Then switch to Before and do it again to feel the difference.
Salesforce opportunity
O-1071
Harborline Staffing, renewal Nov 2026
Owner Priya Venkat. Asana task saved on the record.
No unsaved changes.
Asana task
In sync
What was sent to Asana
Nothing sent yet. Save a change to see the request.
Mappings used
- The metadata records that translate each changed value appear here.
A price-book change or a data load can touch hundreds of renewals at once. Each queued job has to stay under Salesforce's limit of 100 outside calls.
120
Every morning at 5:30 a scheduled job rechecks every in-scope renewal against its Asana task and fixes whatever drifted, like a field someone changed by hand in Asana.
Not run yet.
Outcome
What changed
AsanaSync runs in production. Renewal changes reach Asana almost immediately instead of 15 to 20 minutes later.
Adding a field to the sync means adding a metadata record, not changing code. Every deploy opens an Asana task tagged with its commit, so each change to the sync has a record.
What's next
Retire the old polling script once every field it handled is covered by the Apex sync.
Every company, person and number in this demo is invented, including the Asana IDs.
Renewal relinking and product split
Status
In production
Built with
Apex, Lightning web components, quick actions, Flow actions
Systems
Salesforce
Demo data
Invented. Harborline Staffing is a made-up company.
The problem
Every product on a current contract points at the product that renews it on next year's renewal opportunity. Those links drive renewal dates, renewed ARR and the checks that catch gaps in a customer's subscription.
When someone deleted a renewal, or pointed a contract at a different one, Salesforce cleared every one of those links. No error, no warning, and no record of what had pointed where.
A second problem sat next to it. A renewal's stage lives on the opportunity, so when a customer renewed some products and dropped others, one record couldn't be both won and lost.
What made it hard
The Delete button can't be replaced
Salesforce doesn't let you override the standard Delete action, so the guard blocks the delete and sends the rep to the fix instead.
Products can't move between opportunities
A product line's opportunity can be set once and never changed, so moving products means recreating them and deleting the originals.
Some fields can't be copied
Four billing and ERP ID fields must be unique, so copying any of them onto the split opportunity fails outright. The copy leaves them out on purpose.
Settings arrived empty
Data passed two levels deep into the server arrived with its lists silently empty, so the screens send it as plain text and the server unpacks it.
A dialog locked the page
A quick action that closed itself before its dialog did left the record page unable to scroll until it was reloaded.
Price fields fight each other
Total price and unit price can't both be set when a product is created, so the split writes only one and lets Salesforce derive the other.
How it fits together
Where reps start
Relink buttonOn the renewal's record page
Two quick actionsOpen the same screens from the action menu
A blocked deleteThe delete guard catches it and points to the fix
Screens
Matcher tablePairs each current product with a product on the renewal
PanelHolds the matcher on the record page
DialogHolds the panel when a quick action opens it
Engine
Relink serviceRuns the four matching passes and rewrites the links. It has no screens of its own, so the screens, two Flow actions and the delete guard all share it.
Where reps start
Split quick actionOn the renewal's record page
Screens
Split dialogPick the products that are churning and the reason
Engine
Split serviceCopies the renewal, moves the products and closes the copy as lost, all or nothing. Two more delete guards cover opportunities and products.
Try it
Harborline Staffing has two open renewals for its November contract. The renewal automation made the first in June. Someone made a second in September on the 2027 price book. You want to keep the new one and delete the old one.
- Try the delete
- Match products
- Relink and delete
Harborline is renewing everything on the 2027 renewal except one product. The renewal needs to close won for what they kept, and the dropped product needs to close lost with a reason.
Outcome
What changed
Both tools run in production. A delete that would have broken product links is blocked, and the rep lands on the fix instead of a silent error.
The rep sees every match before anything changes. Partial churn is recorded as two outcomes: the renewal closes won for what the customer kept, and the dropped products close lost with a reason.
What's next
Each org still needs a few setup steps by hand, like placing the button on the page and assigning the permission set, because a deploy can't do them. Scripting that setup is the next step.
Every company, person and number in this demo is invented.
Rollup Reconciliation Desk
Status
In production, runs every morning
Built with
Python, the Salesforce CLI, a scheduled job on a Mac, Asana, a published Claude page
Systems
Salesforce, Asana
Scale
98 rollups defined, 22 checked daily
Demo data
Invented. Every company here is made up.
The problem
Rollup Helper totals, counts and dates feed reports and flows across the org. When a recalculation hit a row lock or a scheduled run failed, the old value simply stayed. Nothing flagged it, and a wrong total looks exactly like a right one.
Checking by hand meant knowing what each rollup should add up, where its source records live, and which filters it uses. There are 98 of them.
How it works each day
Recount
- A Python script reads each rollup's definition and recalculates it straight from the source records.
- Scheduled job
Compare
- Each recount is checked against the value Salesforce holds today.
- Scheduled job
Post
- The results go to an Asana task, so the day's run has a record.
- Scheduled job
Review
- The Desk lists every mismatch with the math behind it. A person decides which to fix.
- A person
Push
- A local script writes the queued fixes back to Salesforce.
- Local script
What made it hard
The page can't reach Salesforce
Published pages are blocked from calling Salesforce and there's no Salesforce connector, so Refresh loads the last scheduled run from its Asana task instead of live data.
The scheduled job can't republish the page
The tool that updates the Desk only works in a Claude Code session someone is running. The morning job runs unattended, so that step stays manual.
A refresh mustn't undo a review
Each row's status belongs to the page, and a refresh updates rows instead of replacing them, so a fix someone queued isn't wiped out by the next pull.
The bypass is per user
Rollup Helper's validation-rule bypass is set per user, so which user a rollup runs as decides whether it works. Flow custom errors ignore the bypass entirely.
One cause, fixed at the source
Some rollups went stale because validation rules rejected Rollup Helper's writes. Every rule in the org was audited, and the bypass was added wherever Salesforce allowed it.
The 32 that couldn't take it live inside managed packages, which can't be edited. That limit is permanent.
54 validation rules audited
22 given the bypass 32 locked in packages
Most rules sat on Opportunity (15) and Account (12).
Try it
This is the morning after the September 24 run. Open a row to see the recount behind it, queue the fixes you agree with, push them, then run the next day's check.
Open mismatches by day
Record
Rollup
Salesforce holds
Recount says
Status
An account's product status is the end of a chain: product dates roll up to the opportunity, then to the account, then a daily flow sets the status. Any link can break, and they all look the same from the account. The checker recalculates every hop and names the one that failed.
Outcome
What changed
Open mismatches fell from 23 to 9 over ten daily runs, from September 15 to 24. Each run's results are posted to Asana, and ten days of run history are kept.
On the product-status chain, a fix to a sort direction cleared 13 of 15 flagged accounts. The other 2 weren't misconfigured. They were waiting for the daily flow to process them.
What's next
The opportunity-level hop in the product-status chain still has the same sort bug. Fixing it is the next step. Refreshing the Desk after each run is still manual, for the reason above.
Every company, person and number in this demo is invented.
Pricing calculator
Status
Proposed model, built as its own Salesforce tab
Built with
One self-contained web page inside a Lightning web component
Systems
Salesforce
Demo data
Invented. Costs and margin targets here are not the real ones.
The problem
The old calculator priced an account against one blended margin on its total ARR. Messaging was rationed with a cap: segments could use up a fixed share of ARR in cost, and no more.
That made two things hard to see. A blended margin doesn't say which part of a contract earns money. And messaging margin isn't a straight line. At low prices per segment, a small discount costs far more margin than the same discount at a higher price, and a blended number can hide which accounts are eroding it.
Decisions in the new model
Two pools, priced separately
A platform fee recovers fixed cost. Messaging is metered, so its revenue grows with use instead of eating into a flat price.
Committed volume plus an overage rate
Contracts commit to a yearly volume at one rate, and anything above it bills at an overage rate.
Real cost, not list price
Cost per segment comes from carrier actuals rather than the provider's public list price.
A higher bar for the platform
The platform fee targets a higher margin than the old blended target did.
How it's built
A page inside Salesforce
The calculator is one self-contained web page, stored as a static resource and shown in a Lightning web component on its own tab. It has no Apex, reads no Salesforce data and makes no network calls, so it can't change anything in the org.
Fonts carried inside the page
Salesforce blocks outside resources unless each one is approved as a trusted site. The page's fonts are embedded in the file itself, about 185 KB in all, so it needs no exceptions to the org's security settings.
Try it
Start from one of three sample accounts, then move the sliders. The first two tabs share these settings.
Platform
Messaging
Yearly contract
The same account under both models as its messaging grows. The old model charges a flat bundled price, so every extra segment comes out of margin. The new one bills the extra.
New model Old model Old messaging cap
Margin on a segment is 1 minus cost over price. The curve bends hardest at the low end, where each $0.001 off the price takes the most margin. The dots are the 23 sample accounts with messaging.
Price per segment
Margin
Margin lost to a $0.001 cut
Sample accounts near this price
Outcome
What changed
In the new model each part of a contract carries its own margin, so a rep can see whether the platform fee or the messaging is doing the work. Heavy messaging users pay for what they send instead of wearing down a flat price.
The model runs as a calculator a rep can open in Salesforce, not a spreadsheet analysis someone has to walk them through.
What's next
An open question: whether the platform fee can be anchored back to an account's ARR, so the new model lines up with how accounts are sized today.
Every company, cost, price and margin target in this demo is invented.
Monthly ARR close
Status
Runs every month as a 55-task close project
Built with
A Historical ARR object, flows and reports in Salesforce, Google Sheets, Coefficient, Census, Apps Script
Systems
Salesforce, Google Sheets, Asana, Slack
History
Monthly ARR back to January 2021
Demo data
Invented. Every company and number here is made up.
The problem
A deal in Salesforce says what a customer bought and for how long. ARR reporting needs something different: what each customer was paying in each month, and why it changed. Getting from one to the other means turning every product into monthly records, then proving those records are right before anyone reads the numbers.
The hard part is the edges. Terms that end mid-month, renewals that start before the old term finishes, renewals that lapse and then close lost, and amendments that change months already reported.
How the month closes
Build
- Create last month's Historical ARR from Salesforce. A flow marks each product once its records exist.
Check the records
- Overlaps, duplicates, record counts, gaps, prices and dates. Fix, then run every check again.
Refresh the ARR file
- Pull the records into the year files and the ARR file that builds the bridge.
Verify the file
- Check each bridge category, confirm totals and customer counts match across every tab, and confirm no month goes negative.
Lock the month
- Save a named version and frozen copies with imports turned off. The prior month is final.
Publish
- A Slack alert confirms the import, the executive review reads the new month, and commissions start.
What makes it hard
Renewals that start the month the old term ends
Both terms get a record for that month. The overlap check removes the old term's copy. Expect it every month.
13 expected, 12 found
A term that ends mid-month expects 13 monthly records. After the overlap is removed it has 12, which is correct unless the renewal later falls through.
Lapsed renewals that close lost leave a gap
A lapsed renewal carries ARR forward and gets records. If it closes lost, a flow deletes them, leaving a one-month gap and a product still marked as having records. Both are fixed by hand.
One fix can trip another check
Creating missing records can create new overlaps, so every check runs again after each round of fixes.
Past months move
Amendments and reversals change months already reported. Each month is compared with the last saved version, and amendments have to net out.
Syncs don't always behave
A scheduled sync can fail or overwrite a tab, helper columns included, so each one is confirmed. Prices changed while a deal sits in Closed Being Processed can leave ARR out of step with the product.
Try it
Harborline's Core platform runs Nov 11, 2025 to Nov 11, 2026 at $48,000. Its renewal starts Nov 12 at $49,900. Step through what happens to the monthly records, then try the version where the renewal lapses.
Current term record Renewal record Carried by a lapsed renewal Removed or deleted Restored by hand
August 2026's records have just been built. Run the checks, fix what they find, and run them again. One of the fixes causes a new problem.
Outcome
What changed
The close runs as the same Asana project every month, about 55 tasks from building Historical ARR to locking the month. Each step links to the report or sheet it checks, so anyone can pick it up.
ARR is rebuilt from Salesforce back to January 2021, and an executive review reads the same model: 68 months of live ARR, retention, segment and product detail, filtered instead of scrolled.
Month-end ARR close now takes 3 to 4 days, down from two to four weeks.
Read monthly by the CEO and executive board.
Board reporting on NDR, ARR and churn, including an audit of historical false spikes.
What's next
Automate the first-of-month snapshot of every opportunity's owner, manager and CSM, which is still taken by hand. Product adoption score updates are the other part of the close still run manually.
Every company and number in this demo is invented. The monthly history is simulated from the site's sample book.
Month-end commission run
Status
Runs monthly, 57 months in a row
Built with
Google Sheets, Salesforce reports and flows
Systems
Salesforce, Google Sheets
Scale
About 17,600 quota-credit lines since 2022
Demo data
Invented. Reps, rates, rules and deals are all made up.
The problem
Commission inputs live in Salesforce: quota credit on each deal, plus reversals, rebooks and true-ups. Each team's plan pays differently, and some reps have their own terms.
The run has to be right every month, and it has to be explainable. When a rep asks why this month is lower, the answer needs to point at specific deals.
How the month runs
Pull quota credit
- One line per deal from Salesforce, along with the rep list, managers and term dates.
Apply the rules
- Team rates, reversals, true-up exclusions and any rep-specific terms.
Review exceptions
- Accounts that net to zero, reps whose month nets negative, and deals that pay only once the invoice is paid.
Check pacing
- Year to date against an annualized pace and last year, by rep and team.
Approve the list
- One payout line per rep, sent as the month's payout list.
What makes it hard
Reversals and rebooks
A reversal carries negative quota credit, so one account can net to zero, up or down in a month. A net-impact view sorts accounts that way, so the review starts with the ones that change pay.
Plans have exceptions
Multi-year true-ups are left out, and some reps are on their own terms. Both have to be applied the same way every month. Designed the 2026 global incentive framework, indexing $1.5M in variable payouts to performance metrics.
Some deals pay on the invoice
Payments on AI product deals are tracked against paid invoices, so the commission is held until the customer pays.
History has to add up
Pacing and year-over-year checks need every prior month, so quota credit is kept in a tab per year, about 17,600 lines since 2022.
Some sorting happens in Salesforce
A flow stamps each customer success lead's commission status for the quarterly review, so those deals arrive already sorted.
ACV modeling and backtesting
Multi-year kicker and loss-target structures were modeled and backtested on ACV.
Charts have to stay readable
Rank charts covered 38 reps across 4 segments and 10 quarters. A circular version was built too, to show why that layout fails at that density.
Try it
Run September 2026 for ten invented reps. Each step can be revisited, and turning a rule off in step 2 flows through to every step after it.
Quota-credit rank by quarter. Pick a team to rank reps within it, or pick a rep to follow their line.
Outcome
What changed
57 monthly runs in a row, from January 2022 through September 2026, each ending in an approved payout list.
Paid and booked are tracked side by side for every rep and team, with year-to-date pacing and annualized projections.
Covers about $40M in annual revenue and $2M+ in annual commission payouts, 57 runs in a row.
Every rep, rate, rule, deal and dollar in this demo is invented.
PandaDoc to Salesforce
Role
Built and maintains
Replaced
Contracts built by hand in PandaDoc, with no link to Salesforce
Systems
Salesforce, PandaDoc, Asana
Demo data
Invented. Harborline Staffing is a made-up company.
The problem
Contracts were built by hand in PandaDoc, with no link back to Salesforce. Reps retyped customer details, terms and prices from the opportunity, nobody could see a contract's status from the deal, and signed copies lived wherever they were saved.
How it's wired
Start from the deal
- The PandaDoc panel on the opportunity creates a new document from it.
- PandaDoc
Pick the team's template
- Templates are organized by team and deal type: new business, enterprise and international renewals, mid-market renewals, amendments, corporate and partnerships.
- PandaDoc
Merge and approve
- The account, contacts, terms and every product on the opportunity fill in, then the document goes through that template's approval flow.
- Salesforce
Sign and track
- Status follows the document on the opportunity as the customer views and signs, and the signed copy is uploaded to the record.
What made it work
One template per team and deal type
Each folder has its own approvers, so a mid-market renewal and a new enterprise deal don't share wording or sign-off.
Products come from the opportunity
The pricing table is built from the opportunity's products: name, dates, term, unit price, quantity and total, with the first-year total from ACV. Nobody retypes a price.
Signers set by role
Templates assign a primary contact for signature and the account executive, so the right people are on every document.
Status travels further
Document status also feeds the Asana sync, which maps 11 PandaDoc statuses, and amendment requests follow their documents through a webhook.
Try it
Harborline's November renewal is ready for paperwork. Build the order form from the opportunity, get it approved, and send it for signature.
Outcome
What changed
Contracts start from the opportunity and finish on it. Customer details, terms and prices come straight from Salesforce, each team has its own approved templates, and anyone looking at the deal can see where the contract stands.
300+ enterprise contract amendments approved a year.
What it connects to
Document status feeds the Salesforce to Asana sync, and amendment requests are tracked through the PandaDoc amendment sync. Signed terms become the products that the monthly ARR close turns into Historical ARR.
Every company, person and number in this demo is invented.
Usage to Salesforce
Role
Built and maintains
Replaced
Manual imports, with no connection between usage and Salesforce
Systems
Internal usage data, Fivetran, Salesforce
Demo data
Invented. Every account here is made up.
The problem
Usage lived in the company's own systems, and Salesforce couldn't see it. Getting it onto accounts meant manual imports, so overages, margins and health scores were only as current as the last person who ran one.
How it's wired
Usage is rolled up
- System and user activity is summarized per customer: messaging segments sent, AI calls placed and more.
- Fivetran
A scheduled sync
- Fivetran matches each row to its Salesforce account and writes the values on a schedule.
- Salesforce
The account updates
- Usage lands in account-level fields, the one place every downstream process reads from.
- Salesforce
Everything downstream reacts
- Overage opportunities, margin on open renewals and health scores all update from the new numbers.
What made it work
Usage lives on the account
One set of fields for every process to read, instead of a sheet someone has to import.
Flows listen for changes
When segments sent changes on an account, a flow recalculates messaging margin on every open renewal.
Overages become opportunities
Usage above the committed volume turns into an overage opportunity to bill, instead of being found at renewal.
Every run gets confirmed
Scheduled syncs can fail or overwrite what's there, so each run is checked as part of the monthly close.
Try it
Last month's usage is on six sample accounts. Run the scheduled sync, then see what it sets off.
Account
Segments committed
Segments sent, last 12 months
AI calls placed
Sync
Outcome
What changed
Usage reaches Salesforce on its own schedule, with no imports. Overages are billed as they happen, open renewals carry a current margin, and health scores reflect what customers actually do.
What it connects to
The same usage drives the pricing calculator's margin math, feeds the health inputs in the monthly close, and is part of what the Account Intelligence MCP reads when it scores account risk.
Every company and number in this demo is invented.
Salesforce to NetSuite
Role
Built and maintains
Replaced
Maxio and QuickBooks
Systems
Salesforce, Celigo integrator.io, NetSuite
Scale
$30M to $40M in ARR, about 11,600 invoices since 2023
Demo data
The walkthrough is invented. Invoice timing is real, in aggregate.
The problem
Billing ran on Maxio and QuickBooks, apart from Salesforce. Sales closed deals in one system and finance invoiced from another, so order details were rekeyed and nobody on the sales side could see whether a customer had paid.
How it's wired
Closed won
- A won deal is picked up by Celigo's integrator.io package.
- NetSuite
Sales order
- The deal becomes a sales order, and its order number, record link and ID are written back to the opportunity.
- NetSuite
Customer and invoices
- The account becomes a NetSuite customer, and invoices are raised on the deal's billing terms.
- Salesforce
Invoices and payments come back
- Invoices and payments sync back as financial records. Paid dates are stamped and open balances roll up to the account.
What made it work
Only meaningful edits sync
Account and contact changes go to NetSuite only when key fields change, which keeps the sync quiet.
Synced deals can't be deleted
Once a deal is in NetSuite, a flow blocks deleting it in Salesforce.
Paid dates land on the invoice
A flow stamps each invoice's paid date when the payment comes back, so reports and rollups can use it.
Collections can stop new orders
Accounts in collections, or with invoices 120 or more days past due, can't get new sales orders.
Package limits are real
The package's own validation rules can't be edited, and a package query-limit error, CPU timeouts and transaction mapping each needed a root-cause review.
What the invoice data shows
11,594 Invoices synced since January 2023
30 to 15 days Median time from invoice to payment, 2023 to 2026
32% to 59% Paid by the due date
31% to 10% Paid more than 30 days late
Paid by the due date, by quarter
Share of paid invoices that were paid on or before their due date. Bars show the median days from invoice to payment.
The gains hold on the same payment terms: net-15 invoices alone went from a 28-day median to 15, and from 27% to 59% paid on time. 2026 counts only invoices paid so far, and records from before 2023 came over during the migration, so they're left out.
Try it
Harborline's November renewal just closed won. Follow it into NetSuite and back, then see what happens when the invoice goes unpaid.
Outcome
What changed
Between $30M and $40M in ARR moves through the connection. Sales and finance work from the same deals, and payment timing has improved every year: invoices are paid about twice as fast as in 2023, and far fewer run more than 30 days late.
What it connects to
Invoice and payment data feeds the collections rules above, the commission run's holds on deals that pay on the invoice, and the Salesforce rollups for open balances.
The walkthrough's company, people and amounts are invented. Invoice statistics are real, aggregated, and name no customer.
Account Intelligence MCP
Role
Co-built and maintains
Reads
Salesforce, Slack, Asana, Jira, call recordings, customer-success data, product usage
Runs
Scheduled syncs through the day and overnight, each posting its result to Slack
Scale
About 1,400 Slack channels, 12,000 Jira issues and 2,500 scheduled calls
Demo data
Invented. Harborline Staffing is a made-up company.
The problem
What a customer is going through is spread across a dozen places: the renewal in Salesforce, threads in Slack, tickets in Jira, tasks in Asana, what was said on calls. Reading all of it before a renewal meeting takes hours, so it mostly didn't happen until an account was already in trouble.
How it's wired
Scheduled pulls
- Separate jobs pull Salesforce, Slack, Jira, Asana, call recordings, upcoming calls and customer-success data on their own schedules.
- The MCP server
Match to accounts
- Each record is tied back to its Salesforce account, so a Jira ticket or a Slack thread lands on the right customer.
- The MCP server
One store
- Everything is written to a single database, refreshed through the day and overnight.
- Claude
Read it anywhere
- MCP tools expose account analysis, churn watch, meeting prep, renewals and weekly briefings to anyone with access.
What made it hard
Every run reports itself
Each job posts its result to Slack: success or failure, how long it took, and how many rows it wrote. A broken job is visible the next morning.
One missing field stops a whole job
The Salesforce pull asks for fields by name. If one of them doesn't exist, the entire job fails, and the alert names the field that did it.
Not everything maps to an account
Jira issues are matched to Salesforce accounts, and about three in four find one. The rest stay unmatched rather than landing on the wrong customer.
Channels come and go
The Slack pull covers about 1,400 channels. Archived channels can't be joined and some can't be tied to an account, so a guard skips them and the alert counts them.
Transcripts arrive late
Many call transcripts aren't ready when a call first syncs, so a repair job comes back for them.
Try it
Run the night's jobs and watch what each one posts to Slack. One of them is going to fail.
What the MCP hands a CSM before Harborline's renewal call, built from everything the syncs pulled in.
Outcome
What changed
Account context that used to take hours to gather is one question away. Renewals get a risk read before the meeting instead of after the loss, and every sync reports its own health in Slack.
What it connects to
It reads the renewals and usage that the Asana sync and usage sync keep current, and its risk reads sit alongside the monthly ARR close when renewals are reviewed.
Every company, person and number in this demo is invented.
Salesforce, end to end
Since
Early 2022
Counted from
The production org and the code repository
Counts mean
Built or maintained
Demo data
Invented. Harborline Staffing is a made-up company.
By the numbers
150 Flows
122 Validation rules
512 Custom fields
108 Rollup Helper rollups
48 Apex classes
9 Lightning web components
Flow count includes 33 retired and 17 draft flows.
Anatomy of a renewal
Every labelled button opens what's behind that part of the record. Then try Move to Closed Won and work through what stops it.
Point-and-click: flows, rules, formulas, rollups Code: Apex and Lightning components
The org map
Each circle is an object, sized by the flows, rules and rollups on it. Each line is a set of rollups carrying numbers up from one object to another. The counts cover what's in the production org outside the code repository.
What it covers
Renewal engine
Renewal creation with products, scheduled auto-renewal, renewals owned by the account manager, overage and metered opportunities, reversals and amendments, and checks for gaps and overlapping dates. Plus relinking and product split.
Revenue data model
A Historical ARR object with its own flows and rules, net and gross retention fields, and formulas for contracted, live and net new ARR.
Finance and deal desk gates
Ready for Finance before Closed Won, locks after close, a block on new orders for accounts 120 or more days past due, and NetSuite sync throttling and delete protection.
Sales process and data quality
Stage entry rules, deal scoring checks, champion and economic buyer counts, handoff completeness, slip reasons, and address and contact rules. Zero Dashboards: a campaign that closed about 15 classes of data defects.
Customer health and churn
Health scores, product status, activity-recency rollups, churn notice logic, and a daily scan that moves lapsed customers to Former Customer.
Integrations
The Asana sync, the PandaDoc connector for creating and tracking contracts from the opportunity, NetSuite through Celigo for orders, invoices and payments, product usage synced in through Fivetran, and the Account Intelligence MCP reading across all of it for account health.
Governance
MFA assigned to every new user, restricted field creation, view-only reporting, a lock on account ownership changes, and ARR overrides limited to named users.
Rollups
108 Rollup Helper definitions, real-time on 7 objects, checked every morning by the Reconciliation Desk.
The renewal and every company, person and number on it are invented. Org map counts are real; names are left off.
One renewal, piece by piece
- Relink and Split buttons (Lightning web components, Apex, Quick actions): Relink moves product links to another renewal in four matching passes. Split moves the products a customer is dropping onto their own lost opportunity. Both are guarded: deleting a renewal that products still point at is blocked.
- Moving the stage (Validation rules, Flows): Opportunity carries 63 validation rules outside the code repository, 52 of them active, plus the rules in the repository. Try Move to Closed Won to hit three of them.
- Renewal Status section (Formulas, Flows, Scheduled flow): Will auto renew and the non-renewal reason are formulas, fed by two flows that depend on each other. One on the account updates open renewals when segment usage changes. One on the opportunity decides eligibility and the reason. The reason covers all 15 combinations of four possible reasons. A daily scheduled flow keeps Renewal Status current.
- Current messaging margin (Formula, Flow): A percent formula that annualizes messaging price and cost across the contract term. When segment usage changes on the account, a flow recalculates it on every open renewal.
- Asana task (Apex triggers and queued jobs, Custom metadata): Saving this record queues an update to its Asana task. Metadata maps each field and value, so adding a field needs no code. A daily resync fixes anything that drifted.
- Rollup fields (Rollup Helper, Roll-up summaries): 108 Rollup Helper definitions keep totals like these current, and 22 are recounted from source records every morning. The badge shows when this record was last checked. Rollup Helper writes past validation rules with a per-user bypass. 22 rules have it. 32 live in managed packages and can't.
- Products and their renewal links (Flows, Validation rules, Roll-up summaries): Each product points at the product it renews. Flows check for gaps and overlaps between terms, rules keep product dates inside the opportunity's, and rollups carry the earliest start and latest end of the renewed products.
- Contact roles (Flows, Validation rule): Flows count the champions and economic buyers on each deal. A rule requires both before the deal can close.
Across the org, object by object
Account: 19 active flows, plus 4 retired and 1 draft; 7 active validation rules of 10; 128 custom fields, 10 formulas and 16 roll-up summaries; 47 Rollup Helper rollups land here, 0 start here. Flows include: Moves lapsed customers to Former Customer in a daily scan; Recalculates margin on open renewals when segment usage changes; Creates overage opportunities; Sets each product's status on the account; Sends edits to NetSuite only when key fields change. Rules include: An account with an open renewal can't be churned; Customer accounts need an agency ID; Only admins can change account ownership.
Opportunity: 43 active flows, plus 6 retired and 9 draft; 52 active validation rules of 63; 187 custom fields, 30 formulas and 17 roll-up summaries; 36 Rollup Helper rollups land here, 30 start here. Flows include: Creates the renewal opportunity with its products; Runs auto-renewal on a schedule; Keeps renewal ownership with the account manager; Checks renewed products for gaps and overlapping dates; Stamps commission status on customer success leads. Rules include: Only admins can move a deal to Closed Won; Overage deals must link to their renewal; Ready for Finance is required before Closed Won; Churn reasons are required when a forecast includes churn. Rolls up into: Account, 20 rollups; Opportunity (itself), 10 rollups.
Contact: 4 active flows, plus 0 retired and 1 draft; 5 active validation rules of 7; 12 custom fields, 1 formulas and 0 roll-up summaries; 18 Rollup Helper rollups land here, 18 start here. Flows include: Sends contact edits to NetSuite; Keeps customer contact roles current; Stamps demo dates. Rules include: Contacts with a customer role need an email; Unqualified contacts need a reason. Rolls up into: Account, 18 rollups.
Opportunity product: 7 active flows, plus 18 retired and 1 draft; 11 active validation rules of 14; 46 custom fields, 30 formulas and 0 roll-up summaries; 4 Rollup Helper rollups land here, 20 start here. Flows include: Prevents gaps or overlaps between product terms; Sets one-time items to non-recurring; Copies agency commission to products; Counts products by line on the opportunity (most of these were later retired). Rules include: Product dates must fall inside the opportunity's; Prices on closed-won deals are locked; Renewal products need a subscription and product type. Rolls up into: Opportunity, 17 rollups; Opportunity product (itself), 3 rollups.
Contact role: 5 active flows; 1 active validation rules; 0 custom fields; 0 Rollup Helper rollups land here, 4 start here. Flows include: Counts champions and economic buyers on each deal; Copies deal roles onto the contact. Rules include: Every contact role needs a role picked. Rolls up into: Opportunity, 3 rollups; Contact, 1 rollup.
Activity: 3 active flows, plus 0 retired and 1 draft; 0 active validation rules of 1; 8 custom fields, 1 formulas and 0 roll-up summaries; 0 Rollup Helper rollups land here, 17 start here. Flows include: Records the date of the last buyer conversation; Links a task's contact for related fields. Rolls up into: Contact, 12 rollups; Opportunity, 3 rollups; Account, 2 rollups.
Campaign member: 0 active flows; 0 active validation rules; 1 custom fields, 1 formulas and 0 roll-up summaries; 0 Rollup Helper rollups land here, 5 start here. What happens here: First and latest campaign responses roll up to contacts. Rolls up into: Contact, 5 rollups.
Historical ARR: 1 active flows; 3 active validation rules; 22 custom fields; 0 Rollup Helper rollups land here, 1 start here. Flows include: Names each ARR record by period, product and amount. Rules include: ARR records must match their product; The period must end on the last day of a month; No ARR records on test accounts. Rolls up into: Opportunity product, 1 rollup.
Invoice (NetSuite): 1 active flows; 0 active validation rules; 7 custom fields; 0 Rollup Helper rollups land here, 1 start here. Flows include: Stamps paid dates on invoices; Invoices 120+ days past due roll up to the account. Rolls up into: Account, 1 rollup.
Invoice (legacy billing): 0 active flows; 0 active validation rules; 1 custom fields; 0 Rollup Helper rollups land here, 4 start here. What happens here: Payments and open invoices from the earlier billing system roll up. Rolls up into: Account, 3 rollups; Opportunity, 1 rollup.
Health score: 0 active flows; 0 active validation rules; 7 custom fields; 0 Rollup Helper rollups land here, 2 start here. What happens here: The latest health score and update date roll up to the account. Rolls up into: Account, 2 rollups.
Usage: 0 active flows; 0 active validation rules; 8 custom fields; 0 Rollup Helper rollups land here, 1 start here. What happens here: AI calls placed roll up to the account. Rolls up into: Account, 1 rollup.
Order: 0 active flows; 1 active validation rules; 21 custom fields, 8 formulas and 0 roll-up summaries; 0 Rollup Helper rollups land here, 1 start here. What happens here: ERP transaction totals roll up to the opportunity. Rules include: Orders can't be activated, which would duplicate the sales order. Rolls up into: Opportunity, 1 rollup.
Contract document: 1 active flows; 0 active validation rules; 0 custom fields; 0 Rollup Helper rollups land here, 0 start here. Flows include: Writes document status back to the opportunity.
Files: 0 active flows; 0 active validation rules; 0 custom fields; 0 Rollup Helper rollups land here, 1 start here. What happens here: The number of files on a deal rolls up. Rolls up into: Opportunity, 1 rollup.
Review-site visits: 0 active flows; 0 active validation rules; 0 custom fields; 3 Rollup Helper rollups land here, 3 start here. What happens here: Visit counts and dates roll up by visiting company. Rolls up into: Review-site visits (itself), 3 rollups.
User: 1 active flows; 0 active validation rules; 1 custom fields, 1 formulas and 0 roll-up summaries; 0 Rollup Helper rollups land here, 0 start here. Flows include: Adds the MFA permission set to every new user.
Org-wide: 10 active flows, plus 5 retired and 3 draft; 0 active validation rules; 0 custom fields; 0 Rollup Helper rollups land here, 0 start here. Flows include: Creates reversal and amendment opportunities; Clears paused flow interviews; Routes leads; Sends Rollup Helper errors to Asana (draft).
Field notes
A flow can only have 50 versions
- Deploying an unchanged, active flow still creates a new version. About fifteen deploys in one day used up a flow's limit, and every deploy after that failed.
- What to do instead. Leave unchanged flows out of a deploy, and keep an eye on the version count of flows that ship often.
- Flows
A dry run won't warn you about it
- A validation-only deploy doesn't create flow versions, so it passes even when the real deploy is about to hit the version limit.
- What to do instead. A passing dry run is necessary for flows, not sufficient.
- Flows
Flows that look changed but aren't
- Retrieving a flow reshuffles the order of its elements without changing what it does, so version control shows edits that never happened. Paused interviews that pile up every day also keep old versions from being deleted.
- What to do instead. Judge flow changes by behavior, not by the file diff, and clear paused interviews on a schedule.
- Deploys
The deploy said success. The class wasn't deployed.
- The workflow picked Apex classes by file name pattern. A class named outside the pattern was skipped while the run still reported success, and a helper class whose name matched the test pattern failed the whole deploy until it was renamed.
- What to do instead. Name files to the pattern your pipeline uses, or list them explicitly.
- Deploys
Old classes with no tests block new ones
- Deploying the whole source folder swept in four legacy classes with zero test coverage, which failed the org-wide coverage check.
- What to do instead. Deploy what changed, not everything in the folder.
- Apex
Nested lists arrive empty
- Data passed from a Lightning component two classes deep reached Apex with its inner lists silently empty. No error, just nothing there.
- What to do instead. Send nested data as JSON text and parse it on the server.
- Apex
You can't move a product to another opportunity
- A product line's opportunity can be set when it's created but never changed. Moving products means recreating them and deleting the originals, and on insert, total price and unit price can't both be set.
- What to do instead. Plan any product move as delete and recreate, and write only one of the two price fields.
- Apex
Cloning copies things that must stay unique
- Four billing and ERP ID fields are unique, so copying any of them fails with a duplicate-value error. Cloning a record that was queried with relationship fields fails too.
- What to do instead. Build the clone's field list from the object's field definitions, minus an explicit exclusion list.
- Integrations
Calls to other systems have a budget
- A Salesforce transaction gets 100 outside calls and 120 seconds of call time in total, and each call waits 10 seconds by default. Some Asana calls needed longer than that.
- What to do instead. Raise the timeout only as far as the total budget allows, and batch work so each job stays under the call limit.
- Integrations
A mapping key that quietly got cut off
- A 40-character text field silently truncated long mapping keys, which hid a broken mapping across 161 opportunities. Separately, a key still set to an old picklist value left 22 opportunities unsynced.
- What to do instead. Size keys for the longest value, and check every key against the picklist values that exist today.
- Integrations
Sharing files across records at scale
- A file is shared with a record through a link record, one for every record it appears on. Sharing files across thousands of records means creating those links through the Bulk API, and finding which records still need a link runs into query limits.
- Rollups
The bypass belongs to a user
- Rollup Helper's validation-rule bypass is a per-user setting, so which user a rollup runs as decides whether it works. Flow custom errors ignore the bypass entirely, and rules inside managed packages can't take it.
- What to do instead. Check the running user first when a rollup fails on a validation rule.
- Lightning
You can't replace the Delete button
- Lightning doesn't let you override the standard Delete action. And a quick action that closed itself before its dialog did left the record page unable to scroll.
- What to do instead. Guard deletes with a blocking check that points to the fix, and close dialogs before the action that opened them.
- Formulas
MIN() only takes numbers
- Salesforce's MIN() in a formula works on numbers, so it can't pick the earlier of two dates.
- What to do instead. Compare dates with IF instead.
- Sheets
Blank cells that aren't blank
- Formulas that return an empty string look blank but still count as values for functions like MAXIFS. And CONCATENATE inside an array formula hit Sheets' 50,000-character limit on a single result.
- What to do instead. Return true blanks where a result can be empty, and split long joins across cells.
- Tools
A published page can't call Salesforce
- Published Claude pages are blocked from reaching Salesforce, and an unattended Claude Code run doesn't have the tool that republishes a page. The Reconciliation Desk reads its data from each run's Asana task for that reason.
- What to do instead. Route data through a system the page can read, and plan for the refresh step to be manual.
Counts and details come from real work. Names are left out.
How I work
Five habits
Prove one record end to end first
- Before anything runs at scale, one real case goes all the way through and gets checked by hand.
- The Asana sync was verified end to end in a dedicated sandbox before it went to production. The 877-account usage pull was rechecked against 68 accounts before anyone relied on it, and the one real difference was traced to a wrong ID in Salesforce.
Recount instead of trusting the total
- If a number matters, something independent recalculates it.
- The Reconciliation Desk recounts 22 rollups from source records every morning. Usage pulls carry a checksum. The record reconciliation separated real mismatches from formatting noise before anyone chased them.
Put the rules in data
- Mappings, rates and exclusions live where they can be read and changed without a code change.
- The sync is driven by 92 metadata records. The product split builds its field list from Salesforce's own field definitions, minus an explicit exclusion list. The pricing calculator reads no Salesforce data at all.
Leave a trail
- Every change and every run leaves a record someone else can find.
- Each deploy opens an Asana task tagged with its commit. Each reconciliation run posts its results to Asana. Relinking shows what pointed where, before and after.
Write it down in plain English
- If a rep, a manager or finance can't follow the explanation, the build isn't finished.
- Knowledge articles cover the margin calculator and auto-renewal eligibility, and a setup guide walks teammates through the development tools. The Salesforce page and the commission run are written the same way.
Where the work happens
Build
On a Mac
VS Code With the Salesforce Extension Pack
Claude Code In VS Code, next to the code
Salesforce CLI Queries, retrieves and deploys
Homebrew Installs the rest
Ship
Only through GitHub
GitHub Actions Push to main deploys to the sandbox. Production is a manual run.
Asana Each deploy opens a task tagged with its commit
Run
Where the business lives
Salesforce Flows, rules, formulas, rollups, Apex
Google Sheets and Apps Script Reporting, commissions and analysis
Coefficient Keeps Sheets and Salesforce in step
Asana Renewal and finance work
Watch
So problems surface on their own
Reconciliation Desk Daily rollup recount
Daily resync Fixes drift between Salesforce and Asana
Slack alerts What changed in the ARR sheet
Edit in VS Code Push to GitHub Sandbox Manual run Production
For pulling data at scale
Dashboards with an API
Claude for Chrome
Pulled segment usage for 877 accounts from an internal reporting dashboard, with parallel workers and a checksum.
Salesforce to Sheets and back
Coefficient
Imports, pushes and backfills, like sharing contract files to every related renewal without editing the records.
Contract files
Bulk file export
A file download app plus targeted queries to pull contracts for a specific set of opportunities.
Lab
School consolidation model
A side analysis of a question many districts face: which school, if any, should close when enrollment falls. It combined public enrollment, performance and finance data into a weighted scoring grid and a financial model.
The finding that mattered: funding tied to high-needs students is figured at the district level, so it stays if students stay in the district. The real risk is attendance-based funding leaving with families who go elsewhere, and that risk is highest at the most sought-after schools. Depending on how many families leave, closing a school can go from clearly worth it to a net loss.
Set how much each factor counts. Higher scores make a stronger case for closing.
Rank
School
Students
Closure case
Invented figures: $12,000 of attendance-based funding per student, and a yearly fixed-cost saving for each school.
One-page infographic
The same editorial style as the commission charts, applied to something lighter: a party shopping list turned into a one-page PDF with key numbers up top, a budget bar and color-matched category cards. This version uses invented numbers.
Sample one-pager
Taco night for 30, by the numbers
One shopping run, nine categories, everything on a single page.
30 Guests
3 Proteins
$560 Estimated total
9 Categories
Where the budget goes
Proteins $150
- Flank steak
- Chicken thighs
- Shrimp
Tortillas $28
Toppings and pantry $70
- Cheeses
- Salsas
- Hot sauce
- Crema
Produce $45
- Onions and cilantro
- Limes
- Jalapeños
- Avocados
Sides $60
Salads $32
Drinks $95
- Sparkling water
- Beer
- Margarita mix
- Ice
Desserts $40
Serving gear $40
- Chafing dishes
- Fuel cans
- Plates and cups
Heads-up: some warehouse stores don't sell spirits in every state, so plan a second stop for tequila.
Invented quantities and prices for this sample.
Every school, figure and price on this page is invented.