Beyond Tags: A Developer's Guide to Advanced Segmentation
Why Basic Segmentation Isn't Enough Anymore
For years, marketers have lived by the mantra "segment your list." The advice is sound, but the execution has often been stuck in first gear. Most platforms encourage basic segmentation, which typically falls into four categories:
- Demographic: Age, gender, location, job title.
- Geographic: Country, city, region, or climate.
- Psychographic: Lifestyle, values, interests, and personality traits.
- Behavioral: Purchase history, engagement level, links clicked.
These are a good start, but in today's data-rich world, they are the equivalent of using a map from 2005 to navigate a modern city. They're too broad. They miss the nuance of the customer journey and fail to leverage the most valuable asset you have: your unique, proprietary business data.
The cost of this shallow approach is staggering. You're leaving revenue on the table and failing to build deep customer relationships. The data is unequivocal:
SaaS platforms often limit you to segmenting on data that lives within their ecosystem. But what about your most powerful data? The feature usage stats from your application's backend? The support ticket history from your help desk? The loyalty score calculated by your internal BI tool? This is where standard segmentation hits a wall, and where custom fields provide the breakthrough.
Introducing Custom Fields: Your Key to Hyper-Personalization
If basic tags are the light switches of segmentation (either on or off), then custom fields are the full-featured control panel, complete with dials, sliders, and programmable inputs.
Custom fields (also known as custom subscriber fields or merge fields) are placeholders you can create to store any kind of data about your subscribers. Unlike simple tags, they can hold various data types like text, numbers, dates, and booleans, allowing for incredibly granular and powerful segmentation.
With a self-hosted platform like NetSendo, you are not bound by a predefined data model. You decide what information is important for your business. Custom fields are the technical foundation that allows you to attach that rich, specific data directly to a subscriber's profile, making it actionable for your campaigns.
ℹ️ Note: This is the fundamental difference between owning your marketing stack and renting it. When you self-host, you can integrate any data source to build a complete 360-degree view of your customer, free from the limitations of a third-party vendor's data structure.
Data-Driven Segmentation Strategies That Boost ROI
Let's move from theory to practice. Here’s how different businesses can leverage custom fields to create segments that are simply impossible with basic tools.
SaaS Business
Custom Fields:
plan_tier(Text: "Free", "Pro", "Enterprise")feature_adoption_score(Number: 1-100)last_login_date(Date)is_trialing(Boolean: true/false)
Advanced Segments:
- "Power users on a Pro plan (score > 80) to invite to a beta program."
- "Trial users with low feature adoption (score < 20) to send a targeted 'getting started' guide."
- "Enterprise users who haven't logged in for 45 days for a churn-prevention campaign."
E-commerce Store
Custom Fields:
loyalty_tier(Text: "Bronze", "Silver", "Gold")total_order_value(Number)last_viewed_category(Text: "footwear", "outerwear")rfm_score(Number: 1-5)
Advanced Segments:
- "Gold-tier customers who last viewed 'outerwear' to send a new winter collection announcement."
- "Customers with a high RFM score but low total order value, perfect for a 'bundle and save' offer."
- "One-time buyers from 6 months ago to re-engage with a special discount."
A Quick Dive into RFM Segmentation
In the e-commerce example, we mentioned RFM Score. This is a classic, powerful model that scores customers based on three factors:
- Recency: How recently did they purchase?
- Frequency: How often do they purchase?
- Monetary: How much do they spend?
By calculating an RFM score for each customer in your database and storing it in a NetSendo custom field like rfm_score, you can instantly identify your best customers, loyal contributors, and those at risk of churning without complex, multi-layered queries.
How to Implement Advanced Segmentation in NetSendo
Achieving this level of segmentation is a two-step process:
- Populate Custom Fields: This is the backend, technical step where you feed data from your various systems into NetSendo.
- Build Segments: This is the frontend step where you use NetSendo's campaign builder to filter your audience based on that rich data.
Let's break down each step.
Step 1: Populating Custom Fields (The Technical Part)
This is where the power of a self-hosted, API-first platform shines. You have multiple ways to get your data into NetSendo's custom fields.
Method 1: The REST API
The most direct method is using NetSendo's REST API to programmatically create or update subscribers. This is perfect for integrating with your application's backend, a CRM, or running a batch script.
Imagine you've just calculated a new feature_adoption_score for a user. You can update their NetSendo profile with a simple API call.
import requests
NETSENDO_URL = "https://your-netsendo-instance.com/api"
API_TOKEN = "your_api_token"
SUBSCRIBER_ID = 123 # The ID of the subscriber to update
headers = {
"Authorization": f"Bearer {API_TOKEN}",
"Content-Type": "application/json",
"Accept": "application/json"
}
payload = {
"custom_fields": {
"feature_adoption_score": 95,
"last_login_date": "2026-10-01"
}
}
response = requests.put(
f"{NETSENDO_URL}/subscribers/{SUBSCRIBER_ID}",
json=payload,
headers=headers
)
if response.status_code == 200:
print("Subscriber updated successfully!")
else:
print(f"Error: {response.json()}")
Method 2: Webhooks
For real-time updates, you can use webhooks from external services. For example, your payment processor (like Stripe) could send a webhook on a charge.succeeded event. You can build a small service that listens for this webhook, extracts the customer email and purchase amount, and then uses the NetSendo API to update the total_order_value custom field for that subscriber.
Method 3: n8n Integration (The Low-Code Powerhouse)
For those who want powerful integrations without writing extensive custom code, NetSendo's integration with tools like n8n is a game-changer. n8n allows you to create visual workflows that connect different apps and services.
You could build a workflow that:
- Triggers when a new row is added to a Google Sheet.
- Fetches additional customer data from your CRM (e.g., Salesforce or HubSpot).
- Formats the data as needed.
- Uses an HTTP Request node to call the NetSendo API and update the subscriber's custom fields.
Step 2: Building Segments with Custom Field Filters (The UI Part)
Once your data is flowing into NetSendo, the fun begins. With our v2.1.2 release, we introduced powerful and intuitive custom field filtering right inside the campaign builder.
-
Navigate to the Campaign Audience Builder
When creating a new campaign, proceed to the "Audience" step. Instead of selecting a simple tag, choose the option to build a segment.
-
Add a Custom Field Condition
Click "Add Condition" and select "Custom Field" from the dropdown. You'll see a list of all the custom fields you've created.
[Image: NetSendo UI showing custom field filter options]Building a segment in NetSendo using custom field filters is intuitive and powerful. -
Define Your Logic
Choose your custom field, an operator (like "is exactly", "is greater than", "is before", "contains"), and the value to match. You can chain conditions together with AND/OR logic to create highly specific segments.
Example segment:
- (
loyalty_tieris exactlyGoldAND total_order_valueis greater than1000) ORrfm_scoreis equal to5
- (
-
Use Exclusion Filters
Equally important is the ability to exclude subscribers. After defining your target segment, you can add exclusion rules. For example, target all "Gold" members but exclude those who have an open support ticket (where
has_open_ticketistrue).
Beyond Segments: Using Custom Fields for Dynamic Email Content
The power of custom fields doesn't stop at segmentation. You can also use them to dynamically personalize the content of your emails using template variables.
Instead of a generic message, you can craft content that speaks directly to the user's status:
<h1>An Exclusive Offer for our {{ subscriber.custom_fields.loyalty_tier }} Members!</h1>
<p>Hi {{ subscriber.first_name }},</p>
<p>Because you're one of our top customers with a total spend of ${{ subscriber.custom_fields.total_order_value }}, we wanted to give you early access to our new collection.</p>
This level of personalization builds stronger relationships and dramatically improves conversion rates.
📌 Key Takeaways
- Basic segmentation is no longer enough; advanced, data-driven strategies are essential for ROI.
- Custom fields are the technical foundation for storing rich, business-specific data on subscribers.
- A self-hosted platform like NetSendo gives you the power to populate custom fields from any data source via its REST API, webhooks, and integrations like n8n.
- NetSendo's powerful filtering allows marketers to easily build hyper-targeted segments using this custom data.
- Custom fields can be used for both audience segmentation and dynamic email content personalization.
🎯 Expert Tips
Your segmentation is only as good as your data. Ensure the data you're piping into custom fields is clean, accurate, and consistent. A "garbage in, garbage out" policy applies here more than ever.
Before you create dozens of custom fields, document them. Create a simple spreadsheet that lists each field name (e.g., feature_adoption_score), its data type (Number), its purpose, and the system that populates it. This will be invaluable as your team grows.
Don't try to boil the ocean. Identify the 3-5 most impactful data points you aren't currently using. Implement custom fields for those, run a few campaigns, measure the results, and then expand your data model from there.
Creating segments is not just about who to include, but also who to exclude. Use custom fields to filter out recent purchasers from a sales campaign, or users with open support tickets from a "rate our service" email. This thoughtful approach prevents negative customer experiences.
Own Your Data, Own Your Segmentation
Stop letting third-party platforms dictate what data you can use. With NetSendo, you have the ultimate flexibility to build a segmentation engine tailored to your unique business logic. Connect any data source, define any field, and build the hyper-targeted segments that drive real growth.

