zulip/zerver/webhooks/zapier/doc.html

43 lines
1.5 KiB
HTML

<p>Get notifications from every event supported by Zapier.</p>
<p>First, create the stream you'd like to use for Zapier notifications,
and subscribe all interested parties to this stream.</p>
<p><code>{{ external_api_uri_subdomain }}/v1/external/zapier?api_key=abcdefgh&amp;stream=zapier</code></p>
<p>
Next, create a ZAP, picking the service you'd like
to receive notifications from as <code>Trigger (Step 1)</code>
</p>
<img class="screenshot" src="/static/images/integrations/zapier/001.png"/>
<p>and <code>Webhook</code> as <code>Action (Step 2)</code>.</p>
<img class="screenshot" src="/static/images/integrations/zapier/002.png"/>
<p>As Step 2 action please choose <code>POST</code></p>
<img class="screenshot" src="/static/images/integrations/zapier/003.png"/>
<p>
Configure <code>Set up Webhooks by Zapier POST</code> as follows:
<ul>
<li><code>URL</code> is the url we created above</li>
<li><code>Payload Type</code> set to <code>JSON</code></li>
</ul>
</p>
<p>
Finally, configure <code>Data</code>.
You have to add 2 fields:
<ul>
<li><code>subject</code> is field corresponding to a subject of the message</li>
<li><code>content</code> is field corresponding to a content of the message</li>
</ul>
</p>
<p>Example configuration:</p>
<img class="screenshot" src="/static/images/integrations/zapier/004.png"/>
<p>You're done! Example message:</p>
<img class="screenshot" src="/static/images/integrations/zapier/005.png"/>