slack-notification-triage-webhook
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Viewing readonly version of main branch: v5View latest version
The goal of this Val is to receive webhooks from different notification sources (like Sentry or Linear) and pass that information through AI to determine which channels are most appropriate to notify. There's a bit of an AI spin to this and a bit of hard-coded prompting required to help guide the notifications to their right channels. We definitely want those notifications to be delivered quickly. The notifications that actually get delivered should contain very precise messages that say:
- this is what was opened
- this is what the links are according to Slack's format
- this is a summary for the intended audience which is based on the channel name
You'll have a list of channels that are hard-coded with their descriptions for what is discussed inside them. Those channels may be their email addresses or something. Maybe we start there with just email addresses and sending via email.