Workflow · Calculate · Opening soon
Agency client profitability
Export your clients, invoices, and time entries from Harvest, then upload them as spreadsheet files. The workflow totals paid and open invoice fees, totals staff time costs, matches each row to the right client, and subtracts costs from fees to give you client profit.
Someone typed
“calculate profit by client: retainer and project fees minus the cost of hours logged by staff”
The agent read it as
Calculate profit by client: retainer and project fees minus the cost of hours logged by staff from Harvest clients, Harvest invoices and Harvest time entries, counting paid and open invoices only.
What the agent built
6 steps, each one an ordinary Mammoth step you can open and change.
File
Harvest clients
CSV export · 10 rows
File
Harvest invoices
CSV export · 14 rows
File
Harvest time entries
CSV export · 30 rows
Step
Total paid and open fees
Step 1
Step
Total staff costs
Step 2
Step
Make client match key
Step 3
Join
Bring in client fees
8 of 10 paired
Join
Bring in staff costs
7 of 10 paired
Step
Calculate client profit
Step 6
Result
Client Profit
10 rows
Schedule
Runs when you say
Proposed
- FileHarvest clientsCSV export · 10 rows
- FileHarvest invoicesCSV export · 14 rows
- FileHarvest time entriesCSV export · 30 rows
- StepMake client match keyStep 3
- StepTotal paid and open feesStep 1
- StepTotal staff costsStep 2
- JoinBring in client fees8 of 10 paired
- JoinBring in staff costs7 of 10 paired
- StepCalculate client profitStep 6
- ResultClient Profit10 rows
- ScheduleRuns when you sayProposed
On the sample files, every step runs and the result has 10 rows.
- Download Harvest clients sample (10 rows)Harvest: Reports > Clients > Export
- Download Harvest invoices sample (14 rows)Harvest: Reports > Invoices > Export
- Download Harvest time entries sample (30 rows)Harvest: Reports > Time > Detailed report > Export
What you get back
The result of that run, the rows to look at first.
Client ProfitSample data10 rows
| Client | Profit (USD) | Retainer fees (USD) | Project fees (USD) | Staff cost (USD) |
|---|---|---|---|---|
| Northstar Biotech | 15,290 | 3,000 | 15,000 | 2,710 |
| Luma Retail | 23,350 | 16,000 | 9,000 | 1,650 |
| Cobalt Ventures | 6,043 | 0 | 7,000 | 957 |
| Harbor Kitchen | 6,626 | 2,500 | 5,000 | 874 |
| Willow Fintech | 8,923 | 0 | 11,000 | 2,077 |
| Atlas Health | 5,800 | 0 | 6,500 | 700 |
| Papertrail Media | 6,906 | 0 | 7,500 | 594 |
| Oak & Anchor | 4,800 | 0 | 4,800 | 0 |
| Summit Schools | 0 | 0 | 0 | 0 |
| Brightgrid Energy | 0 | 0 | 0 | 0 |
How it works
How to use the Client Profit workflow
- 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and working on sample files.
- 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
- 3Change it in words, then turn it onSay what to change and see the new result before anything saves. Then choose when it runs.
Client Profit: questions
How do you calculate client profitability from Harvest exports?
Export your clients, invoices, and time entries from Harvest, then upload them as spreadsheet files. The workflow totals paid and open invoice fees, totals staff time costs, matches each row to the right client, and subtracts costs from fees to give you client profit.
Which Harvest exports do I need?
Use the clients export, the invoices export, and the time entries export. The workflow reads these files and uses them together to calculate profit by client.
What happens if a row does not match a client?
Rows that do not match a client key are left out of the client total for that step. You can check the unmatched rows in the source file and fix the client name or key, then upload a new export.
How do I change the rules for what counts as profit?
Edit the steps in words, then rerun the workflow. For example, you can change which invoice statuses count, or change how staff time is costed before the profit calculation.
Get early access to this workflow
It opens already built and working on sample files. Swap in your own exports to see your result.
Workflows like this
Schedules, commissions, costing and margins, worked out the same way from every new export.
- Pivot table from raw dataTurn a raw sales export into a pivot table of revenue by region and month.See the workflow Built by the agent
- Real estate commission splitWork out real estate commission on each closed sale and split it between the listing agent, buying agent and brokerage.See the workflow Built by the agent
- Loan amortization from statementsBuild a monthly loan amortization schedule from an Excel export, with interest, principal, and remaining balance for each loan.See the workflow Built by the agent
- Accrued expenses scheduleBuild an accrued expenses schedule from QuickBooks exports. Match purchase orders to vendor bills, calculate unbilled amounts, and flag items that need accrual.See the workflow Built by the agent
- RFM segmentsEvery customer scored 1-5 on recency, frequency and spend, with a segmentSee the workflow Template
- Sales velocityEach rep's open deals, win rate, deal size, sales cycle and velocity, and the team'sSee the workflow Template