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.
eric avatar
webhook
@eric
Script
An interactive, runnable TypeScript val by eric
curtcox avatar
getslack
@curtcox
HTTP
An interactive, runnable TypeScript val by curtcox
schpet avatar
linearStandup
@schpet
Cron
daily post to slack listing all the linear issues assigned to you that changed status. thrown together with https://aider.chat/ + sonnet
curtcox avatar
_not_actually_private_so_that_you_can_see_it
@curtcox
HTTP
This is public so you can see what's in it. If it had real secrets, it should be private. See https://www.val.town/v/curtcox/reply_to_slack_message
stevekrouse avatar
dailyStandupBot
@stevekrouse
Cron
Daily Standup Bot Every weekday at 9am EDT send a message to our team's #engineering Discord channel to start a thread to remind us to do our standup. Slack version: @mikker/dailySlackRoundup Note : We started doing in-person standups at Val Town, so this val was unscheduled. To get it working for you, you'll need to: Fork it Change its type from Script to Cron and set a schedule like 0 13 * * 1-5
mux avatar
dubLinkMaker
@mux
HTTP
Dub Shortlink Slackbot We started using dub.co for shortlinks at Mux, so we made a quick Slackbot to make it easier! Usage Fork this thing to your account Set up a Slack bot/app and have the webhooks point at your forked Val Add the following environment variables to Val.town: DUB_API_KEY your Dub API key DUB_WORKSPACE_ID your Dub workspace ID SLACK_MUX_LINK_SIGNING_SECRET Signing secret for the app you created Update the LINK_DOMAIN variable to be the one you want to use (needs to be set up in Dub, of course) Use the command you created in your Slack app! For us, it looks like this: /mux.link https://example.com neat-example This is a quick link for an example.
glommer avatar
getThreadsActivity
@glommer
Script
An interactive, runnable TypeScript val by glommer
generatecoll avatar
oliveMarmot
@generatecoll
Cron
Daily Standup Bot Every weekday at 9am EDT send a message to our team's #engineering Discord channel to start a thread to remind us to do our standup. Slack version: @mikker/dailySlackRoundup
stevekrouse avatar
getThreadsActivity
@stevekrouse
Script
Forked from glommer/getThreadsActivity
sethblanchard avatar
MoonPhase
@sethblanchard
HTTP
@jsxImportSource npm:react
glommer avatar
DiscordNotifier
@glommer
Cron
An interactive, runnable TypeScript val by glommer
re757575 avatar
dailyStandupBot
@re757575
Cron
Forked from stevekrouse/dailyStandupBot
ytf avatar
updateTicketCoordinator
@ytf
Script
An interactive, runnable TypeScript val by ytf
thedavis avatar
whoNext
@thedavis
Script
The cruddiest CRUD app for my @me.roundRobin private val. maintains a round-robin schedule for who should go next in a meeting. This should probably not be accessed manually, but thru a yet-to-be-designed slack bot.
ttodosi avatar
dailyStandupBot
@ttodosi
Cron
Forked from stevekrouse/dailyStandupBot
kevinw avatar
dailyStandupBot
@kevinw
Cron
Forked from stevekrouse/dailyStandupBot