An open API service indexing awesome lists of open source software.

https://github.com/seratch/deno-daily-notification-workflow

Slack app demonstrating how to build a daily scheduled message notification
https://github.com/seratch/deno-daily-notification-workflow

Last synced: 9 months ago
JSON representation

Slack app demonstrating how to build a daily scheduled message notification

Awesome Lists containing this project

README

          

# Slack Daily Notification Workflow

This sample app demonstrates how to build a daily scheduled message notification
on top of Slack's new automation platform.

You can see how it works by creating a link trigger to configure the daily
message workflow. This includes the message text, channels to notify, and the
initial date and time for the notification.

When creating a daily scheduled trigger succeeds, you will see the following
modal:

When the scheduled date and time arrives, the message you set will be
automatically posted in all the channels you selected.

If you're satisfied with a static text message, like the app's initial
implementation, you don't need to make any changes.

However, if you want to generate the message using up-to-date information for
the day, you can edit the `functions/notify.ts` file. Also, you can skip using
the `message` input parameter and remove it from the configuration UI
altogether.

## Resources

To learn more about developing automations on Slack, visit the following:

- [Automation Overview](https://api.slack.com/automation)
- [CLI Quick Reference](https://api.slack.com/automation/cli/quick-reference)
- [Samples and Templates](https://api.slack.com/automation/samples)