Files
zulip/zerver/webhooks/zapier/doc.md
wizsid11 d309cd29f3 webhooks/zapier: Add weather update example.
Add documentation for weather update through Zapier.
Contains tests and fixtures for weather example.

With minor fixes, docs migration to Markdown, and
rebasing by Eeshan Garg.
2017-06-08 09:14:18 -07:00

1.8 KiB

Get notifications from every event supported by Zapier.

{!create-stream.md!}

{!create-bot-construct-url.md!}

Next, create a ZAP, picking the service you'd like to receive notifications from as Trigger (Step 1)

and Webhook as Action (Step 2).

As Step 2 Action please choose POST:

Configure Set up Webhooks by Zapier POST as follows:

  • URL is the webhook URL we created above
  • Payload Type set to JSON

Finally, configure Data. You have to add 2 fields:

  • subject is the field corresponding to the subject of a message
  • content is the field corresponding to the content of a message

Example configuration:

{!congrats.md!}

Weather Update with Zapier!

Sign into your Zapier account, then go to the URL https://zapier.com/app/explore.

Choose the trigger app, Weather by Zapier.

Next, select the option Today's Forecast.

Fill in the latitude and longitude of your location.

Next, fill in your choice of units, Fahrenheit or Celsius.

Configure Set up Webhooks by Zapier POST as follows:

  • URL is the webhook URL we created above
  • Payload Type set to JSON

Finally, configure Data. You have to add 2 fields:

  • subject is the field corresponding to the subject of a message
  • content is the field corresponding to the content of a message

Congratulations! You're done!