In Flashduty On-call
- In the Flashduty console, go to Integration Center → Change Events
- Select LaunchDarkly and enter an integration name
- To assign changes to specific channels, add rules under the integration’s Routes that match labels such as
project,environment, orflag - Click Save and copy the generated Push URL
Configure LaunchDarkly
1
Open the Webhooks integration
- Click the gear icon in the left sidebar to open Organization settings
- Click Integrations, find Webhooks, and click Add new
2
Enter the push URL
- Name: enter a recognizable name, such as
Flashduty - URL: paste the full push URL of the Flashduty integration
- Sign this webhook: leave it unchecked. Flashduty authenticates the delivery by the
integration_keyin the push URL
3
Choose what to send
Without a policy, LaunchDarkly sends only flag changes in the production environment. To send other environments or segment changes, add this policy:Replace
env/* with a specific environment (such as env/production) to send only that environment. Accept the terms and click Save settings.What one change is
Status mapping
These deliveries are accepted without creating a change:
- Entries for other resource kinds, such as projects, environments, members, roles, webhooks, metrics, and experiments
- Entries that contain only the following actions, which do not change how a flag evaluates:
- Creating, updating, reviewing, or deleting an approval request (once an approval request is applied, LaunchDarkly sends the entry for that step)
- Creating, updating, or deleting scheduled changes (the entry for the scheduled change is sent when it runs)
- Name, description, tags, maintainer, temporary flag, deprecation, custom properties, rule descriptions, code references, flag links, followers, and segment exports
Change content
Labels can be used in routes and to filter the change list:
FAQ
Why are changes from staging or segments not arriving?
Why are changes from staging or segments not arriving?
Without a policy, LaunchDarkly sends only flag changes in the production environment. Add a policy as described in Choose what to send.
Does a LaunchDarkly retry record a duplicate?
Does a LaunchDarkly retry record a duplicate?
No. When a delivery fails, LaunchDarkly retries it once with the same content, and Flashduty records it once.
Deliveries arrive out of order?
Deliveries arrive out of order?
LaunchDarkly does not guarantee chronological delivery. Flashduty uses the entry’s own time (
date) as the change time.Why does a delivery return InvalidParameter?
Why does a delivery return InvalidParameter?
_id is missing: the payload is incomplete. Make sure the delivery comes from a native LaunchDarkly webhookinvalid date: the time field in the payload is malformed