In Flashduty On-call
Create either a dedicated or shared New Relic alert integration and copy its complete Push URL.Configure New Relic
1
Create a webhook destination in New Relic
Where: New Relic › All capabilities › Alerts › Destinations › WebhookIn the older navigation this entry is under Alerts › Enrich and Notify › Destinations.
2
Create a workflow and configure the payload in New Relic
Where: New Relic › All capabilities › Alerts › Workflows › + Add a new workflowThe payload must be valid JSON, otherwise New Relic cannot save it. Save the workflow when done.
3
Verify the lifecycle
Where: New Relic › All capabilities › Alerts › WorkflowsOpen the workflow’s payload page and click Send test notificationSend test notification only proves the webhook is reachable and does not produce a usable real event. Verify the Alert Key, updates, and recovery with a real Issue lifecycle: let the Alert Condition breach its threshold and confirm Flashduty shows an active alert; raise the priority or add another Alert Event and confirm the same alert is updated; finally close the Issue and confirm the original alert recovers.
Alert key and issue merges
Flashduty usesissue_id (issueId) directly as the Alert Key. Titles, priorities, policies, conditions, entities, and incident_ids do not affect it. incident_ids is the list of Alert Events aggregated into the Issue and is stored only as context.
For trigger_event=MERGE_REQUEST, Flashduty updates the surviving Issue identified by the payload’s issue_id. This version does not invoke Flashduty’s internal alert merge operation or infer and close a source Issue.
Status and severity
New Relic warning thresholds create
HIGH priority Alert Events, so HIGH maps to Flashduty Warning. Use an Alert Processing Pipeline for a different mapping.
Add custom labels
Add a top-levelcustom_labels object to send more Workflow variables:
custom_labels accepts at most 20 entries. Use snake_case keys. Strings, numbers, booleans, arrays, and objects are accepted; arrays and objects are stored as JSON strings. Empty values are discarded, built-in labels win collisions, and the final event may contain at most 50 labels in total, including built-in labels and custom_labels. Never send secrets.
For the complete variable list, see New Relic Workflow variables.
Troubleshooting
- Only test notifications arrive, real alerts don’t: make sure the Workflow is enabled and its filter matches real issues
- Flashduty returns a parameter error: make sure the payload is valid JSON and contains a non-empty
issue_idand a supportedstate - Alerts don’t recover: make sure the Destination has Closed enabled and the close payload carries the same
issue_idas the activation - Severity or merge changes aren’t updated: enable Priority changed and Other updates
- Some lists are empty: different conditions and issue types provide different context; Flashduty ignores empty labels