CRM Field Mapping Spec Generator
Build a CRM field map with deduplication, conflict rules, phone normalization and realistic test payloads.

Document preview
Data contract: 5 mapping rows (Source system: Website form · Target CRM: HubSpot · Deduplication key: Email or phone · Conflict rule: Fill empty fields · Phone normalization: International E.164 · Data modules: Contact identity, UTM attribution · Modules: 2)
Data contract: 5 mapping rows
Sync and conflict policy
Source system: Website form · Target CRM: HubSpot · Deduplication key: Email or phone · Conflict rule: Fill empty fields · Phone normalization: International E.164 · Data modules: Contact identity, UTM attribution
Look up both keys. Use one unique result; if they point to different contacts, quarantine the event.
Keep nonempty CRM values and fill empty fields only.
Map the selected source payload to the normalized input columns, then upsert in the target after validation.
Source to CRM mapping
| Source field | Target property | Normalization and type | Required or fallback |
|---|---|---|---|
| external_id | External ID (custom) | Trim; namespace by tenant and source | Optional; omit if missing |
| Contact.email | Trim and lowercase; validate the address | Require at least one: email or phone | |
| phone | Contact.phone | E.164 · Require an explicit country calling code. | Require at least one: email or phone |
| first_name / last_name | Contact.firstname / lastname | Trim strings; join only for single-name targets | Optional; omit if missing |
| utm_source / utm_medium / utm_campaign | First-touch UTM (custom) | Trim strings; set only when empty, always preserve first touch | Optional; omit if missing |
Deduplication and merge guardrails
- Use a unique index or a tenant-scoped key lock for concurrent creates; never merge multiple matches automatically.
- Apply source timestamps to prevent stale writes. Exclude first-touch attribution and opt-in history from generic overwrite rules.
Validation, quarantine and retries
Quarantine missing keys, ambiguous matches and malformed phones. Save the source event reference and redacted reason. Retry 429 and 5xx up to three times with increasing delays and an idempotency key.
These are proposed mappings. Confirm actual internal property IDs, types and write permissions in a CRM sandbox.
Pre-launch payloads
| Test | JSON input | Expected |
|---|---|---|
| New lead | {"external_id":"demo-51","email":" TEST@example.com ","phone":"+44 7700 900123","first_name":"Alex"} | Create one record with test@example.com and +447700900123. |
| Same phone | {"external_id":"demo-51","email":" TEST@example.com ","phone":"+447700900123","first_name":"Alex"} | Replay after the new lead. Expect the same contact ID and no new record. |
| Missing key | {"external_id":"demo-51","email":"","phone":"","first_name":"Alex"} | Quarantine; no target write. |
| Conflict | {"external_id":"demo-51","email":" TEST@example.com ","phone":"+447700900123","first_name":"Dana"} | With the record from the first test still present, compare first_name. Keep nonempty CRM values and fill empty fields only. |
Reviewed specialists
Browse source-backed specialists alphabeticallyHow the estimate works
The generator includes identity keys plus fields for each selected module. Treat the mapping as a contract to validate against the target schema and permissions in a sandbox.
Frequently asked questions
What if email and phone match different records?
Quarantine the event for manual review and avoid writes or merges until the correct record is established.
Does the map include marketing consent?
Select the Section 30A opt-in module to include an explicit consent value, timestamp and source. Confirm your organization’s data requirements before enabling writes.



