Lead Fields Reference

Complete reference guide for all lead fields available in Top Provider integrations

This comprehensive reference documents all available lead fields in the Top Provider system. Use this guide when configuring field mappings for Email Integration, Webhook Integration, or HubSpot Integration.

Field Categories

Top Provider organizes lead fields into logical categories for easier management:

Understanding Field Properties

Each lead field has several properties you should understand:

  • Field Name: Human-readable name shown in the interface
  • Data Type: The kind of data stored in the field (String, Number, etc.)
  • Default Mapping: Suggested field name when mapping to external systems

Contact Information

The primary contact details for reaching the lead.

Field NameDescriptionData TypeDefault Mapping
Email AddressPrimary email address of the leadString (Email)emailAddress
Phone NumberPrimary phone numberStringphoneNumber

Personal Information

Individual identity information for the lead contact.

Field NameDescriptionData TypeDefault Mapping
First NameFirst name of the leadStringfirstName
Last NameLast name of the leadStringlastName
TitleProfessional or personal titleStringtitle

Address Fields

Physical location information for the lead or their business.

Field NameDescriptionData TypeDefault Mapping
AddressStreet address (line 1)Stringaddress
Address2Street address (line 2)Stringaddress2
CityCity nameStringcity
StateState/province/regionStringstate
Postal CodeZIP or postal codeStringpostalCode
CountryCountry nameStringcountry

Company Information

Details about the lead's organization or business.

Field NameDescriptionData TypeDefault Mapping
CompanyCompany nameStringcompany
Company SizeNumber of employeesString/NumbercompanySize
IndustryIndustry categoryStringindustry

Company Size Values

The following values are used for the Company Size field:

ValueDescription
1-4Micro company (1-4 employees)
5-9Very small company (5-9 employees)
10-24Small company (10-24 employees)
25-49Medium company (25-49 employees)
50-99Medium-large company (50-99 employees)
100-249Large company (100-249 employees)
250-499Extra large company (250-499 employees)
500-999Huge company (500-999 employees)
1,000-2,499Massive company (1,000-2,499 employees)
2,500-4,999Enterprise (2,500-4,999 employees)
5,000-9,999Mega enterprise (5,000-9,999 employees)
10,000+Ultra enterprise (10,000+ employees)

Industry Values

The following values are used for the Industry field:

  • Accounting
  • Advertising and Marketing
  • Aerospace and Aviation
  • Agriculture
  • Arts and Culture
  • Automotive
  • Biotechnology and Pharmaceuticals
  • Business Services
  • Construction and Engineering
  • Consumer Goods
  • Defense
  • Education
  • Energy and Utilities
  • Entertainment and Media
  • Financial Services
  • Food and Beverage
  • Government and Public Administration
  • Healthcare and Medical
  • Hospitality and Travel
  • Information Technology and Services
  • Legal Services
  • Manufacturing
  • Non-Profit
  • Real Estate
  • Retail
  • Staffing and Recruiting
  • Sports and Recreation
  • Telecommunications
  • Transportation and Logistics

Lead Details

Metadata and additional information about the lead itself.

Field NameDescriptionData TypeDefault Mapping
Lead IdUnique identifier for the leadStringleadId
MessageAdditional message or notesTextmessage
UrlRelated URL (e.g., referral URL)String (URL)url

Order Information

Details about the lead order associated with this lead.

Field NameDescriptionData TypeDefault Mapping
Lead Order NameName of the associated lead orderStringleadOrderName
Lead Order Leads RemainingNumber of leads remaining in the orderNumberleadOrderLeadsRemaining
Order Leads SentNumber of leads sent from the orderNumberorderLeadsSent
Send DateDate when the lead was sentDateTimesendDate

Field Data Types

Understanding the data types helps you handle field values appropriately in your integrations:

Data TypeDescriptionExample
StringBasic text data, limited to 255 characters"John Doe"
TextLonger text data without specific character limits"Detailed project requirements..."
NumberNumeric data (integer or decimal)42, 3.14
DateTimeDate and time values in ISO format"2023-06-15T14:22:43Z"
EmailSpecifically formatted email addresses"contact@example.com"
URLWeb addresses"https://example.com"

Using Fields in Integrations

Each integration type uses lead fields differently:

Email Integration

In Email Integration, all lead fields are included in the email body.

Webhook Integration

For Webhook Integration:

  • Map Top Provider field names to your system's expected field names
  • Use the field data types to validate and process incoming data
  • Handle missing fields gracefully in your webhook endpoint

HubSpot Integration

With HubSpot Integration:

  • Map lead fields to standard HubSpot properties
  • Create custom properties in HubSpot for specialized fields
  • Use constants for fields that should have fixed values

Handling Missing Data

Since not all fields will have values for every lead, your integration should properly handle missing or null values:

  • Provide defaults when appropriate
  • Skip processing of fields with null values
  • Use conditional logic to handle variations in data completeness
  • Log warnings rather than errors for missing data

Never assume all fields will be present in every lead. Always implement proper null checks in your integration code.