mirror of https://github.com/zulip/zulip.git
webhooks/mention: Migrate docs to Markdown.
This commit is contained in:
parent
ccd079b425
commit
36c5e8d11f
|
@ -1,52 +0,0 @@
|
|||
<p>
|
||||
First, create the stream you'd like to use for Mention Webhook notifications,
|
||||
and subscribe all interested parties to this stream. The integration will
|
||||
use the default stream <code>mention</code> if no stream is supplied in
|
||||
the hook; you still need to create the stream even if you are using this
|
||||
default.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Next, go to your Mention feed and click on your profile in the top right corner,
|
||||
click on <b>Settings</b> in the drop down menu:
|
||||
</p>
|
||||
<p><img src="/static/images/integrations/mention/001.png"/></p>
|
||||
|
||||
<p>From there, select <b>Integrations</b>:</p>
|
||||
<p><img src="/static/images/integrations/mention/002.png"/></p>
|
||||
|
||||
<p>Select the <b>Zapier</b> integration, and click <b>Explore Mention on Zapier!</b>:</p>
|
||||
<p><img src="/static/images/integrations/mention/003.png"/></p>
|
||||
|
||||
<p>
|
||||
Search for "webhooks" in the search bar, and click on <b>Webhooks by Zapier</b>.<br/>
|
||||
Scroll down and look for <b>Add Webhooks posts for new Mentions</b> and click on
|
||||
<b>Use this Zap</b>:
|
||||
</p>
|
||||
<p><img src="/static/images/integrations/mention/004.png"/></p>
|
||||
|
||||
<p>
|
||||
Select your Mention account Id and the alert that should trigger mentions
|
||||
from the respective drop down menus, and click <b>Continue</b>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Select <b>POST</b> on the page that says <b>Webhooks by Zapier Action</b>, and click
|
||||
<b>Continue</b>.
|
||||
</p>
|
||||
|
||||
<p>In the <b>URL</b> field, enter a URL constructed like this:</p>
|
||||
|
||||
<p><code>{{ external_api_uri_subdomain }}/v1/external/mention?api_key=abcdefgh&stream=mention</code></p>
|
||||
|
||||
<p>
|
||||
where <code>abcdefgh</code> should be replaced with the API key of your Zulip
|
||||
bot. Select JSON for <b>Payload Type</b> and click <b>Continue</b>:
|
||||
</p>
|
||||
|
||||
<p>
|
||||
<b>Congratulations! You're done!</b><br/>
|
||||
Your messages will look like this:
|
||||
</p>
|
||||
|
||||
<p><img src="/static/images/integrations/mention/005.png"/></p>
|
|
@ -0,0 +1,37 @@
|
|||
{!create-stream.md!}
|
||||
|
||||
{!create-bot-construct-url.md!}
|
||||
|
||||
Next, go to your Mention feed and click on your profile in the
|
||||
top right corner, click on **Settings** in the drop down menu:
|
||||
|
||||
![](/static/images/integrations/mention/001.png)
|
||||
|
||||
From there, select **Integrations**:
|
||||
|
||||
![](/static/images/integrations/mention/002.png)
|
||||
|
||||
Select the **Zapier** integration, and click
|
||||
**Explore Mention on Zapier!**:
|
||||
|
||||
![](/static/images/integrations/mention/003.png)
|
||||
|
||||
Search for "webhooks" in the search bar, and click on
|
||||
**Webhooks by Zapier**. Scroll down and look for
|
||||
**Add Webhooks posts for new Mentions** and click on
|
||||
**Use this Zap**:
|
||||
|
||||
![](/static/images/integrations/mention/004.png)
|
||||
|
||||
Select your Mention account ID and the alert that should trigger
|
||||
mentions from the respective drop down menus, and click **Continue**.
|
||||
|
||||
Select **POST** on the page that says **Webhooks by Zapier Action**,
|
||||
and click **Continue**.
|
||||
|
||||
In the **URL** field, enter the URL constructed above. Select `JSON`
|
||||
for **Payload Type** and click **Continue**:
|
||||
|
||||
{!congrats.md!}
|
||||
|
||||
![](/static/images/integrations/mention/005.png)
|
Loading…
Reference in New Issue