In Flashduty On-call
You can get the integration push URL in either of the following ways.
Use a dedicated integration
- In the Flashduty console, select Channel and open a channel
- Select Configuration → Integrations → Private integration, then click Add an integration
- Select Formant and click Save
- Open the new integration card and copy the Push URL
Use a shared integration
- In the Flashduty console, select Integration Center → Alert Events
- Select Formant and enter an integration name
- Configure the default route and select a channel. You can add more rules under Routes after creation
- Click Save and copy the generated Push URL
Configure Formant
1
Create a webhook
- Sign in to Formant, open the menu in the upper-left corner and click Settings
- Click Integrations, scroll down to Webhooks and click Connect
- Enter a webhook name. In URL, paste the full Flashduty push URL (starting with
https://and includingintegration_key) - Leave the parameters empty; Flashduty does not read them. Save
2
Turn on webhook forwarding for an event
- Go to Settings → Events and open an existing event, or click Add Event Trigger to create one
- On the Actions tab, find Webhook forwarding and select the webhook from the previous step
- Under Notification, set the event severity (Info, Warning, Error, Critical). It sets the Flashduty alert severity
- Save. Select the webhook on every event you want to forward
3
Verify
Make a forwarded event trigger once (for example, take a device offline or push a datapoint over the threshold). Check that Flashduty shows an alert titled with the event message (for example
Oven temperature high).Recovery and auto-close
Formant events cannot be changed after they trigger, and the webhook is sent once per event. The request body has no field that marks an event as ended or recovered, so the alert in Flashduty does not recover on its own. Each Formant event is a separate Flashduty alert. Close it by hand, or turn on auto-close in the channel that receives this integration. We suggest 2 hours; adjust to how quickly your team handles device problems.
Alert Key
The Alert Key is the Formant event ID (
payload.id). A repeated delivery of the same event merges into the same alert; different events, even from the same event trigger and device, are different alerts. If a request has no event ID, Flashduty generates a random Alert Key, and that alert is not merged either.
Status and severity
The alert status equals its severity; it does not recover.
Alert content
- Title: the event
message; if missing,Formant event on <stream name>; if that is missing too,Formant event - Description: device ID, stream, datapoint value, event time and the event link in Formant
Troubleshooting
- Flashduty receives nothing: check that the event’s Actions tab has the webhook selected under Webhook forwarding, and that the webhook URL is the full push URL including
integration_key - Flashduty returns a parameter error: the body is not JSON or has no
payloadobject. Use Formant’s built-in webhook forwarding and do not rewrite the body - Alerts never close: Formant sends no recovery. Turn on auto-close in the channel, or close the alerts by hand