Overview
Segmentation is the process of creating groups of records (segments) based on common business characteristics. Segments can be created by using CRMQL (CRM Query Language), a business query language developed by CRM.COM. They are used for statistical calculations and as identification criteria by business processes, for example, to group newly activated subscriptions and send them a welcome message.
It is also possible to create reusable segment criteria templates (to speed up the process)
Segment Criteria Templates
Segment criteria templates can be used to create new or modify existing segments, making it possible to edit and reuse queries instead of writing them from scratch. Each segment criteria template is specific to an area in the system referred to as 'Segmented Area' It actually determines the type of information that will be grouped in the segment and the filters or the queries that can be defined each segment. Once the segmented area is selected the query used to identify the records included in the group is written using the CRMQL.
Save the template and use it when creating segments to speed up the process.
Segments
Foundation / Segmentation / Manage Segments
Segments group records based on common characteristics by using conditions defined in CRMQL (CRM.COM Query Language).
By using the Included in Segments and Excluded Segments attributes found under the segments tab of some modules, the system can effectively select which records should be affected by (or excluded from) an action.
Segments are also used in Pricing Strategy and Additive Discounts to determine whether plans and discounts can be applied to the selected group of records, and in processes to apply actions on specific groups of records in one flow.
Creating Segments
Specify the criteria that match the segment you are interested in or click on NEW from the Actions menu to create a new segment. Select a Segmented Area and one of the available Criteria Templates or provide a new CRMQL query (or select a template) and SAVE the segment. If SAVE AS DRAFT is selected, the criteria can be committed and the CRMQL query can be saved without being correct.
Modifying a segment
Use EDIT from the Actions menu to enter edit mode and update the criteria. This will result in a different segment. The template and criteria can be edited in both draft or posted segments, but the entity cannot be modified in any case.
Including specific records in the segment
Define a set of records that should be included in the segment regardless of specified criteria. The type of information that can be added to the static items depends on the selected entity. Use the 'Manage Static Items' action available from the Actions Menu to add items from a segment. If you would like to remove specific items then just click on the remove icon next to the item.
Previewing and exporting segments
You can preview a number of the records that will be included in a segment through the Matched Items section
It is also possible to view a comprehensive list of the records included in a segment by exporting them as a CSV file through Export button in the Matched Items section
Segment preview information includes:
- Entity ID
- Entity number (where applicable)
- Entity name
- Entity alternative code (where applicable)
- Entity description (where applicable)
Preview information additionally displays either the Accounts Receivable Name or the Contact Information Name depending on whether the entity is an accounts receivable-based or a contact information-based entity.
- The Accounts Receivable Name is available when previewing segments for:
- Bills
- Buy In Advance Requests
- Credit Notes
- Invoices
- Invoice Cancellations
- Jobs
- Payments
- Payment cancellations
- Payment gateway cards
- Payment gateway requests
- Refunds
- Rewards Participants
- Award Transactions
- Spend Transactions
- Award Expiration Transactions
- Service Requests
- Subscriptions
- Wallets
- Write Offs
- Subscription Actions
- The Contact Information Name is available when previewing segments for:
- Activities
- Leads
Using segments throughout the system
As shown in the table below, several system processes use segments.
Entity | How segments are used by the module |
---|---|
Rewards | Used by reward offers as award conditions. Participants from a specific segment can be eligible to be awarded or can be excluded. |
Provisioning
| Segments are included in provisioning provider fingerprinting run criteria to include or exclude subscribers from being sent a fingerprinting message. |
Additive Discount | Segments are included in additive discount definition criteria to include or exclude customers from being eligible for the discounts. |
Pricing Strategy | Segments are included in conditional price plan conditions to allow (or prevent) customers from being billed from a specific price plan. |
Notifications | Segments are included in notification types to include or exclude customers from being notified. |
Real Time Business Flows
Scenario
Aluxsat Co. wants to offer a discount to its subscribers on the month of their birthday.
Configuration
Segments
- Create the following Segment:
- Name: Subscriber - birthday month
- Entity: Accounts receivable
Criteria:
accounts_receivable.contact_information.month_of_birth = current_month()
Additive Discount
- Create an auto apply discount for subscriptions.
- In the Discount Rules section, define that the discount will be applied once a year
- Add the segment in the non-usage segment criteria.
Notification
- Create a notification type for subscriptions.
- Create a communication template which will wish the subscriber a happy birthday and inform them of the discount:
Dear #subscription.accounts_receivable.name
Happy Birthday !!!
We value our customers and would like to celebrate your birthday with you by offering you a 50% discount on your current subscription fee for this month for subscription: #subscription.number
Best Regards
Company ZX Team
- Add the segment in the notification criteria.
- Execute a notification run before the billing is executed so that the customers are informed of the discount.
Process
During billing, the system will retrieve the segment of subscribers who have their birthday during the current month and will discount their monthly bill
Scenario
Aluxsat Co. wants to identify non-VIP customers that owe money to the company for use in various business processes.
Configuration
Segment Criteria Template
- Create the following Segment Criteria Template:
- Name: Accounts receivable in debt excluding VIP
- Segmented Area: Accounts receivable
- Criteria:
accounts_receivable.balance >
0
and accounts_receivable.credit_status =
"Exceeded"
and accounts_receivable.classification!=
"VIP"
Segment
- Create the following segment using the above template:
- Template: Accounts receivable in debt, excluding VIP
- Name: Accounts receivable in debt, excluding VIP
On this page
Release news
Check out a full list of CRM.COM features available per release.
Check out upgrade notes to find out what needs to be done to upgrade from your current release to the latest release of CRM.COM.