Skip to content
Workflow · Finance close · Opening soon

Agency client profitability

Calculate profit by client from Harvest exports. Add retainer and project fees, then subtract the cost of staff time.

Early access opens shortly. Check back soon.

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.

  1. File
    Harvest clients
    CSV export · 10 rows
  2. File
    Harvest invoices
    CSV export · 14 rows
  3. File
    Harvest time entries
    CSV export · 30 rows
  4. Step
    Make client match key
    Step 3
  5. Step
    Total paid and open fees
    Step 1
  6. Step
    Total staff costs
    Step 2
  7. Join
    Bring in client fees
    8 of 10 paired
  8. Join
    Bring in staff costs
    7 of 10 paired
  9. Step
    Calculate client profit
    Step 6
  10. Result
    Client Profit
    10 rows
  11. Schedule
    Runs when you say
    Proposed

Checked on the sample files: every step ran, 10 rows came out, and the join paired 8 of 10 rows; the join paired 7 of 10 rows.

What you get back

The result of that run, the rows to look at first.

Client ProfitSample data10 rows
ClientProfit (USD)Retainer fees (USD)Project fees (USD)Staff cost (USD)
Northstar Biotech15,2903,00015,0002,710
Luma Retail23,35016,0009,0001,650
Cobalt Ventures6,04307,000957
Harbor Kitchen6,6262,5005,000874
Willow Fintech8,923011,0002,077
Atlas Health5,80006,500700
Papertrail Media6,90607,500594
Oak & Anchor4,80004,8000
Summit Schools0000
Brightgrid Energy0000
10 rows in the result. Sample data: illustrative figures, not business results.

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.

How it works

How to use the Client Profit workflow

  1. 1Get early accessWe invite people in small batches, job by job. You'll land on this workflow, already built and checked on the sample files.
  2. 2Swap in your exportsUpload your own files as they come out of your tools. The agent checks the workflow on your rows.
  3. 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

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 will open already built and checked on the sample files. Swap in your own exports and see your result.

Early access opens shortly. Check back soon.

Workflows like this

Consolidate entities, compare budget to actual, build a trial balance, review month-on-month moves and work out commission.

All finance close templates →