{% extends "base.html" %} {% block title %}Lead Auto Assignment • Crystal Nexus{% endblock %} {% block header %}Lead Auto Assignment{% endblock %} {% block content %}
LMSCom • Routing Rules

Location-wise Auto Assignment

Route leads by Indian region, a specific state or UT, unknown location, or a final fallback. Add multiple users to the same rule for round-robin allocation.
{% if current_user.has_perm('external_leads.assign') %} {% endif %} Website Leads
Assignment matching order
1
Specific State / UT
Most precise rule takes priority.
2
Region
North, South, East, West, Central or North East.
3
Unknown Location
Used when the location cannot be recognised.
4
Default Fallback
Final rule when nothing else matches.
Add Assignment Rule
Select a rule type to configure where leads should be assigned.
{% for rule in rules %} {% else %} {% endfor %}
Assignment Rule Rule Type User Priority Assignments Last Assigned Status Actions
{{ rule.location_name }}
{{ rule.normalized_location }}
{% if rule.normalized_location.startswith('region:') %} Region {% elif rule.normalized_location == 'special:unknown' %} Unknown {% elif rule.normalized_location == '*' %} Fallback {% else %} State / UT {% endif %} {{ rule.user.name }} {{ rule.priority }} {{ rule.assignment_count or 0 }} {{ rule.last_assigned_at.strftime('%d %b %Y %I:%M %p') if rule.last_assigned_at else 'Never' }} {% if rule.is_active %} Active {% else %} Inactive {% endif %}
No assignment rules configured yet.
{% endblock %}