Core uses
Labels drive the whole alert workflow: filtering the incident list, routing alerts to channels, matching escalation rules, grouping alerts, and matching silence and inhibition rules. Label enhancement lets these steps use information the source data doesn’t provide directly.Configure label enhancement
Go to Integration Details → Label Enhancement → Add Rule.To turn off label enhancement for an integration, delete all rules and save (applies to both alert and change events). The edit page then shows No label rules; click Add label rule to configure rules again.
Enhancement types

Mapping methods
When source label values vary or aren’t meaningful on their own, map them to new labels and values. When adding a mapping rule, choose Schema or API:Configuration options
Condition fields
Label enhancement rules apply to both alert events and change events, and the fields usable in conditions are the union of the two:Flashduty validates condition fields when you save a rule. Fields outside this vocabulary make the save fail, such as typos or fields from other rule families like
incident_severity or dedup_key. Rules saved before this check still work, but re-saving one with an unsupported field fails.Configuration examples
- Label Extraction
- Label Combination
- Mapping: Schema
- Mapping: API
Scenario: Alert events come from email integration; need to extract key information from description as labels for other scenarios, like extracting IP and trigger value from description as independent labels.


1
View Original Alert

2
Configure Extraction Rule

3
Verify Extraction Result

Mapping data management
Each account can create up to 20 mapping tables and 50 mapping services (APIs). Creation fails with a limit-exceeded error once the quota is reached.
Mapping table data management
In the mapping table details page, you can manage mapping table data:
Mapping service API specification
When using API mapping, your external API service must follow these specifications:Request specification
Flashduty will call your API with aPOST request with the following request body:
Response specification
The API must return a JSON response in the following format: Success Response (HTTP 200):If a requested label cannot find a corresponding value, the API should not include that key in
result_labels.Security constraints
For security purposes, the following HTTP Headers are prohibited in mapping services:Best practices
- Performance First: The API is on the critical path of alert processing, must ensure low latency (recommended < 500ms)
- Implement Caching: For identical query conditions, implement caching to improve performance
- Idempotent Design: Multiple calls for the same event should return identical results
- Secure Authentication: API must be protected by authentication mechanisms to prevent unauthorized access
Further reading
Configure Escalation Rules
Use labels to match escalation conditions
Configure Noise Reduction
Use labels as grouping dimensions
Configure Filter Conditions
Learn label matching syntax
Configure Routing Rules
Distribute alerts to different channels






