diff --git a/static/images/integrations/ifttt/001.png b/static/images/integrations/ifttt/001.png deleted file mode 100644 index d3407f72e5..0000000000 Binary files a/static/images/integrations/ifttt/001.png and /dev/null differ diff --git a/static/images/integrations/ifttt/002.png b/static/images/integrations/ifttt/002.png deleted file mode 100644 index 2c0e31076f..0000000000 Binary files a/static/images/integrations/ifttt/002.png and /dev/null differ diff --git a/static/images/integrations/ifttt/003.png b/static/images/integrations/ifttt/003.png deleted file mode 100644 index 0bbcdf0bea..0000000000 Binary files a/static/images/integrations/ifttt/003.png and /dev/null differ diff --git a/zerver/webhooks/ifttt/doc.md b/zerver/webhooks/ifttt/doc.md index fdd33fe1ac..5768401580 100644 --- a/zerver/webhooks/ifttt/doc.md +++ b/zerver/webhooks/ifttt/doc.md @@ -1,40 +1,20 @@ -Get notifications from every event supported by IFTTT. +Get notifications from every event supported by IFTTT! -{!create-stream.md!} +1. {!create-stream.md!} -{!create-bot-construct-url.md!} +1. {!create-bot-construct-url-indented.md!} -Next, create an IFTTT recipe, picking the service you'd like -to receive notifications from as `this`, and `Maker` as `that`. +1. Next, create an IFTTT Applet and select the service you'd like + to receive notifications from as `this`. Select **Webhooks** as + `that`. Select the **Make a web request** action. -![](/static/images/integrations/ifttt/001.png) +1. Set **URL** to the URL constructed above. Set **Method** to `POST`, + and set **Content Type** to `application/json`. Set **Body** to a + JSON object with two parameters: `content` and `subject`, like so: -Choose the `Make a web request` action, and configure it as -follows: + `{"content": "message body", "subject": "message topic"}` -1. `URL` is the URL we created above - -2. `method` is POST - -3. `Content Type` is `application/json` - -Finally, configure the request body. You need to construct a JSON -object with two parameters: `content` and `subject`. - -Example: - -`{"content": "message content", "subject": "message subject"}` - -You will most likely want to specify some IFTTT **Ingredients** -(click the beaker to see the available options) to customize -the subject and content of your messages; the below screenshot -uses ingredients available if `this` is IFTTT's incoming email -service. - -Example configuration: - -![](/static/images/integrations/ifttt/002.png) - -{!congrats.md!} - -![](/static/images/integrations/ifttt/003.png) + You will most likely want to specify some IFTTT **Ingredients** to + customize the subject and content of your messages. Click **Add ingredient** + to see the available options and customize the `content` and `subject` + parameters as necessary. Click **Create action**, and click **Finish**.