Back to APIs list

Slack API examples & templates

Use these vals as a playground to view and fork Slack API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
sendSlackMessage
Makena
sendSlackMessage
An interactive, runnable TypeScript val by Makena
Script
sendMessageToSlack
kamalnrf
sendMessageToSlack
simple Val to send a message to configured Slack Channel
Script
SlackMentions
michaelhoffman
SlackMentions
An interactive, runnable TypeScript val by michaelhoffman
Script
dailySlackRoundup
mikker
dailySlackRoundup
Sends a daily message to the team Slack channel. Similar to 37signals ' What did you work on today?
Script
dailySlackRoundup
charmaine
dailySlackRoundup
Remix of: mikker/dailySlackRoundup
Cron
dailySlackStandup
dnishiyama
dailySlackStandup
// Depending on the day do one of these:
Cron
slackapp
nate
slackapp
// A Slack slash command app to evaluate a val.town expression.
Script
slackWebHookMessageExample
vtdocs
slackWebHookMessageExample
Part of the Send messages to Slack guide on https://docs.val.town
Script
slackScout
sarahxc
slackScout
Slack scout sends a slack notification every time your keywords are mentioned on Twitter, Hacker News, or Reddit. Get notified whenever you, your company, or topics of interest are mentioned online. Built with Browserbase . Inspired by f5bot.com . Full code tutorial . Getting Started To run Slack Scout, you’ll need a Browserbase API key Slack Webhook URL: setup here Twitter Developer API key Browserbase Browserbase is a developer platform to run, manage, and monitor headless browsers at scale. We’ll use Browserbase to navigate to, and scrape our different news sources. We’ll also use Browserbase’s Proxies to ensure we simulate authentic user interactions across multiple browser sessions . Get started with Browserbase for free here . Twitter We’ve decided to use the Twitter API to include Twitter post results. It costs $100 / month to have a Basic Twitter Developer account. If you decide to use Browserbase, we can lend our token. Comment below for access. Once you have the SLACK_WEBHOOK_URL , BROWSERBASE_API_KEY , and TWITTER_BEARER_TOKEN , input all of these as Val Town Environment Variables . Project created by Sarah Chieng and Alex Phan 💌
Cron
slackReplyToMessage
vtdocs
slackReplyToMessage
Part of the A Slack bot that replies to mentions guide on docs.val.town .
Script
defineSlackApp
fields
defineSlackApp
An interactive, runnable TypeScript val by fields
Script
slackBotExample
maxm
slackBotExample
An interactive, runnable TypeScript val by maxm
HTTP
sendMsgToSlack
glommer
sendMsgToSlack
An interactive, runnable TypeScript val by glommer
Script
slackbot
begoon
slackbot
A simple Slack chat bot prototype able to reply to mentions, channel messages containing keywords, add reactions and act on the slash commands.
HTTP
dailySlackRoundup
Scripted
dailySlackRoundup
Remix of: mikker/dailySlackRoundup
Script
dailySlackRoundup
omerco
dailySlackRoundup
Remix of: mikker/dailySlackRoundup
Script