Open conversation with a contact in Slack
Download and install Slack.alfredworkflow
Create a custom app for your team following these steps.
Once you have your client ID and Secret, visit the address https://yannickglt.github.io/alfred-slack/ to generate a unique code for authentication in the Workflow.
Launch the slack workflow with the parameter
--add-client followed by the concatenation of the generated unique code and client Secret separated by a colon (e.g.:
You can add several clients if you want to collaborate with several teams. You just need to repeat the two last steps.
slack --add-client 1234567890.123456789012|1234567890.123456789012.abcdef1234:1234567890abcdef1234567890abcdef
Launch the cache refresh by taping the command
The cache refresh may take up to several minutes depending on your organization size.
Note: install the Packal Updater workflow if you want automatic updates.
List channels or groups to open in the Slack app:
List users to open in the Slack app:
Open a channel, group or user in the Slack app:
List messages from a specific channel, group or user:
Send a message to a channel, group or user:
slack <channel/group/user> <message>
Mark all channels as read
List the files within the team
slack --files <search>
List the items starred
slack --stars <search>
Search both messages and files
slack --search <query>
Set the user presence (either active or away)
slack --presence <active|away>
Set the custom status
slack --status <in a meeting|commuting|out sick|vacationing|working remotely|clear>
Go to the URL https://api.slack.com/apps/new and click on the button
Create a Slack app.
Give it an app name e.g.: "Alfred Workflow", select your team in the list and click on the button
Note the client ID and Secret!
⚠️ Never share the client secret on the web or on public repository