Connecting Harvest to Salesforce
Harvest tracks billable time, which makes it the one system that knows what a client actually cost you to serve — and therefore whether the campaign that won them was worth running. Sending conversions into Salesforce rather than out of it is how marketing data reaches the place sales actually works. The join between them succeeds or fails on one thing: whether the Lead or Contact identity reaches the Harvest invoice before the conversion happens, because Salesforce can only match a conversion it can tie back to a click it recognizes.
Free30 minutesNo obligation
Specific to this pair
Harvest to Salesforce: hours and payments back on the closed deal
Write Harvest totals back onto the Salesforce Opportunity or Account through a mapping from Harvest client or project ID to Opportunity ID, never name matching. Sync hours logged, billable value, invoiced, paid and last synced to custom fields on a schedule, testing writes against locked closed-won records. Campaigns then rank by paid revenue per hour.
In a services firm on Salesforce, the deal closes in Salesforce and the work happens in Harvest, and the two rarely meet again. Writing Harvest totals back onto the Opportunity or Account closes that loop: an Opportunity won at a quoted amount can show what was actually invoiced, paid and spent in hours, and opportunity reports by Lead Source or Primary Campaign Source start showing margin instead of bookings.
The join key is the hard part. Check whether your Harvest setup can hold an external reference on the client or project; if not, keep a mapping table from Harvest client ID (or project ID, where one Opportunity equals one project) to the Salesforce Opportunity ID, created when the project is set up in Harvest. Matching on client name fails the first time one side writes Inc. and the other does not.
Write rolled-up values to custom fields on a schedule: hours logged, billable value, invoiced, paid, last synced. Many orgs lock closed-won Opportunities with validation rules or record locking, which is exactly where these fields live, so test a write against a closed record and open it in the UI to confirm the value landed. Once it holds, campaigns can be ranked by paid revenue per hour rather than by quoted deal size.
Harvest → Salesforce · what breaks
Why this join usually fails — Harvest → Salesforce
- 01
The Lead or Contact identity never reaches Harvest
Time is logged by staff against projects days after the work, and the client relationship began months earlier.
- 02
Revenue reported without the cost of delivering it
A campaign producing large but low-margin clients looks like your best performer on revenue and your worst on profit. Harvest is the only place that can tell the difference and it almost never reaches the ad report.
- 03
Writes that succeed and change nothing
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
- 04
Nothing reconciles afterwards
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
Harvest → Salesforce · the fix
What working looks like — Harvest → Salesforce
The Lead or Contact identity on every invoice
Conversions arriving in Salesforce
The marketing context appears on the record and flows into the opportunity, where sales and reporting can both use it.
Reconciled against the source
Harvest → Salesforce · architecture
How Harvest and Salesforce actually connect
- 1
Harvest holds the truth
Revenue without cost is half the picture in a services business. A client billed twenty thousand pounds who consumed three hundred hours is a different outcome from one billed the same for eighty.
- 2
Salesforce needs a click to match
Salesforce needs a resolvable record and a custom field to write to. Field-level security and validation rules can silently reject writes, which is a Salesforce-specific failure that returns success at the API level and changes nothing.
- 3
The identifier is the bridge
The Lead or Contact identity, captured at the visit and carried into the Harvest invoice.
- 4
The event source decides reliability
Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
- 5
Deduplication at the destination
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
Harvest → Salesforce · normal or broken
Working vs. broken, side by side — Harvest → Salesforce
Normal, not a fault
The Lead or Contact identity present on the invoice
Sent from the Harvest invoice payment
Deduplicated correctly
Salesforce deduplicates according to whatever matching rules your org has configured, which vary enormously between instances. Duplicate Leads are the standard failure and merging them afterwards is manual work.
Reconciles with the source
Actually broken
The Lead or Contact identity missing on most records
Time is logged by staff against projects days after the work, and the client relationship began months earlier.
Sent from the browser
A campaign producing large but low-margin clients looks like your best performer on revenue and your worst on profit. Harvest is the only place that can tell the difference and it almost never reaches the ad report.
Counted twice, or not at all
Field-level security, validation rules and required-field constraints can reject a write while the API reports success. Open the record and look rather than trusting the response.
Nobody has reconciled it
Harvest → Salesforce · diagnose
Diagnostic order — Harvest → Salesforce
- 01
Count invoices carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
Compare effective hourly rate by acquisition source
It is a single join between invoices and tracked hours, and it frequently reverses the ranking of your channels.
- 04
Write a test value and open the record in the UI
The API saying it worked and the field actually holding the value are different things in Salesforce more than anywhere else.
- 05
Read the match rate, not the success message
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
Harvest → Salesforce · prove
How it gets proven — Harvest → Salesforce
Source of truth
Harvest invoices paid, set against the tracked hours that produced them.
- The Lead or Contact identity confirmed present on a live invoice.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Paid invoices and tracked hours reconciled by client against imported conversions.
Harvest → Salesforce · free audit
What we check in the free audit
- Count invoices carrying the Lead or Contact identity
- Follow one real conversion end to end
- Compare effective hourly rate by acquisition source
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Harvest invoices paid, set against the tracked hours that produced them.
Free30 minutesNo obligation
Harvest → Salesforce · when not to buy
When you don't need this — Harvest → Salesforce
- Measure identifier coverage yourself first — pull your last hundred invoices and count how many carry the Lead or Contact identity.
- If you bill fixed-fee and do not track delivery time, the margin question cannot be answered here and revenue alone is what you have.
- If your Salesforce org is administered by a team you cannot get time with, scope their availability before starting — this build is usually blocked on admin access rather than on the work.
Harvest → Salesforce · what we deliver
What gets built — Harvest → Salesforce
Identifier capture into Harvest
Store the identifier on the client record so both the invoice and the hours resolve to the acquisition source.
Event source: the Harvest invoice payment
Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
Dispatch to Salesforce
API writes to the Lead or Contact record, or a platform event, carrying the marketing context as custom field values.
Reversals where they exist
Credit notes reverse.
Written guarantee
95%+ tracking accuracy
Measured against Harvest invoices paid, set against the tracked hours that produced them.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Harvest → Salesforce questions, answered
Check Harvest's integrations list and the Salesforce AppExchange for your edition. If neither fits, a scheduled job that pulls from the Harvest API and writes custom fields on the Opportunity or Account works.
Write Harvest hours and paid amounts onto the won Opportunity, keyed by a stored mapping between Harvest project and Opportunity ID, then report paid revenue per hour by Primary Campaign Source or Lead Source.
Almost always because the Lead or Contact identity never reached the Harvest invoice. Time is logged by staff against projects days after the work, and the client relationship began months earlier. Measure coverage before debugging the dispatch.
Salesforce resolves on its own record identity — a Lead, a Contact, or an Account — rather than on a click identifier. What you are doing here is attaching marketing context to a record so the pipeline carries it, which means the click identifier arrives as a custom field value rather than as a matching key. The hazard is duplicates: two Leads for one person means two records with half the history each.
The Harvest invoice payment. Send paid invoices at the amount received, and report effective hourly rate by acquisition source alongside.
Check the record in Salesforce itself, not the API response. Then confirm the value survives Lead conversion onto the Contact, Account and Opportunity — the mapping is separate and is usually the thing that was missed.
More on Harvest → Salesforce
- Harvest → Marketing CloudConnecting Harvest to Salesforce Marketing Cloud
- Salesforce → Google AdsConnecting Salesforce to Google Ads
- Salesforce → MetaConnecting Salesforce to Meta Conversions API
RELATED GUIDES
Where Harvest → Salesforce fits in the rest of your tracking
- Wave → SalesforceConnecting Wave to Salesforce
- Xero → SalesforceConnecting Xero to Salesforce
- BILL → SalesforceConnecting BILL to Salesforce
- Harvest → HubSpotConnecting Harvest to HubSpot
- Harvest → 6senseConnecting Harvest to 6sense
- Accounting and CPAConversion tracking for accounting firms, measured in engagements
- FreshBooks → SalesforceConnecting FreshBooks to Salesforce
- QuickBooks → SalesforceConnecting QuickBooks to Salesforce
Free · 30 min
Get Harvest and Salesforce joined properly
Free30 minutesNo obligation
