Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integrations-docs: Make use of consistent spacing.
Satyam Bansal25cc0e40307a
diff --git a/zerver/webhooks/deskdotcom/doc.md b/zerver/webhooks/deskdotcom/doc.mdindex a50adea8545..c937f8b30f6 100644--- a/zerver/webhooks/deskdotcom/doc.md+++ b/zerver/webhooks/deskdotcom/doc.md@@ -1,17 +1,17 @@-1. {!create-stream.md!}+1. {!create-stream.md!}Keep in mind you still need to create the stream first evenif you are using this recommendation.-1. {!create-an-incoming-webhook.md!}+1. {!create-an-incoming-webhook.md!}-1. Next, in Desk.com, open your **Admin** view via the top-left+1. Next, in Desk.com, open your **Admin** view via the top-leftdropdown. In the **Admin** view, click on **Apps**, thenclick **Install** under **Custom Action**:-1. From there, click **Install Custom Action** and accept the terms.+1. From there, click **Install Custom Action** and accept the terms.Fill in the form like this:* **Name**: Zulip@@ -22,7 +22,7 @@-1. Click **Create** to save your settings. From the next screen, click+1. Click **Create** to save your settings. From the next screen, click**Add Action** to add a new action. You'll do this for every actionyou want a notification on Zulip for. (To add another action later,look for your custom action on the **Apps** page under@@ -30,7 +30,7 @@-1. Let's say you want a notification each time a case is updated. Put+1. Let's say you want a notification each time a case is updated. Putin a descriptive name like **Announce case update**, select**POST a string to a URL** for **Action Type**, and copy-paste thisto the **Appended URL path**:@@ -45,7 +45,7 @@it makes sure the notification goes to the appropriate stream and topicwithin Zulip.-1. Next, copy this template Zulip message into **Message to POST**:+1. Next, copy this template Zulip message into **Message to POST**:{% raw %}@@ -65,13 +65,13 @@-1. Click **Add Action** to save, and then on the next screen, click the+1. Click **Add Action** to save, and then on the next screen, click theslider next to the action to enable it. This is important — actions areturned off by default!-1. Now you need to create a rule that triggers this action. Desk.com's+1. Now you need to create a rule that triggers this action. Desk.com'ssupport center has a [lengthy article on rules][1], but in short,click on **Cases** up at the top, **Rules** on the left side, andthen the specific event you want to notify on — in our example,@@ -81,12 +81,12 @@-1. Select the types of interaction you want your rule to apply to,+1. Select the types of interaction you want your rule to apply to,such as **Chat**. Specify the name and click on **Add Rule**.-1. In the next screen, provide the details. First, click **Add Actions**+1. In the next screen, provide the details. First, click **Add Actions**to display the rule actions. Select **Trigger an App Action** in thedropdown, and then the name of the custom action you created earlierwhen the second dropdown appears. You can add additional **All** or@@ -95,7 +95,7 @@-1. Finally, click **Update**.+1. Finally, click **Update**.{!congrats.md!}diff --git a/zerver/webhooks/helloworld/doc.md b/zerver/webhooks/helloworld/doc.mdindex c3c7953456b..e662158a050 100644--- a/zerver/webhooks/helloworld/doc.md+++ b/zerver/webhooks/helloworld/doc.md@@ -3,13 +3,13 @@ Learn how Zulip integrations work with this simple Hello World example!This webhook is Zulip's official [exampleintegration](/api/incoming-webhooks-walkthrough).-1. The Hello World webhook will use the `test` stream, which is created+1. The Hello World webhook will use the `test` stream, which is createdby default in the Zulip development environment. If you are runningZulip in production, you should make sure that this stream exists.-1. {!create-bot-construct-url.md!}+1. {!create-bot-construct-url.md!}-1. To trigger a notification using this example webhook, you can use+1. To trigger a notification using this example webhook, you can use`send_webhook_fixture_message` from a [Zulip developmentenvironment](https://zulip.readthedocs.io/en/latest/development/overview.html):diff --git a/zerver/webhooks/homeassistant/doc.md b/zerver/webhooks/homeassistant/doc.mdindex 0f299bbc9cf..53a9a7a4093 100644--- a/zerver/webhooks/homeassistant/doc.md+++ b/zerver/webhooks/homeassistant/doc.md@@ -1,21 +1,21 @@-1. {!create-stream.md!}+1. {!create-stream.md!}-1. {!create-an-incoming-webhook.md!}+1. {!create-an-incoming-webhook.md!}-1. In Home Assistant, you need to add the `notify` service to your+1. In Home Assistant, you need to add the `notify` service to your`configuration.yaml` file. This should look something like this:-1. The `api_key` parameter should correspond to your bot's key. The `stream`+1. The `api_key` parameter should correspond to your bot's key. The `stream`parameter is not necessarily required; if not given, it will default tothe `homeassistant` stream.-1. And the URL under `resource` should start with:+1. And the URL under `resource` should start with:`{{ api_url }}/v1/external/homeassistant`-1. Finally, you need to configure a trigger for the service by adding+1. Finally, you need to configure a trigger for the service by addingan automation entry in the HomeAssistant `configuration.yaml` file.diff --git a/zerver/webhooks/json/doc.md b/zerver/webhooks/json/doc.mdindex 1f403806453..5b447cb4834 100644--- a/zerver/webhooks/json/doc.md+++ b/zerver/webhooks/json/doc.md@@ -7,7 +7,7 @@ integration](/api/incoming-webhooks-overview).1. {!create-bot-construct-url.md!}-1. Configure your application to send the webhook+1. Configure your application to send the webhookpayload to the **URL** generated above.{!congrats.md!}diff --git a/zerver/webhooks/lidarr/doc.md b/zerver/webhooks/lidarr/doc.mdindex 81201053a10..aecec42dcf6 100644--- a/zerver/webhooks/lidarr/doc.md+++ b/zerver/webhooks/lidarr/doc.md@@ -1,21 +1,21 @@Receive Lidarr notifications in Zulip!-1. {!create-stream.md!}+1. {!create-stream.md!}-1. {!create-bot-construct-url.md!}+1. {!create-bot-construct-url.md!}-1. Go to your Lidarr dashboard. Click **Settings** and+1. Go to your Lidarr dashboard. Click **Settings** andclick **Connect**. Click the **+** icon.-1. Select **Webhook** and set the name of the webhook to any name+1. Select **Webhook** and set the name of the webhook to any nameof your choice (e.g **Zulip**). Select the scenarios you would liketo receive notifications for. You may also enter tags if you would liketo be notified about artists with specific tags.-1. Set **URL** to the **URL** constructed above. Set **Method** to **POST**+1. Set **URL** to the **URL** constructed above. Set **Method** to **POST**and leave the **Username** and **Password** fields blank.-1. Click **Save** and you should receive a test message.+1. Click **Save** and you should receive a test message.{!congrats.md!}diff --git a/zerver/webhooks/pingdom/doc.md b/zerver/webhooks/pingdom/doc.mdindex b49c8215a25..0ca482a398e 100644--- a/zerver/webhooks/pingdom/doc.md+++ b/zerver/webhooks/pingdom/doc.md@@ -5,16 +5,16 @@ uptime status changes from your Pingdom dashboard.1. {!create-bot-construct-url.md!}-1. Next, go to the following URL:+1. Next, go to the following URL:`https://my.pingdom.com/reports/integration/settings`-1. Create your integration by clicking on the **Add Integration** button+1. Create your integration by clicking on the **Add Integration** buttonand filling the form like so:-1. Last, during creating or editing your check, scroll down to+1. Last, during creating or editing your check, scroll down to**Connect Integrations** section and ensure your integration is checked.{!congrats.md!}diff --git a/zerver/webhooks/radarr/doc.md b/zerver/webhooks/radarr/doc.mdindex cc7a7d73d99..390c8fe33c7 100644--- a/zerver/webhooks/radarr/doc.md+++ b/zerver/webhooks/radarr/doc.md@@ -1,21 +1,21 @@Receive Radarr notifications in Zulip!-1. {!create-stream.md!}+1. {!create-stream.md!}-1. {!create-bot-construct-url.md!}+1. {!create-bot-construct-url.md!}-1. Go to your Radarr dashboard. Click **Settings** and click **Connect**.+1. Go to your Radarr dashboard. Click **Settings** and click **Connect**.Click the **+** icon.-1. Select **Webhook** and set the name of the webhook to any name of your+1. Select **Webhook** and set the name of the webhook to any name of yourchoice (e.g **Zulip**). Select the scenarios you would like to receivenotifications for. You may also enter tags if you would like to benotified about movies with specific tags.-1. Set **URL** to the **URL** constructed above. Set **Method** to **POST**+1. Set **URL** to the **URL** constructed above. Set **Method** to **POST**and leave the **Username** and **Password** fields blank.-1. Click **Save** and you should receive a test message.+1. Click **Save** and you should receive a test message.{!congrats.md!}diff --git a/zerver/webhooks/rundeck/doc.md b/zerver/webhooks/rundeck/doc.mdindex a3808397be7..618da52880b 100644--- a/zerver/webhooks/rundeck/doc.md+++ b/zerver/webhooks/rundeck/doc.md@@ -1,8 +1,8 @@Receive Job Notifications in Zulip!-1. {!create-stream.md!}+1. {!create-stream.md!}-1. {!create-bot-construct-url.md!}+1. {!create-bot-construct-url.md!}1. Go to your Rundeck web interface and click on the desired job.Click on **Actions** and then select **Edit this Job...**.diff --git a/zerver/webhooks/sonarr/doc.md b/zerver/webhooks/sonarr/doc.mdindex ab344189ff2..8e2b53bede6 100644--- a/zerver/webhooks/sonarr/doc.md+++ b/zerver/webhooks/sonarr/doc.md@@ -1,21 +1,21 @@Receive Sonarr notifications in Zulip!-1. {!create-stream.md!}+1. {!create-stream.md!}-1. {!create-bot-construct-url.md!}+1. {!create-bot-construct-url.md!}-1. Go to your Sonarr dashboard. Click **Settings** and click **Connect**.+1. Go to your Sonarr dashboard. Click **Settings** and click **Connect**.Click the **+** icon.-1. Select **Webhook** and set the name of the webhook to any name of your+1. Select **Webhook** and set the name of the webhook to any name of yourchoice (e.g **Zulip**). Select the scenarios you would like to receivenotifications for. You may also enter tags if you would like to benotified about series with specific tags.-1. Set **URL** to the **URL** constructed above. Set **Method** to **POST**+1. Set **URL** to the **URL** constructed above. Set **Method** to **POST**and leave the **Username** and **Password** fields blank.-1. Click **Save** and you should receive a test message.+1. Click **Save** and you should receive a test message.{!congrats.md!}diff --git a/zerver/webhooks/trello/doc.md b/zerver/webhooks/trello/doc.mdindex 6503ca2c494..d927c74d3b0 100644--- a/zerver/webhooks/trello/doc.md+++ b/zerver/webhooks/trello/doc.md@@ -28,7 +28,7 @@ Get Zulip notifications from your Trello boards!computer (any computer) connected to the internet. It won't make anychanges to the computer.-1. Make sure you have a working copy of Python. If you're running+1. Make sure you have a working copy of Python. If you're runningmacOS or Linux, you very likely already do. If you're runningWindows you may or may not. If you don't have Python, follow theinstallation instructionsdiff --git a/zerver/webhooks/zendesk/doc.md b/zerver/webhooks/zendesk/doc.mdindex cc92fad5d7b..244c59867b4 100644--- a/zerver/webhooks/zendesk/doc.md+++ b/zerver/webhooks/zendesk/doc.md@@ -1,21 +1,21 @@-1. {!create-stream.md!}+1. {!create-stream.md!}-1. {!create-an-incoming-webhook.md!}+1. {!create-an-incoming-webhook.md!}-1. Construct a webhook URL like the following:+1. Construct a webhook URL like the following:`{{ api_url }}/v1/external/zendesk?ticket_title={% raw %}{{ ticket.title }}&ticket_id={{ ticket.id }}{% endraw %}`-1. {!append-stream-name.md!}+1. {!append-stream-name.md!}-1. Next, in Zendesk, open your **Admin** view via gear in the bottom-left+1. Next, in Zendesk, open your **Admin** view via gear in the bottom-leftcorner. In the **Admin** view, click on **Extensions**, then click**add target**.-1. From there, click **URL target**. Fill in the form like this:+1. From there, click **URL target**. Fill in the form like this:* **Title**: Zulip* **URL**: the URL we created above@@ -26,11 +26,11 @@-1. Now, select **Test Target** and click **Submit**. A test message should+1. Now, select **Test Target** and click **Submit**. A test message shouldappear in the `zendesk` stream. If the message was received, save thetarget by selecting **Create target** and clicking **Submit**.-1. From here, add a new trigger. You'll do this for every action you want+1. From here, add a new trigger. You'll do this for every action you wantto create a Zulip notification for. Triggers are added by selecting**Triggers** in the left menu and then clicking **add trigger** in thetop right.@@ -38,13 +38,13 @@-1. Let's say you want a notification each time a ticket is updated. Put+1. Let's say you want a notification each time a ticket is updated. Putin a descriptive title like "Announce ticket update". Under **Meet all ofthe following conditions** select **Ticket: is...** and then select**Updated**. In the **Perform these actions** section, select**Notification: Notify target**, then select **Zulip**.-1. Next we need to enter the message body into Message. You can use+1. Next we need to enter the message body into Message. You can useZulip Markdown and the Zendesk placeholders when creating your message.You can copy this example template:@@ -64,7 +64,7 @@-1. Finally, click **Submit**.+1. Finally, click **Submit**.{!congrats.md!}