2024-07-01 18:14:31 +02:00
|
|
|
# Zulip Freshstatus integration
|
|
|
|
|
2021-04-13 02:22:41 +02:00
|
|
|
Receive Freshstatus notifications in Zulip!
|
|
|
|
|
2024-07-01 18:14:31 +02:00
|
|
|
{start_tabs}
|
|
|
|
|
2024-05-05 22:30:09 +02:00
|
|
|
1. {!create-channel.md!}
|
2021-04-13 02:22:41 +02:00
|
|
|
|
2023-09-21 02:23:45 +02:00
|
|
|
1. {!create-an-incoming-webhook.md!}
|
|
|
|
|
2024-07-01 18:14:31 +02:00
|
|
|
1. {!generate-webhook-url-basic.md!}
|
2021-04-13 02:22:41 +02:00
|
|
|
|
2024-07-01 18:14:31 +02:00
|
|
|
1. On your Freshstatus dashboard, select **Settings** and then click
|
|
|
|
**Integrations**. Under **Webhooks**, select **Manage**, and click
|
|
|
|
**New Webhook**.
|
2021-04-13 02:22:41 +02:00
|
|
|
|
2024-07-01 18:14:31 +02:00
|
|
|
1. Set **Webhook Name** to a name of your choice, such as `Zulip`, and
|
|
|
|
**Description** to any suitable description.
|
2021-04-13 02:22:41 +02:00
|
|
|
|
2024-07-01 18:14:31 +02:00
|
|
|
1. Under **Condition**, select the [events](#filtering-incoming-events)
|
|
|
|
you'd like to be notified for. Under **Action**, set **Request Type**
|
|
|
|
to `POST`. Set **Callback URL** to the **URL** generated above.
|
2021-04-13 02:22:41 +02:00
|
|
|
|
2024-07-01 18:14:31 +02:00
|
|
|
1. Leave **Requires Authentication** untoggled, and set **Content** to
|
2021-04-13 02:22:41 +02:00
|
|
|
**Advanced**.
|
|
|
|
|
|
|
|
1. Set **Incident JSON** to the following:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"id": "{id}",
|
|
|
|
"title": "{title}",
|
|
|
|
"description": "{description}",
|
|
|
|
"start_time": "{start_time}",
|
|
|
|
"end_time": "{end_time}",
|
|
|
|
"is_private": "{is_private}",
|
|
|
|
"source": "{source}",
|
|
|
|
"affected_services": "{affected_services}",
|
|
|
|
"notification_options": "{notification_options}"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
1. Set **Maintenance JSON** to the following:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"id": "{id}",
|
|
|
|
"title": "{title}",
|
|
|
|
"description": "{description}",
|
|
|
|
"start_time": "{start_time}",
|
|
|
|
"end_time": "{end_time}",
|
|
|
|
"is_private": "{is_private}",
|
|
|
|
"source": "{source}",
|
|
|
|
"affected_services": "{affected_services}",
|
|
|
|
"notification_options": "{notification_options}",
|
|
|
|
"scheduled_start_time": "{scheduled_start_time}",
|
|
|
|
"scheduled_end_time": "{scheduled_end_time}",
|
|
|
|
"is_auto_update_status_on_scheduled_start": "{is_auto_update_status_on_scheduled_start}",
|
|
|
|
"is_auto_update_status_on_scheduled_end": "{is_auto_update_status_on_scheduled_end}",
|
|
|
|
"is_auto_update_component_status_on_scheduled_start": "{is_auto_update_component_status_on_scheduled_start}",
|
|
|
|
"is_auto_update_component_status_on_scheduled_end": "{is_auto_update_component_status_on_scheduled_end}"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
|
|
|
1. Set **Incident/Maintenance Note JSON** to the following:
|
|
|
|
|
|
|
|
```
|
|
|
|
{
|
|
|
|
"id": "{note_id}",
|
|
|
|
"title": "{title}",
|
|
|
|
"incident_id": "{note_incident_id}",
|
|
|
|
"incident_status": "{note_incident_status}",
|
|
|
|
"message": "{note_message}",
|
|
|
|
"status": "{note_status}",
|
|
|
|
"is_private": "{note_is_private}",
|
|
|
|
"notification_options": "{note_notification_options}"
|
|
|
|
}
|
|
|
|
```
|
|
|
|
|
2024-07-01 18:14:31 +02:00
|
|
|
1. Click **Save**. Once the webhook is saved, you can check whether it
|
|
|
|
is configured correctly by clicking **Test**.
|
|
|
|
|
|
|
|
{end_tabs}
|
2021-04-13 02:22:41 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
|
|
|
![](/static/images/integrations/freshstatus/001.png)
|
2024-07-01 18:14:31 +02:00
|
|
|
|
|
|
|
{!event-filtering-additional-feature.md!}
|
|
|
|
|
|
|
|
### Related documentation
|
|
|
|
|
|
|
|
{!webhooks-url-specification.md!}
|