Apple introduced a new feature called Focus Mode in macOS Monterey and iOS 15. It gives users more control over all distracting things modern devices do. I have multiple focus modes: for learning, working, reading, etc. There is also one I use for deep work. When doing deep work, I want to avoid being distracted by anything, and therefore I mute almost every app, including Slack. One deep work session can last for up to a few hours. During this time, Slack shows that I’m active (green circle next to my name). However, I won’t respond to any messages which can make my coworkers to think that I’m actually slacking (ba dum tss) instead of doing my work.

The solution I come up with is to use Slack API to automatically set status when my deep work focus mode turns on. And disable when it turns off.

Example of Slack Status: Slack Status

It works pretty well for me. Despite the fact the automation is handled by Siri Shortcuts on my iPhone, it also works if focus mode is enabled/disabled on a Mac (assuming the iPhone is online).

Below I describe how to do such automation thing in less than 10 minutes.

0. Create Slack App

  1. Go to and click on “Create New App” button.
  2. Enter the app name and select Slack Workspace you want to update your status in.
  3. After the app is created, select to “OAuth & Permissions” from the left menu.
  4. Scroll down to “Scopes” section and add users.profile:write User Token Scope. This will give your app permissions to modify user status. Slack Status
  5. The last step is to install your app into workplace. Select “Install App” in the left menu and follow instructions on that page.
  6. After the app is installed is ready, you should be able to copy OAuth token. Don’t share this token with anyone! You will need this token in the next step. Slack Status

1. Configure Siri Shortcuts

I made two pretty similar Siri Shortcuts: one to enable, and another one to disable Slack status. Both have comments explaining how they work and import questions asking for your Slack OAuth token.

Enable Slack Focus Status shortcut Slack Status

Import both shortcuts and add your Slack OAuth token.

Download “Enable Slack Focus Status” shortcut

Download “Disable Slack Focus Status” shortcut

2. Set up Siri Shortcuts Automation

  1. Finally, head over to “Automation” tab on iOS/iPadOS Siri Shortcuts app and create new automation.
  2. Scroll down to the list of your Focus modes and select the one you want to trigger Slack Status.
  3. Choose “When Turning On” and proceed to the next screen.
  4. Add “Run Shortcut” action and select “Enable Slack Focus Status” shortcut.
  5. Tap on “Next” and on the next screen disable “Ask Before Running”.
  6. Create one more automation for the same Focus mode, but this time select “When Turning Off” trigger and “Disable Slack Focus Status” shortcut.

That’s it! Now you should be able to automatically share your Focus mode on Slack 🙂