12. Managing Leads in a Bucket
Once a bucket is created and connected to a project, it becomes an active entry point for incoming leads. Managing leads inside a bucket allows you to monitor registrations, track processing status, identify duplicates, and ensure proper routing into your CRM.
This section explains how leads behave inside a bucket and how to work with them efficiently.
What Is a Lead in a Bucket?
A lead in a bucket represents a new client registration that entered the system through a specific acquisition channel (e.g., affiliate, campaign, API, landing page).
Each lead is automatically:
-
Linked to a specific Project
-
Assigned to a Manager
-
Tagged with the Bucket label
-
Tracked using the Affiliate ID (if configured)
Buckets act as controlled intake queues before clients become fully processed CRM records.
Viewing Leads in a Bucket
To view leads:
-
Go to Buckets in the left sidebar.
-
Click on the desired bucket from the list.
-
Open the Leads tab (or Leads section inside the bucket view).
You will see a table containing:
-
Client name / email
-
Registration date
-
Processing status
-
Duplicate status (if applicable)
-
Project and manager
-
Source tracking details
The table supports sorting and filtering (depending on system configuration).
Leads Table: Full Name Column, Sorting, and Name Filters
To improve usability and allow faster identification of leads, the Leads table includes a dedicated Full name column with sorting and filtering capabilities.
Full Name Column
A new column titled Full name is displayed in the Leads table.
Column position: Immediately after the ID column.
Value format: <firstName> <lastName>
Behavior:
- If both first and last name exist → displayed as “FirstName LastName”.
- If only first name exists → displayed as “FirstName”.
- If only last name exists → displayed as “LastName”.
- If both are missing → the cell remains empty.
The column uses the same first and last name fields already stored for the lead. No additional data sources are introduced.
Sorting by Full Name
The Full name column supports sorting.
Sorting behavior:
Follows the standard table sorting mechanism (ASC / DESC).
Sorting priority:
Primary: first name
Secondary: last name
Sorting integrates with:
- Pagination
- Existing filters
- Other active sorting parameters
No custom sorting logic is introduced outside of the established table architecture.
Filtering by First and Last Name
Two separate filters are available in the Leads filter set:
First Name Filter
Filters leads by first name only.
Uses the same string matching logic applied elsewhere in the system (contains / startsWith / exact — depending on system convention).
Last Name Filter
Filters leads by last name only.
Uses the same matching behavior as the First Name filter.
Combined Filtering
Both filters can be used together.
Behavior:
Filters apply using AND logic.
Example:
First name = “John”
Last name = “Smith”
→ Returns only leads matching both criteria.
The filters work correctly with:
Pagination
Sorting
Other active filters
The “Only unassigned leads” toggle
Performance and Stability
The addition of the Full name column:
-
Does not modify existing columns
-
Does not affect lead processing, assignment, or reprocessing flows
-
Does not introduce UI regressions
-
Uses the existing table rendering, filtering, and sorting mechanisms
Lead Statuses
Leads inside a bucket typically move through defined processing states:
New
The lead has entered the system but has not yet been processed.
Processed
The lead has successfully passed validation and has been created or merged as a client.
Duplicate
The system detected an existing client matching duplicate detection rules.
Rejected / Invalid
The lead did not meet validation criteria.
Status is automatically assigned by the system during processing.
Duplicate Handling in Buckets
If a lead is detected as a duplicate:
-
The system links it to the existing client record.
-
The client’s Last duplicate date field is updated automatically.
-
The lead status reflects Duplicate.
This ensures:
-
No duplicate CRM records are created.
-
Duplicate activity is traceable over time.
-
Managers can monitor data quality trends.
Duplicate detection logic is system-driven and cannot be manually overridden inside the bucket view.
Reprocessing Leads
In certain cases (e.g., configuration changes or temporary API errors), you may need to reprocess a lead.
If the system allows reprocessing:
-
Select the lead from the list.
-
Click the action menu (three-dot menu).
-
Choose Reprocess.
Reprocessing will:
-
Re-run duplicate checks
-
Re-apply routing logic
-
Attempt client creation again
Note: Reprocessing does not bypass duplicate detection rules.
Filtering and Searching Leads
Within the bucket Leads view, you can typically:
-
Search by email, ID, or name
-
Filter by registration date
-
Filter by status (New, Processed, Duplicate)
-
Filter by manager or project (if supported)
This helps you:
-
Monitor daily acquisition flow
-
Identify spikes in duplicate registrations
-
Prioritize unresolved or failed leads
-
Analyze campaign-level performance
Only Unassigned Leads (Fast Toggle)
To quickly focus on leads that are not yet assigned to a manager, use the Only unassigned leads toggle located above the leads table.
How it works
-
Disabled (default) — Displays all leads in the selected bucket.
-
Enabled — Displays only leads that do not have an assigned manager.
The definition of “unassigned” follows the system’s backend assignment logic and uses the same criteria as the existing routing model.
Location
The toggle is placed:
-
Above the leads table
-
Next to the Search field
-
Outside of the Filters drawer
This control is designed for fast operational access and is not part of advanced filtering.
Per-Bucket Persistence
The toggle state is automatically saved for each bucket separately.
This means:
If enabled in Bucket A, it remains enabled when returning to Bucket A.
Bucket B maintains its own saved state.
The preference is stored locally in the browser under:localStorage → BUCKETS_FILTERS
If no saved state exists for a bucket, the default is:Only unassigned leads = OFF
How Leads Become Clients
When a lead is successfully processed:
-
A client record is created in the Clients module
-
The client inherits:
ProjectManager
Bucket label
Affiliate ID (if configured)
-
Action timeline tracking begins
-
The client becomes visible in all CRM modules
After processing, the lead remains part of the bucket history for audit and reporting purposes.
Operational Best Practices
Review New leads daily
Monitor Duplicate leads weekly
Investigate abnormal duplicate spikes
Keep Affiliate IDs accurate for tracking
Deactivate unused buckets to prevent routing errors
Regular bucket monitoring ensures:
-
Clean client data
-
Accurate marketing attribution
-
Proper onboarding routing
-
Reduced compliance risks
Important Notes
Editing a bucket does not retroactively change already processed leads.
Duplicate logic is centralized and cannot be modified at the bucket level.
Buckets control routing at intake stage only; client lifecycle management happens in the Clients module.
Deactivating a bucket prevents new leads from entering but does not remove historical data.