{% extends "base.html" %} {% block title %}Import Leads • Crystal Nexus{% endblock %} {% block header %}Leads{% endblock %} {% block content %}

Import Leads (Excel)

Upload an Excel file and bulk-create leads. Industries and Services will auto-create if missing.
Back
Tip: Keep the first row as headers exactly as shown below.
Expected columns (header row)
name (required), company, email, phone_country, phone, location, industry, service, website, notes, status, source
Notes: Status/Source must match your master names (case-insensitive). Industry and Service will be auto-created if not found.
  • name is mandatory; rows without name will be skipped.
  • phone_country example: +91, +1. If blank, defaults to +91.
  • industry can be free text; it will be added to Industry Master automatically if missing.
  • service can be free text; it will be added to Lead Service Master automatically if missing.
  • All imported leads will be assigned to you as Owner (current user).
{% if errors %}
Import Errors ({{ errors|length }})
Fix these rows and re-upload.

{% for e in errors %} {% set parts = e.split(':', 1) %} {% endfor %}
Row Error
{{ parts[0] }} {{ parts[1] if parts|length > 1 else e }}
{% endif %} {% endblock %}