Connecting Cognito Forms to Salesforce
Cognito Forms supports conditional logic and payments, which means one form can be a survey, a registration and a checkout depending on which branch the visitor takes. 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 Cognito Forms entry 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
Cognito Forms to Salesforce: Leads by branch, paid entries as deals
In Salesforce, Cognito Forms branches become sales decisions: free enquiries create or update a Lead, paid registrations a Contact plus a Closed Won Opportunity with the amount collected. Match on email first, carry hidden-field click IDs into custom Lead fields mapped through conversion, and store the original entry date for offline uploads.
This is the pair where the branch decision becomes a sales decision. A free enquiry should create or update a Lead. A paid registration is usually a closed transaction already and belongs as a Contact plus an Opportunity at Closed Won with the amount Cognito collected. Pushing both into Salesforce as identical Leads makes the sales team call people who have already paid.
Carry the click identifiers from hidden fields into custom fields on the Lead (gclid, fbclid, UTM source) and map them through Lead conversion, or they disappear the moment a rep converts the record. Route through whatever you already use, such as Zapier, Power Automate or a small service reading Cognito's webhook, and check whether Cognito offers a Salesforce connection on your plan rather than assuming one. Match on email before creating anything, because entries from the same person across several Cognito forms otherwise create a Lead each time.
Timing matters for the offline upload that comes later. Salesforce gives you the date a free enquiry became a won deal, which can be weeks after the form. Store the original entry date and click ID together on the record, so the eventual Google or Meta offline conversion is sent against the click that started it.
Cognito Forms → Salesforce · what breaks
Why this join usually fails — Cognito Forms → Salesforce
- 01
The Lead or Contact identity never reaches Cognito Forms
Forms are embedded and payments may hand off to a processor, breaking the session twice.
- 02
One form, several outcomes, one conversion action
Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.
- 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.
Cognito Forms → Salesforce · the fix
What working looks like — Cognito Forms → Salesforce
The Lead or Contact identity on every submission
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
Cognito Forms → Salesforce · architecture
How Cognito Forms and Salesforce actually connect
- 1
Cognito Forms holds the truth
A form that sometimes takes payment and sometimes does not produces two completely different conversions from one submission event.
- 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 Cognito Forms entry.
- 4
The event source decides reliability
Send paid submissions at their amount and unpaid ones as a separate lower-value action.
- 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.
Cognito Forms → Salesforce · normal or broken
Working vs. broken, side by side — Cognito Forms → Salesforce
Normal, not a fault
The Lead or Contact identity present on the submission
Sent from your CRM or payment record
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
Forms are embedded and payments may hand off to a processor, breaking the session twice.
Sent from the browser
Conditional logic means the same form produces a free enquiry from one visitor and a paid registration from another. A single conversion action averages them into a value that describes neither.
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
Cognito Forms → Salesforce · diagnose
Diagnostic order — Cognito Forms → Salesforce
- 01
Count submissions carrying the Lead or Contact identity
- 02
Follow one real conversion end to end
- 03
List the branches your form can produce and their values
Usually the first time anyone has, and it is normally the whole fix.
- 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.
Cognito Forms → Salesforce · prove
How it gets proven — Cognito Forms → Salesforce
Source of truth
Your CRM or payment record, with the form branch recorded.
- The Lead or Contact identity confirmed present on a live submission.
- A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
- Submissions reconciled by branch against imported conversions.
Cognito Forms → Salesforce · free audit
What we check in the free audit
- Count submissions carrying the Lead or Contact identity
- Follow one real conversion end to end
- List the branches your form can produce and their values
- Write a test value and open the record in the UI
- Read the match rate, not the success message
Checked against
Your CRM or payment record, with the form branch recorded.
Free30 minutesNo obligation
Cognito Forms → Salesforce · when not to buy
When you don't need this — Cognito Forms → Salesforce
- Measure identifier coverage yourself first — pull your last hundred submissions and count how many carry the Lead or Contact identity.
- A single-path form with no payment needs one action and nothing else.
- 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.
Cognito Forms → Salesforce · what we deliver
What gets built — Cognito Forms → Salesforce
Identifier capture into Cognito Forms
Pass the identifier into a hidden field and carry it through to the payment where one occurs.
Event source: your CRM or payment record
Send paid submissions at their amount and unpaid ones as a separate lower-value action.
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
Refunds reverse.
Written guarantee
95%+ tracking accuracy
Measured against Your CRM or payment record, with the form branch recorded.. Miss it and we keep working at no cost.
From $400 · See packages
FAQ
Cognito Forms → Salesforce questions, answered
Check for a native connector; most people use Zapier, Power Automate or the submit webhook, matching on email and writing click IDs to custom Lead fields.
Usually not. It is already a customer, so create or update the Contact and record the payment on an Opportunity.
Almost always because the Lead or Contact identity never reached the Cognito Forms entry. Forms are embedded and payments may hand off to a processor, breaking the session twice. 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.
Your CRM or payment record. Send paid submissions at their amount and unpaid ones as a separate lower-value action.
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 Cognito Forms → Salesforce
- Cognito Forms → Marketing CloudConnecting Cognito Forms to Salesforce Marketing Cloud
- Gravity Forms → SalesforceConnecting Gravity Forms to Salesforce
- Gravity Forms → Marketing CloudConnecting Gravity Forms to Salesforce Marketing Cloud
RELATED GUIDES
Where Cognito Forms → Salesforce fits in the rest of your tracking
- Formstack → SalesforceConnecting Formstack to Salesforce
- Paperform → SalesforceConnecting Paperform to Salesforce
- Ninja Forms → SalesforceConnecting Ninja Forms to Salesforce
- Cognito Forms → 6senseConnecting Cognito Forms to 6sense
- Cognito Forms → HubSpotConnecting Cognito Forms to HubSpot
- Home servicesConversion tracking for home service businesses, measured in completed jobs
- WPForms → SalesforceConnecting WPForms to Salesforce
- Formidable Forms → SalesforceConnecting Formidable Forms to Salesforce
Free · 30 min
Get Cognito Forms and Salesforce joined properly
Free30 minutesNo obligation
