2018-03-10 23:06:19 +01:00
|
|
|
Get notifications from every event supported by IFTTT!
|
2017-05-25 05:26:16 +02:00
|
|
|
|
2018-03-10 23:06:19 +01:00
|
|
|
1. {!create-stream.md!}
|
2017-05-25 05:26:16 +02:00
|
|
|
|
2018-03-10 23:06:19 +01:00
|
|
|
1. {!create-bot-construct-url-indented.md!}
|
2017-05-25 05:26:16 +02:00
|
|
|
|
2018-03-10 23:06:19 +01:00
|
|
|
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.
|
2017-05-25 05:26:16 +02:00
|
|
|
|
2018-03-10 23:06:19 +01:00
|
|
|
1. Set **URL** to the URL constructed above. Set **Method** to `POST`,
|
|
|
|
and set **Content Type** to `application/json`. Set **Body** to a
|
2018-03-17 21:11:54 +01:00
|
|
|
JSON object with two parameters: `content` and `topic`, like so:
|
2017-05-25 05:26:16 +02:00
|
|
|
|
2018-03-17 21:11:54 +01:00
|
|
|
`{"content": "message body", "topic": "message topic"}`
|
2017-05-25 05:26:16 +02:00
|
|
|
|
2018-03-10 23:06:19 +01:00
|
|
|
You will most likely want to specify some IFTTT **Ingredients** to
|
2018-03-17 21:11:54 +01:00
|
|
|
customize the topic and content of your messages. Click **Add ingredient**
|
|
|
|
to see the available options and customize the `content` and `topic`
|
2018-03-10 23:06:19 +01:00
|
|
|
parameters as necessary. Click **Create action**, and click **Finish**.
|