Alfred workflow to interact, and perform various functions with the service Slack.
- Install slackfred by visiting the download page in Github or via the Packal page
- Open alfred and type
slt
, then holdcmd
(apple key) and pressenter
. This will open up the Slack API page. Then look for your team (make sure you're logged in) near the bottom and copy your token. - Open alfred and type
slt
, then paste your token and pressenter
. - Try one of the commands below!
slt
: Set your API Token- Open alfred and type
slt
, then paste your token. If you don't have a token, then holdcmd
to open the API page to get one (look for your team near the bottom of the page).
- Open alfred and type
slf
: Search files- Open alfred and type
slf
to search files. Selecting a file opens it in your browser
- Open alfred and type
slk
: Search users and rooms- Open alfred and type
slk
to search user and room names. Hitting enter triggers an Applescript to interact with the desktop application and passes the selected name. Similar to cmd+k
- Open alfred and type
slp
: Set your presence- Open alfred and type
slp active
orslp away
- Open alfred and type
slc
: View, leave and join channels- Open alfred and type
slc
to display a searchable list of channels. Selecting a channel withalt
leaves andctrl
lets you join.
- Open alfred and type
slclear
: Clear unread messages
- Search direct messages
- Create a smoother API key/token process
This workflow was created with the help of Dean Jackson's Alfred library.