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.
stevekrouse avatar
slack_cleaner
@stevekrouse
HTTP
Paste messages from Slack, get clean markdown This little webapp is intended to make it easier to copy messages from Slack into other places for sharing or archival, with cleaned-up, readable formatting. I hacked it together on valtown with copious help from an LLM over a weekend; please propose changes or edits, as I'm sure I missed many use-cases and edge-cases. This app runs entirely in your browser and does not send your data anywhere.
dnishiyama avatar
dailySlackStandup
@dnishiyama
Cron
An interactive, runnable TypeScript val by dnishiyama
thatbeautifuldream avatar
dailySlackRoundup
@thatbeautifuldream
Script
Sends a daily message to the team Slack channel. Similar to 37signals ' What did you work on today?
curtcox avatar
reply_to_slack_message
@curtcox
HTTP
This val provides a way of readily having lots of different Slack bots that do different things and support different Slack workspaces without needing a bunch of Val Town accounts. If you only need a single bot on a single workspace, just go with the approach in the Val Town docs . This bot is essentially the one described in the Val Town docs , but without any of the details. Those are externalized by the SlackConfig and SlackFunction interfaces. It is just glue. In order to make it work, you will need the following additional glue: a public HTTP val to handle requests like this one a private val to supply any info missing from the public one like this one Actually, those could both be public or all in the same val, but the whole point of this scheme is to allow you to hide anything you want.
maxm avatar
slackBotExample
@maxm
HTTP
An interactive, runnable TypeScript val by maxm
mikker avatar
dailySlackRoundup
@mikker
Script
Sends a daily message to the team Slack channel. Similar to 37signals ' What did you work on today?
nate avatar
slackapp
@nate
Script
// A Slack slash command app to evaluate a val.town expression.
vtdocs avatar
slackWebHookMessageExample
@vtdocs
Script
Part of the Send messages to Slack guide on https://docs.val.town
vtdocs avatar
slackReplyToMessage
@vtdocs
Script
Part of the A Slack bot that replies to mentions guide on docs.val.town .
fields avatar
defineSlackApp
@fields
Script
An interactive, runnable TypeScript val by fields
glommer avatar
sendMsgToSlack
@glommer
Script
An interactive, runnable TypeScript val by glommer
kiven avatar
slackReplyMessage
@kiven
Script
An interactive, runnable TypeScript val by kiven
naquiroz avatar
slackReplyToMessage
@naquiroz
Script
An interactive, runnable TypeScript val by naquiroz
neverstew avatar
slackReplyToMessage
@neverstew
Script
An interactive, runnable TypeScript val by neverstew
metart43 avatar
sendRandomChihuahuaToSlack
@metart43
Script
An interactive, runnable TypeScript val by metart43
eric avatar
webhook
@eric
Script
An interactive, runnable TypeScript val by eric