Configuring Services
FME Flow Hosted can send an alert to any e-mail address.
- Open the Account Settings page: Click your account name (upper right), and select Account Settings.
- On the Alert Settings tab, click Create Service.
- In the Create New Service dialog, select External Email, and click Next.
- In the New External Email Service dialog, specify:
- Service Name: Enter a name for your e-mail service. You can enter more than one e-mail address, so enter a name that represents the person or people you are sending e-mails to.
- Email Addresses: A comma-separated list of e-mail addresses that you wish to send alerts to.
- Click Create.
To receive alerts on Slack, you must have a Slack account.
- Open the Account Settings page: Click your account name (upper right), and select Account Settings.
- On the Alert Settings tab, click Create Service.
- In the Create New Service dialog, select Slack, and click Next.
- In the New Slack Service dialog, specify:
- Service Name: Enter a name for your Slack service. We suggest a name that describes the channel you are sending notifications to.
- Slack WebHook URL: The Slack integration on FME Flow Hosted uses Slack incoming WebHooks. You must generate a URL in Slack that FME Flow Hosted can send messages to. The Webhook maps directly to a Slack channel.
- Click Create.
FME Flow Hosted can send an alert to any HTTP/HTTPS endpoint via POST. This service sends the alert payload to a URL that you specify any time the alert is triggered.
- Open the Account Settings page: Click your account name (upper right), and select Account Settings.
- On the Alert Settings tab, click Create Service.
- In the Create New Service dialog, select Webhooks, and click Next.
- In the New Webhooks Service dialog, specify:
- Service Name: Enter a name for your Webhook service.
- WebHook URL: Enter the full URL and ensure that no authentication is required to perform a POST against the URL.
- Click Create.
POST request
When an alert fires that is associated with a Webhook service, a POST request is made to the URL provided. The following is an example of the payload sent to the POST address:
{
"type":"alert_triggered",
"trigger_value":0.10371602326631546,
"time":"2016-05-03T21:13:37+00:00",
"alert_id":1360,
"alert_name":"Test",
"instance_id":2192,
"instance_name":"Notification Doc",
"message":"Alert \"Test\" triggered for instance \"Notification Doc\""
}
Encoding
The payload JSON is encoded with application/json.