Contacts & CRM
Creating custom segments with filters
4 minutes read time Difficulty: intermediate
Creating custom segments with filters
Segments are dynamic groups of contacts that automatically update based on filter conditions.
What are segments?
A segment is a saved set of filter rules. Contacts that match the rules are automatically included. When a contact's data changes, they move in or out of segments automatically.
Example segments:
- "VIP Customers" — contacts with tag "vip" AND lifecycle stage "Customer"
- "Inactive 30 days" — contacts with no messages in the last 30 days
- "Mumbai Leads" — contacts with custom field "city" = "Mumbai" AND stage = "New Lead"
System segments (built-in)
AIsoule provides these system segments automatically:
| Segment | Criteria |
|---|---|
| All Contacts | Every contact in your organization |
| Unassigned | Contacts not assigned to any agent |
| Unread Messages | Contacts with unread incoming messages |
| Recently Active | Messages in the last 7 days |
| Inactive (30d+) | No messages in the last 30 days |
Creating a custom segment
- Go to Contacts → Segments (or the segments icon)
- Click "New Segment"
- Enter a name (e.g., "High-value leads")
- Build your filter conditions:
Filter options
| Field | Operators | Example |
|---|---|---|
| Tags | contains, does not contain | tag contains "vip" |
| Lifecycle stage | equals, not equals | stage = "Customer" |
| Assigned agent | equals, is empty | assigned to "John" |
| Last message | before days, after days | last message > 7 days ago |
| Custom fields | equals, contains, is empty | city = "Mumbai" |
| Source | equals | source = "campaign_reply" |
AND/OR logic
- AND — Contact must match ALL conditions
- OR — Contact must match ANY condition
Example: Tag contains "customer" AND last message after 7 days = Active customers
- Click "Preview" to see how many contacts match
- Click "Save"
Using segments
Segments can be used for:
- Campaign targeting — Import recipients from a segment
- Filtering contacts — View only contacts in a specific segment
- Reporting — Track metrics for specific groups
- Automation — Trigger flows based on segment membership
Editing segments
- Go to Contacts → Segments
- Click on the segment name
- Modify the filter conditions
- Save — the contact list updates automatically
Tips
- Start broad, then narrow — Create a general segment, then add conditions
- Use tags strategically — Tags make segmentation much easier
- Combine with lifecycle stages — "New Lead" + "Source = Ad" = hot leads from ads
- Review regularly — Check segment counts monthly to ensure they're useful
- Name clearly — Use descriptive names like "Active VIP Mumbai" not "Segment 1"
Limits
- Maximum 100 custom segments per organization
- No limit on conditions per segment
- Segments refresh automatically when contacts are updated
Related Articles
Was this guide helpful?
Your feedback helps us make these guides better for everyone.