zulip/zerver/webhooks/ifttt/doc.md

1.2 KiB

Zulip IFTTT integration

IFTTT supports integrations with hundreds of physical and digital products, like dishwashers, cars, web services, and more. Get IFTTT notifications directly in Zulip.

{start_tabs}

  1. {!create-an-incoming-webhook.md!}

  2. {!generate-webhook-url-basic.md!}

  3. Create an IFTTT account. Select the service you'd like to receive notifications from as this. Select Webhooks as that. Select the Make a web request action.

  4. Set URL to the URL generated above. Set Method to POST, and set Content Type to application/json.

  5. Set Body to a JSON object with two parameters: content and topic, like so:

    {"content": "message body", "topic": "message topic"}

    You will most likely want to specify some IFTTT Ingredients to customize the topic and content of your messages. Click Add ingredient to see the available options and customize the content and topic parameters as necessary.

  6. Click Create action, and click Finish.

{end_tabs}

Congratulations! You're done!

{!webhooks-url-specification.md!}