Skip to content

Sync profiles from Salesforce

If Salesforce is where your customer records live, JustAI can read your contacts directly. Each Salesforce contact becomes a customer profile, and each Contact or Account field you choose becomes a trait. The sync runs once a day at the time you set. It also links each profile to its Salesforce contact, which deal events and click notes depend on.

Owner: Marketing Data

Salesforce JustAI
A contact A customer profile, identified by the user ID field you choose.
A Contact field you select A trait with the field’s API name, for example Industry or Plan_Tier__c.
A field of the contact’s Account A trait named account_<field>, for example account_Industry.
The contact’s Email The email trait. JustAI always syncs it.
HasOptedOutOfEmail An email suppression on the profile. A contact who opted out in Salesforce can’t receive email from JustAI. Opting back in doesn’t remove the suppression.

Syncing people doesn’t start journeys. A deal status change does; see Start journeys from Salesforce deals.

JustAI joins every profile, event, and message to one user ID. Every source has to send the same ID for the same person, or JustAI treats the records as different people. See Identity and consent.

  • A Contact field with your own user ID. Choose this if your app or CDP also sends data to JustAI. Pick the field that holds the same ID they send.
  • Salesforce record ID. The default. Choose it only if Salesforce is your only source of customer data.
  1. In JustAI, open Settings, then Integrations, and open your Salesforce connection.

  2. Under Profile sync, select Set up.

  3. Under Sync daily at, enter a time in your local time zone when your other Salesforce tools are quiet. Leave it empty and JustAI picks a time.

  4. Under Fields, choose the User ID field, then review the Contact fields and Account fields.

    Every field the integration user can read is selected unless you uncheck it. Fields added in Salesforce later are synced too. Fields JustAI can’t sync are listed under Not synced with the reason. To limit what leaves Salesforce, uncheck fields you don’t need before you start.

  5. Select Review & start, check the summary, and select Start sync.

    The first sync copies every contact. After that, each daily run copies the contacts that changed.

To change the fields or the time later, select Edit. Use Sync now from the profile sync menu to run a sync on demand.

The panel shows the sync’s state, Recent syncs with each run’s result, and People to review. Open Users in JustAI, search for a contact you know, and compare its traits with the record in Salesforce. Change a synced field on a test contact in Salesforce, run Sync now, and the change appears on the JustAI profile.

A sync shows Paused: API budget when the connection has used its daily call limit. It runs again when the day resets. See Keep API usage in check.

JustAI doesn’t merge profiles on a guess. Contacts it didn’t sync are listed under People to review by reason. Select Review, then Open in Salesforce to look at a contact.

Reason Meaning
Email already in JustAI A profile already has this email, or Salesforce merged this contact into another one.
External ID already synced Another contact is already synced to the profile with this user ID.
External ID changed The contact’s user ID now matches a different profile. Its values still sync to the original profile.
Deleted in JustAI The person was deleted in JustAI. They aren’t synced again.

Correct duplicates and wrong IDs in Salesforce. The next sync picks up the fix.

The panel shows Needs attention with a message. The most common cause is a field hidden by field-level security. Ask your admin to grant Read on it, following the Prepare Salesforce, or uncheck the field and start the sync again.

Select Turn off sync from the profile sync menu. JustAI keeps the people and values already synced. Turn it on again later and the next run copies the contacts that changed in between.