Skip to content

CRM Field Mapping Spec Generator

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

Document details

Choose the source, CRM and fields to sync. Get a mapping and synthetic payloads to test before writing production data.

Keep passwords, API keys and customer data out of this document.

Data modules

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

Field mapping
Source fieldTarget propertyNormalization and typeRequired or fallback
external_idExternal ID (custom)Trim; namespace by tenant and sourceOptional; omit if missing
emailContact.emailTrim and lowercase; validate the addressRequire at least one: email or phone
phoneContact.phoneE.164 · Require an explicit country calling code.Require at least one: email or phone
first_name / last_nameContact.firstname / lastnameTrim strings; join only for single-name targetsOptional; omit if missing
utm_source / utm_medium / utm_campaignFirst-touch UTM (custom)Trim strings; set only when empty, always preserve first touchOptional; 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

Synthetic fixtures and expected outcomes
TestJSON inputExpected
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 alphabetically

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

Keep planning