HubSpot EHR Integration for AdvancedMD, athenahealth and Tebra
Orisan Connect exports active patients from AdvancedMD, athenahealth or Tebra (formerly Kareo) into HubSpot as Contacts, with their visits on HubSpot's Appointments object. Contacts carry a name, email, one phone and an opaque patient ID. Dates of birth, visit reasons, diagnoses, notes and insurance stay in the EHR, and nothing is sent until a BAA attestation is on file.
The HubSpot connector is in early access and enabled per customer; it requires HubSpot Enterprise with Sensitive Data turned on and HubSpot's BAA accepted.
Technical Overview
- Authentication
- OAuth, privately distributed app (not in the Marketplace)
- HubSpot objects
- Contacts and Appointments
- Source EHRs
- AdvancedMD, athenahealth, Tebra
- Direction
- EHR to HubSpot, optional write-back
- Changes from HubSpot
- Signed contact webhooks plus 15-minute polling
- Status
- Early access
Data Types
What syncs to HubSpot, and what never does
-
Contacts
First and last name, email, one phone in E.164, patient ID
-
Appointments
Start, end, status and owner under a neutral title
-
Owners
Each EHR provider mapped to a HubSpot owner
-
Lifecycle tags
Nine fixed rules such as no-show and lapsed 90 days
-
Email and phone write-back
Optional and off by default: HubSpot edits update the EHR
Never sent to HubSpot
- Date of birth
- Address
- Gender
- Social Security number
- Appointment type
- Visit reason
- Notes
- Location
- Diagnosis
- Insurance
- EHR record IDs
How It Works
Three steps to connect HubSpot
-
1
Install and attest
A HubSpot Super Admin approves the OAuth install. An owner or admin in Orisan Connect then attests that the portal is covered by HubSpot's BAA and retypes the HubSpot account ID to confirm it.
-
2
Map providers and review
Connect creates the orisan_connect property group. You map each EHR provider to a HubSpot owner, then review the setup.
-
3
Verify and enable
Verification checks that sensitive scopes are granted, the Orisan properties are marked sensitive and the Appointments object is on. Routes are created paused, so nothing is sent until you enable the route.
Key Features
Built for PHI, not bolted on
Minimum necessary, enforced before every send
A redactor checks each payload against a HubSpot allow-list of keys at every depth, and scans every value for that patient's own date of birth, address, visit reason, notes and appointment type. It is not customer-configurable.
Matching that won't merge the wrong person
Connect matches on an existing link, then the Orisan patient ID, then exact email, then exact phone if email found nothing. One clean match is adopted. Multiple matches, or a contact already linked to another patient, go to a review queue.
A BAA with Orisan, and a gate before HubSpot
Orisan signs a BAA with your practice. Data is encrypted with AES-256-GCM at rest and TLS in transit, and audit logs are immutable. If the HubSpot BAA attestation is missing or revoked, or a technical check fails, Connect sends nothing.
Tags your marketing team can segment on
Tags come from nine fixed rules, including new, returning, no-show and lapsed 90 days, so you can build a recall list or a no-show follow-up workflow. You can turn rules off or rename labels, but labels with clinical terms or visit reasons are refused.
What you need on the HubSpot side
- HubSpot Enterprise with Sensitive Data turned on and the HIPAA option selected (Free, Starter and Professional portals cannot turn on Sensitive Data, so they are not supported)
- HubSpot's Business Associate Agreement accepted in the account's Sensitive Data settings
- A HubSpot account hosted in HubSpot's North America (US) data center, with the Appointments object enabled
- A HubSpot Super Admin to approve the app install
- An AdvancedMD, athenahealth or Tebra account already connected to Orisan Connect, which feeds this HubSpot connection
HubSpot integration questions
Can HubSpot store patient data under HIPAA?
Yes, on an Enterprise subscription with Sensitive Data turned on and HubSpot's BAA accepted. A Super Admin selects the Health/Medical Data option and the HIPAA covered entity or business associate option. Two settings are hard to undo: a Sensitive Data category cannot be removed once selected, and an account that has indicated HIPAA data cannot migrate to another data center. Orisan Connect also requires the North America (US) data center.
Which patients end up in HubSpot?
Active patients 18 and older who had an appointment in the last 24 months, have an upcoming one, or book one after the connection was enabled. Inactive and deceased patients and minors are excluded. Each HubSpot connection is fed by one EHR, so a practice exports from AdvancedMD, athenahealth or Tebra, whichever it runs.
Do changes made in HubSpot go back to the EHR?
Only if you turn write-back on, and it is off by default. Email and phone edits are then written to the EHR, while name and appointment time changes become conflicts a person resolves. Contacts with no matching patient are never created in the EHR, and deleting a HubSpot record never deletes anything there. Bookings are handled separately: only AdvancedMD, with a booking appointment type configured, accepts them; athenahealth and Tebra bookings go to a review queue.
When do updates reach HubSpot?
Exports from the EHR run on a schedule, and only while the BAA attestation is on file and the technical checks pass. In the other direction, HubSpot sends signed webhooks for contact events and Connect also polls every 15 minutes; appointment changes arrive through that polling. Cancelled appointments are updated in HubSpot and never deleted.
Can we use Orisan tags in HubSpot workflows and emails?
In workflows, yes, with limits. The tags property is marked sensitive, and HubSpot allows sensitive properties in "When a filter criteria is met" enrollment triggers and in AND/OR branches. HubSpot does not allow them in personalization tokens, copy property actions or event-based triggers, so a tag can decide who gets an email but cannot appear inside it.
Related guides
Other integrations
-
AdvancedMD integration
Patients, appointments, providers, charges, and documents via the AdvancedMD API.
-
athenahealth API integration
Department-aware sync over athenahealth's FHIR R4 and REST APIs.
-
Tebra (Kareo) integration
Date-range sync over the Tebra SOAP 2.1 API, rate limits handled for you.
-
EHR to Google Calendar sync
Push appointments to Google Calendar with PHI stripped before anything leaves.
-
Salesforce EHR integration
Patient contacts and visit times in Salesforce, clinical data left behind. Early access.
-
GoHighLevel EHR integration
Contacts, tags, and calendar appointments with notifications off. Early access.
See all EHR and practice management integrations, security controls, or how we meet HIPAA requirements.
Get patient contacts into HubSpot and keep the chart in the EHR
Request a demo and we will walk through the field list, matching rules and BAA attestation against your AdvancedMD, athenahealth or Tebra setup. Routes are created paused, and nothing is sent until you review the setup and enable the route.