Back on episode 25 of Nested Folders, Rosemary Orchard and I discussed agreements and the many kinds of these that are important for effective collaboration.
For me, a lot of these agreements end up getting supported by Slack, which is great.
I talked about my love for Data Jar on episode 49 of the Automators podcast, and how it allows complex data to be easily reused by multiple different Shortcuts.
This gave me an idea: what if I had a dictionary containing all the channel identifiers of my Slack workspaces? Then I could easily interact with them by web API.
Even better, could I make this Data Jar dictionary with a Shortcut?
Yes. Here you go!
As well, here are a few arguments to consider adding to the URL in the Shortcut for better utility:
- exclude_archived=true
- types=public_channel,private_channel
- limit=1000 (if you have a big/busy workspace)
Lastly, I’d like to give a shoutout to this Medium post by Jake Bateman, which got me rolling in how to use the Slack web API. Very useful!