Description
When users import a CSV, they must match their spreadsheet headers manually to LeadOrbit columns (First Name, Email, etc.). If the headers don't match exactly, the import fails. We want to build an intelligent auto-mapping engine.
User & Contributor Value
- Contributors: Implementing fuzzy string matching algorithms (e.g. Levenshtein distance) in Python and designing map forms.
- Users: High usability. Saves time by automatically guessing mapped fields for various spreadsheet formats.
Code Locations
- backend/leads/tasks.py
- frontend/leads.html
Implementation Guide
- Fuzzy Matcher: Write a utility matching input headers against target columns (e.g. mapping "E-mail", "Mail Address" -> "email").
- Preview Mapping Form: When uploading a CSV, parse the first row on the backend, predict the mapping, and return it to the UI. Display a column mapping confirmation table showing mapped fields.
Description
When users import a CSV, they must match their spreadsheet headers manually to LeadOrbit columns (First Name, Email, etc.). If the headers don't match exactly, the import fails. We want to build an intelligent auto-mapping engine.
User & Contributor Value
Code Locations
Implementation Guide