Field Mapping
Configure the data fields each lead carries in a Lead Distro AI campaign — system fields, custom fields, vertical-specific patterns, field transforms (Phone Formatter, Date Formatter), and validation.
What is Field Mapping?
Field mapping defines the schema of leads in a campaign — which fields are required, which are optional, what format each field expects, and how fields are validated and transformed on ingest. It's the contract between your suppliers (sending leads) and your buyers (receiving leads).
System vs Custom Fields
| Type | Examples | Notes |
|---|---|---|
| System fields | `first_name`, `last_name`, `email`, `phone`, `state`, `zip_code`, `source` | Always available. Standard contact fields used in routing, suppression, de-duplication, and reporting. |
| Custom fields | `incident_date`, `case_type`, `service_type`, `roof_age`, `solar_quote_size` | Defined per campaign based on vertical. Used in inbound filters, buyer filters, and the buyer-facing payload. |
Vertical-Specific Examples
| Vertical | Custom fields typically used |
|---|---|
| Personal injury / MVA | `incident_date`, `case_type`, `at_fault_party`, `injury_type`, `medical_treatment`, `attorney_representation`, `police_report`, `vehicle_type`, `preferred_language` |
| Home services (roofing) | `roof_age`, `roof_material`, `damage_type`, `insurance_claim`, `home_ownership`, `service_zip` |
| Solar | `monthly_electric_bill`, `home_ownership`, `roof_type`, `shading`, `state_incentive_program` |
| Insurance | `current_carrier`, `policy_renewal_date`, `coverage_type`, `vehicle_year`, `home_value` |
| B2B SaaS | `company_size`, `industry`, `current_solution`, `decision_timeline`, `budget_range` |
| Debt / credit repair | `debt_amount`, `debt_type`, `monthly_income`, `credit_score_range` |
Configuring Field Mapping
- Go to your Campaign and open the Field Mapping section.
- Each system field is already present — mark required vs optional as appropriate.
- Click Add Custom Field to add vertical-specific fields. Set name, data type (text, number, date, phone, email, boolean), and required/optional.
- (Optional) Apply a transform to normalize incoming data — e.g., Phone Formatter to convert any phone format to E.164, Date Formatter for international date formats, To Number to coerce string numbers.
- (Optional) Set a validation pattern (regex) for fields that need strict format checking.
- Save — the schema applies to all incoming leads from the next ingest onward. Existing leads keep their original field set.
Field Transforms
| Transform | Input | Output options |
|---|---|---|
| Phone Formatter | Any phone format | 7 outputs: E.164 (`+15551234567`), `+1 (555) 123-4567`, 10-digit (`5551234567`), dashes (`555-123-4567`), parens (`(555) 123-4567`), dots (`555.123.4567`), local (`123-4567`) |
| Date Formatter | Any date format | US (`MM/DD/YYYY`, `MM-DD-YYYY`), UK/EU (`DD/MM/YYYY`, `DD-MM-YYYY`, `DD.MM.YYYY`), AU, MX, ISO (`YYYY-MM-DD`) |
| To Number | String numbers (`"1500"`, `"$1,500"`) | Integer (`1500`) — strips formatting |
| Trim Whitespace | Text with leading/trailing spaces | Cleaned text |
Transforms run on ingest, before inbound filters. So a filter rule like `phone matches E.164 format` will pass after the Phone Formatter transform regardless of how the supplier originally formatted the phone number. Combine transforms with strict validation for clean buyer-facing payloads.
Frequently Asked Questions
What's the difference between system fields and custom fields in Lead Distro AI?
Can I add a new field to an existing campaign without breaking existing leads?
Do field transforms run before or after inbound filters?
What happens when a required field is missing on a lead?
Can I have different field mappings on different campaigns?
How does Phone Formatter handle international numbers?
Can I validate phone numbers and emails on ingest?
Related Articles
If you have any questions, send us an email at support@leaddistro.ai