Field mapping decides which Salesforce data lands on which Spotzee user property. The integration ships with sensible defaults for the standard email-and-name fields. You add more mappings for the custom fields that matter to your campaigns.Documentation Index
Fetch the complete documentation index at: https://docs.spotzee.com/llms.txt
Use this file to discover all available pages before exploring further.
Field mappings are configured per integration. Open the integration from Integrations → Salesforce and use the Field mappings section in its configuration view.
Default mappings
When you connect a Salesforce org, Spotzee sets up these mappings automatically:| Salesforce field | Spotzee property |
|---|---|
Email | email |
FirstName | first_name |
LastName | last_name |
Phone | phone |
Add a mapping
Pick a Salesforce field
The Salesforce field dropdown lists every field on the objects you’re syncing. Standard fields appear first, custom fields after.
Pick or create a Spotzee property
The Spotzee property dropdown shows existing properties. Pick one to map onto an existing property, or type a new name and pick Create “your_property_name” to create one on the fly.
string type. Adjust the type later under Settings → Data Schema if you need numeric, date, or boolean handling.
Type compatibility
Spotzee converts Salesforce types automatically for the common cases:| Salesforce type | Becomes in Spotzee |
|---|---|
Text, Picklist, Email, Phone, URL | string |
Number, Currency, Percent | number |
Checkbox | boolean |
Date, DateTime | date |
MultiPicklist | array of strings |
Sync email opt-out automatically
Salesforce tracks email opt-out via theHasOptedOutOfEmail boolean field on Lead and Contact records. Mapping that field into Spotzee keeps your unsubscribe state aligned across both systems.
Add the opt-out mapping
In Field mappings, add a row with:
- Salesforce field:
HasOptedOutOfEmail. - Spotzee property:
unsubscribed(or your preferred boolean opt-out property).
Truein Salesforce sets the user asunsubscribedfor the email subscription tied to the property.Falsekeeps them subscribed.
One-way sync caveat
The opt-out sync only flows from Salesforce into Spotzee. If a user unsubscribes via a Spotzee email link or preference centre, that change stays in Spotzee and isn’t pushed back to Salesforce. To keep both systems aligned, either:- Treat Salesforce as the source of truth and only opt users out from Salesforce.
- Build a manual reconciliation to update Salesforce when a Spotzee unsubscribe happens (separate webhook integration or scheduled job, neither shipped by Spotzee).
CampaignMember and opt-out
TheHasOptedOutOfEmail field exists on Lead and Contact, not on CampaignMember. If you sync CampaignMember, opt-out has to be mapped from the parent Lead or Contact record. Salesforce exposes the parent record’s opt-out value through campaign-member relationship traversal in the field selector; pick that traversal target when adding the mapping row.
Test a mapping
After saving a new mapping, run a manual sync from the integration’s overview page. Open one of the imported users in Spotzee and verify the mapped fields show the values you expect from Salesforce. Adjust if anything looks off.Next steps
Operations
Manual sync, frequency, and monitoring health.
Define custom user attributes
Set the type and visibility on the new properties you just created.
Subscription preferences
Connect the opt-out field to an actual subscription type.
Salesforce overview
What the integration does and what data flows.