Company
Date Published
Author
Aydrian Howard
Word count
609
Language
English
Hacker News points
None

Summary

As a follow-up to the Courier Live where Troy and I built the Pigeon Weather App, I went back and added support for sending notifications as direct messages in Slack. Adding this feature required only adding the Slack provider, designing the message, and updating our Glitch App to accept Slack profile information. To send a notification to a Slack channel or as a direct message to a Slack user, you can use your existing Slack App or create a new one, granting it the proper permissions via OAuth scopes. When sending to a Slack public or private channel, your app must be granted the chat:write scope and be a member of the channel being sent to. To send a direct message, your app needs the im:write scope and can use various options such as a Slack Button, user's Slack user_id, or email associated with the user's account. Courier makes it easy to send notifications to a Slack channel or as a direct message to a Slack user, providing a single platform for designing, orchestrating, and routing notifications over multiple channels.