Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
integrations-docs: Update both Slack integration articles.
Lauryn Menard1618060a3eb1
diff --git a/zerver/webhooks/slack/doc.md b/zerver/webhooks/slack/doc.mdindex 1b1308e2846..3343a4344b9 100644--- a/zerver/webhooks/slack/doc.md+++ b/zerver/webhooks/slack/doc.md@@ -5,17 +5,22 @@ See also the [Slack-compatible webhook](/integrations/doc/slack_incoming).1. {!create-stream.md!}-1. {!create-bot-construct-url.md!}+1. {!create-an-incoming-webhook.md!}- If you'd like to map Slack channels to different topics within the same- stream, add `&channels_map_to_topics=1` to the end of the URL. The `topic`- parameter will be ignored.+ Construct the URL for the {{ integration_display_name }}+ bot using the bot's API key:++ `{{ api_url }}{{ integration_url }}?api_key=abcdefgh`++ If you'd like to map Slack channels to different topics within the+ same stream, add `&channels_map_to_topics=1` to the end of the URL.+ This is the default behavior of the integration.If you'd like to map Slack channels to different streams, add- `&channels_map_to_topics=0` to the end of the URL. The `stream`- parameter will be ignored. Make sure you create- streams for all your public Slack channels, and that the name of each- stream is the same as the name of the Slack channel it maps to.+ `&channels_map_to_topics=0` to the end of the URL. Make sure you+ create streams for all your public Slack channels, and that the name+ of each stream is the same as the name of the Slack channel it maps+ to.1. Go to <https://my.slack.com/services/new/outgoing-webhook>and click **Add Outgoing WebHooks integration**.diff --git a/zerver/webhooks/slack_incoming/doc.md b/zerver/webhooks/slack_incoming/doc.mdindex 9f3d7edcc70..5584128c28d 100644--- a/zerver/webhooks/slack_incoming/doc.md+++ b/zerver/webhooks/slack_incoming/doc.md@@ -2,25 +2,27 @@ This beta Zulip integration supports for processing incoming webhookmessages written to work with Slack's [incoming webhookAPI](https://api.slack.com/messaging/webhooks).-1. {!create-stream.md!}--1. {!create-bot-construct-url.md!}--1. Use your new webhook URL any place that you would use a Slack webhook.--{!congrats.md!}-Where possible, we prefer to create native Zulip integrations thatmake optimal use of Zulip's topics and don't require translatingformatting, but this is a useful stopgap, especially for gettingmessages from third-party vendors that only offer a Slack integration(with no generic outgoing webhook API).-This integration, by its nature, involves a somewhat complex-translation between Slack's formatting system and Zulip's. We-appreciate [feedback and bug reports](/help/contact-support) on any-cases where the resulting Zulip formatting is poor, so that we can-either improve the formatting or add an appropriate native integration.+!!! warn ""++ This integration, by its nature, involves a somewhat complex+ translation between Slack's formatting system and Zulip's. We+ appreciate [feedback and bug reports](/help/contact-support) on any+ cases where the resulting Zulip formatting is poor, so that we can+ either improve the formatting or add an appropriate native integration.See also the [Slack notifications](/integrations/doc/slack)integration for mirroring content from a Slack instance into Zulip.++1. {!create-stream.md!}++1. {!create-bot-construct-url.md!}++1. Use your new webhook URL any place that you would use a Slack webhook.++**Congratulations! You're done!**