Slack incoming webhook direct messages12/29/2023 ![]() ![]() If you want to notify a user in Slack via direct message instead of through a channel, you can still accomplish this through a simple Slack app with the incoming-webhook scope. Sending notifications to a user in your customer’s Slack workspace To learn more about how to use objects to power Slack channel notifications, see the Slack example in our object documentation. When you want to notify the Slack channel about something that took place in that object, you send the object as a recipient in your relevant workflow trigger. Here’s an example from the Linear example we mentioned above. When you are notifying a channel in your customer’s Slack workspace (and not an individual user) it’s usually because that channel maps to the notification stream of a specific resource in your product.įor these types of resource-to-channel integrations, you’ll use Knock objects to store the incoming_webhook.url received from Slack. ![]() Sending notifications to a channel in your customer’s Slack workspace In the examples below we use incoming-webhook to keep things simple. You can support these use cases using either standard Slack OAuth or through the incoming-webhook scope we mentioned above. Sending notifications to a channel in your own internal Slack workspace.Sending direct messages in your customer’s Slack workspace.Sending channel notifications to your customer’s Slack workspace.In this guide we'll cover a number of use cases you can support with Knock's Slack integration.
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |