Skip to content

LO-065 [Advanced]: Lead Import CSV Column Automapping Engine #402

Description

@Kuldeeep18

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

  1. Fuzzy Matcher: Write a utility matching input headers against target columns (e.g. mapping "E-mail", "Mail Address" -> "email").
  2. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    gssoc:approvedGSSoC 2026 approved base points (+50 pts)level:advancedDifficulty: Advanced (+55 pts)type:designType: Design (+10 pts)type:featureType: Feature (+10 pts)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions