mirror of https://github.com/zulip/zulip.git
parent
928c84233f
commit
c1421f0847
|
@ -1,27 +1,41 @@
|
||||||
|
# Zulip IFTTT integration
|
||||||
|
|
||||||
IFTTT supports integrations with hundreds of
|
IFTTT supports integrations with hundreds of
|
||||||
[physical and digital products](https://ifttt.com/services), like
|
[physical and digital products](https://ifttt.com/services), like
|
||||||
dishwashers, cars, web services, and more. Get IFTTT notifications directly
|
dishwashers, cars, web services, and more. Get IFTTT notifications directly
|
||||||
in Zulip.
|
in Zulip.
|
||||||
|
|
||||||
|
{start_tabs}
|
||||||
|
|
||||||
1. {!create-channel.md!}
|
1. {!create-channel.md!}
|
||||||
|
|
||||||
1. {!create-an-incoming-webhook.md!}
|
1. {!create-an-incoming-webhook.md!}
|
||||||
|
|
||||||
1. {!generate-integration-url.md!}
|
1. {!generate-webhook-url-basic.md!}
|
||||||
|
|
||||||
1. Create an [IFTTT account](https://ifttt.com/join). Select the service you'd like
|
1. Create an [IFTTT account](https://ifttt.com/join). Select the service
|
||||||
to receive notifications from as `this`. Select **Webhooks** as
|
you'd like to receive notifications from as `this`. Select
|
||||||
`that`. Select the **Make a web request** action.
|
**Webhooks** as `that`. Select the **Make a web request** action.
|
||||||
|
|
||||||
1. Set **URL** to the URL constructed above. Set **Method** to `POST`,
|
1. Set **URL** to the URL generated above. Set **Method** to `POST`,
|
||||||
and set **Content Type** to `application/json`. Set **Body** to a
|
and set **Content Type** to `application/json`.
|
||||||
JSON object with two parameters: `content` and `topic`, like so:
|
|
||||||
|
1. Set **Body** to a JSON object with two parameters: `content` and
|
||||||
|
`topic`, like so:
|
||||||
|
|
||||||
`{"content": "message body", "topic": "message topic"}`
|
`{"content": "message body", "topic": "message topic"}`
|
||||||
|
|
||||||
You will most likely want to specify some IFTTT **Ingredients** to
|
You will most likely want to specify some IFTTT **Ingredients** to
|
||||||
customize the topic and content of your messages. Click **Add ingredient**
|
customize the topic and content of your messages. Click **Add ingredient**
|
||||||
to see the available options and customize the `content` and `topic`
|
to see the available options and customize the `content` and `topic`
|
||||||
parameters as necessary. Click **Create action**, and click **Finish**.
|
parameters as necessary.
|
||||||
|
|
||||||
**Congratulations! You're done!**
|
1. Click **Create action**, and click **Finish**.
|
||||||
|
|
||||||
|
{end_tabs}
|
||||||
|
|
||||||
|
Congratulations! You're done!
|
||||||
|
|
||||||
|
### Related documentation
|
||||||
|
|
||||||
|
{!webhooks-url-specification.md!}
|
||||||
|
|
Loading…
Reference in New Issue