Skip to main content
Doctolib → SalesforceIntegration guide

Connecting Doctolib to Salesforce

Doctolib is a patient-facing marketplace as much as a booking system, so a large share of the appointments it produces were found by Doctolib rather than by you. 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 Doctolib appointment 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

Doctolib booking data in Salesforce: Health Cloud or nothing

Writing Doctolib appointments into a marketing Sales Cloud org puts health data where security was built for sales. For attribution, record only marketing context: a Lead or Campaign Member for an own-site booking hand-off with UTM source, campaign and click ID, no appointment reason. Report hand-offs by campaign against attended visits, keeping directory appointments separate.

Salesforce enters this picture for a clinic group that manages referrers, corporate health contracts or patient relationships in Salesforce, often in Health Cloud, which is built for clinical data under the right agreements. Writing Doctolib appointments into a standard Sales Cloud org used by marketing is a different matter: it puts health data where field-level security was designed for a sales team, not for patients.

If marketing attribution is the goal, write only marketing context: a Lead or Campaign Member for an own-site booking hand-off, with UTM source, campaign and click ID, and no appointment reason. Check whether Doctolib or your practice system offers an export that already lands in Salesforce; do not assume a Doctolib-to-Salesforce connector exists. Matching patients to Contacts by email is where duplicate records and privacy problems start together.

The useful Salesforce report here is campaign-level: own-site hand-offs by campaign against attended own-site visits by practice. Keep directory-sourced appointments as a separate count so the team does not book Doctolib's marketplace demand as its own pipeline.

Doctolib → Salesforce · what breaks

Why this join usually fails — Doctolib → Salesforce

  1. 01

    The Lead or Contact identity never reaches Doctolib

    Booking happens on Doctolib's domain, and directory bookings never touch any property of yours at all.

  2. 02

    Marketplace demand read as campaign performance

    Doctolib's directory fills calendars independently of anything you spend. Pool the two and your advertising takes credit for the platform's own reach.

  3. 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.

  4. 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.

Doctolib → Salesforce · the fix

What working looks like — Doctolib → Salesforce

  • The Lead or Contact identity on every appointment

  • 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

Doctolib → Salesforce · architecture

How Doctolib and Salesforce actually connect

  1. 1

    Doctolib holds the truth

    Directory-sourced patients are real and are not evidence that your advertising worked. Under European rules the consent position on health data is also stricter than most advertisers assume.

  2. 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. 3

    The identifier is the bridge

    The Lead or Contact identity, captured at the visit and carried into the Doctolib appointment.

  4. 4

    The event source decides reliability

    Send attended appointments as a count, per practice, with no specialty or reason-for-visit field.

  5. 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.

Doctolib → Salesforce · normal or broken

Working vs. broken, side by side — Doctolib → Salesforce

Normal, not a fault

  • The Lead or Contact identity present on the appointment

  • Sent from your practice system

  • 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

    Booking happens on Doctolib's domain, and directory bookings never touch any property of yours at all.

  • Sent from the browser

    Doctolib's directory fills calendars independently of anything you spend. Pool the two and your advertising takes credit for the platform's own reach.

  • 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

Doctolib → Salesforce · diagnose

Diagnostic order — Doctolib → Salesforce

  1. 01

    Count appointments carrying the Lead or Contact identity

  2. 02

    Follow one real conversion end to end

  3. 03

    Split appointments by booking origin

    Own site versus directory. Without it the paid numbers cannot be interpreted in either direction.

  4. 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.

  5. 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.

Doctolib → Salesforce · prove

How it gets proven — Doctolib → Salesforce

Source of truth

Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.

  • The Lead or Contact identity confirmed present on a live appointment.
  • A test value confirmed present on the record in the UI, and confirmed to survive Lead conversion.
  • Own-site attended appointments reconciled against imported conversions, with directory volume reported separately.

Doctolib → Salesforce · free audit

What we check in the free audit

  • Count appointments carrying the Lead or Contact identity
  • Follow one real conversion end to end
  • Split appointments by booking origin
  • Write a test value and open the record in the UI
  • Read the match rate, not the success message

Checked against

Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.

Get my free conversion tracking audit

Free30 minutesNo obligation

Doctolib → Salesforce · when not to buy

When you don't need this — Doctolib → Salesforce

  • Measure identifier coverage yourself first — pull your last hundred appointments and count how many carry the Lead or Contact identity.
  • If the directory fills your calendar already, the honest recommendation is to skip advertising rather than to measure it better.
  • 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.

Doctolib → Salesforce · what we deliver

What gets built — Doctolib → Salesforce

  • Identifier capture into Doctolib

    Attribute only bookings that began on your own site, and then only with a consented identifier and no clinical detail attached.

  • Event source: your practice system

    Send attended appointments as a count, per practice, with no specialty or reason-for-visit field.

  • 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

    Cancellations and no-shows reverse.

Written guarantee

95%+ tracking accuracy

Measured against Attended appointments in your own system, split by whether the patient came through your site or through Doctolib's directory.. Miss it and we keep working at no cost.

Get my free conversion tracking audit

From $400 · See packages

FAQ

Doctolib → Salesforce questions, answered

Check Doctolib's integration list for your country and your practice system's exports; do not assume one exists. Many practices only get appointment data through their practice software.

Free · 30 min

Get Doctolib and Salesforce joined properly

Free30 minutesNo obligation