Skip to content

armgit / zulip

Public Imported from GitHub
0

Zulip server and web application. Open-source team chat that helps teams stay productive and focused.

integration-docs: Update Open Collective for new doc format.

PieterCKd974c10efc9a
diff --git a/zerver/lib/integrations.py b/zerver/lib/integrations.py
index e04956db16d..f0d5cbda77d 100644
--- a/zerver/lib/integrations.py
+++ b/zerver/lib/integrations.py
@@ -444,7 +444,7 @@ WEBHOOK_INTEGRATIONS: list[WebhookIntegration] = [
WebhookIntegration("mention", ["marketing"], display_name="Mention"),
WebhookIntegration("netlify", ["continuous-integration", "deployment"], display_name="Netlify"),
WebhookIntegration("newrelic", ["monitoring"], display_name="New Relic"),
- WebhookIntegration("opencollective", ["communication"], display_name="Open Collective"),
+ WebhookIntegration("opencollective", ["financial"], display_name="Open Collective"),
WebhookIntegration("opsgenie", ["meta-integration", "monitoring"]),
WebhookIntegration("pagerduty", ["monitoring"], display_name="PagerDuty"),
WebhookIntegration("papertrail", ["monitoring"]),
diff --git a/zerver/webhooks/opencollective/doc.md b/zerver/webhooks/opencollective/doc.md
index 8648c147600..87742d85d74 100644
--- a/zerver/webhooks/opencollective/doc.md
+++ b/zerver/webhooks/opencollective/doc.md
@@ -1,19 +1,27 @@
-This integration currently supports getting notifications to a channel of your Zulip instance,
-when a new member signs-up on an **Open Collective** page.
+# Zulip Open Collective integration
+
+Get Zulip notifications for new sign-ups on your **Open Collective** page.
+
+{start_tabs}
1. {!create-channel.md!}
1. {!create-an-incoming-webhook.md!}
-1. {!generate-integration-url.md!}
+1. {!generate-webhook-url-basic.md!}
+
+1. In Open Collective, navigate to one of the collectives under
+ **My Collectives**. Go to **Settings** > **Webhooks**.
-1. Go to [Open Collective Website](https://opencollective.com/), find
-your desired collective page, then go to *Settings* -> *Webhooks*, paste the
-bot URL and choose *Activity* -> *New Member*.
+1. Set **URL** to the URL generated above, and choose **Activity** >
+ **New Member**.
+
+{end_tabs}
{!congrats.md!}
![](/static/images/integrations/opencollective/001.png)
-In the future, this integration can be developed in order to
-support other types of *Activity* such as *New Transaction*, *Subscription Canceled* etc.
+### Related documentation
+
+{!webhooks-url-specification.md!}