Segments let you define targeted groups of users based on properties stored in your Firestore database. Use segments to send campaigns to specific subsets of your audience.
Segments List
Navigate to Messaging → Segments to view all configured segments.

Creating a Segment
Click New Segment
On the Segments page, click + New Segment.
Name the segment
Give the segment a descriptive name (e.g., Premium Users, Android Users).
Define filter criteria
Set filter conditions based on user document fields in Firestore. Conditions are combined with AND/OR logic.
For example:
plan == 'premium'platform == 'android'country == 'US'
Save
Click Save. The segment is created and available as a target in Campaigns.
Using a Segment
When creating a campaign, select Segment as the target audience and choose the segment. Firepanel will query matching users and send the notification to their registered device tokens.
Note:
For segments to work, your users must have FCM registration tokens stored in their Firestore user documents.