by yannickglt

yannickglt / alfred-slack

The Slack workflow for Alfred app

227 Stars 19 Forks Last release: Not found GNU General Public License v2.0 91 Commits 12 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:



Open conversation with a contact in Slack

To start

  1. Download and install Slack.alfredworkflow
  2. Create a custom app for your team following these steps.
  3. Once you have your client ID and Secret, visit the address to generate a unique code for authentication in the Workflow.

    1. Enter your team name in the first field and your client ID in the second one, then click on the button "Generate code".

    image 2. Authorize the app to access your Slack team with the rights below.

    image 3. Copy your generated unique code in your clipboard.


  4. Launch the slack workflow with the parameter

    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
  5. Launch the cache refresh by taping the command



    slack --refresh
    The cache refresh may take up to several minutes depending on your organization size.
  6. Enjoy!

Note: install the Packal Updater workflow if you want automatic updates.

How to use

  • 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:


  • Mark all channels as read
  slack --mark
  • List the files within the team
  slack --files 
  • List the items starred
  slack --stars 
  • Search both messages and files
  slack --search 
  • Set the user presence (either active or away)
  slack --presence 
  • Set the custom status
  slack --status 

Create an app for your team

  1. Go to the URL and click on the button

    Create a Slack app


  2. Give it an app name e.g.: "Alfred Workflow", select your team in the list and click on the button

    Create App


  3. Note the client ID and Secret!


:warning: Never share the client secret on the web or on public repository

  1. Go to the section OAuth & Permissions (under the Features category), add the two redirect URLs
    and click on
    Save URLs


We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.