Skip to content
← Learn

iPhone Shortcuts automation: block apps with a Focus

Last updated

By Vitalii Kizlov, who makes Cloister.

On iPhone, Focus mode can block apps automatically with Cloister. An iPhone Shortcuts automation starts a Cloister block when a Focus turns on, such as Work. The Focus silences notifications, and the block keeps the apps themselves closed while it runs.

You’ll need Cloister on your iPhone or iPad, with a block made in it. Not there yet? Get Cloister from the App Store first.

Cloister can take you there: in its Settings, under Siri and Shortcuts, tap Show me how, then Open Shortcuts.

Set up the iPhone Shortcuts automation (iOS 27)

  1. Open Cloister once after you install it, so the Shortcuts app knows its actions.
  2. Open the Shortcuts app and tap + to make a new shortcut. If you see Edit at the top, tap it.
  3. Tap Automation under the search, scroll to Focus, and choose one, such as Work.
  4. Search for Cloister, tap Start a block, then choose a block. The shortcut now reads “When Work Is Turned On” and “Start” with your block.
  5. So it can also run while your iPhone is locked, tap the ⓘ button, then Privacy, and check that Allow Running When Locked is on. Your iPhone still asks you to unlock it before the block starts.
  1. A new, empty shortcut in the Shortcuts app, with the buttons Automation, Scripting and Controls under the action search.
    1. Tap Automation under the search.
  2. The list of automation triggers scrolled to the Focus section: Do Not Disturb, then Work, “When Work is turned on or off”.
    2. Under Focus, choose Work.
  3. The action search with “Cloister” typed: Find Block, What’s on, Open a block, and Start a block with three blocks under it, Deep work, Focus and Reading.
    3. Search for Cloister, then Start a block.
  4. The finished shortcut, named Start a block: “When Work Is Turned On”, then “Start Deep work”.
    4. When Work Is Turned On, Start Deep work.

On iOS 26

  1. Open the Shortcuts app. Tap Automation, then New Automation, or + if you already have one.
  2. Choose Focus, then a Focus such as Work.
  3. Choose When Turning On and Run Immediately, then tap Next.
  4. Tap New Blank Automation, then Add Action. Search for Cloister, tap Start a block, choose a block, then tap Done.

To see which iOS your iPhone has, open Settings, then General, then About.

What happens when the Focus turns on

  • On iOS 27, if your iPhone is unlocked, the block starts at once, for the length you set for it in Cloister.
  • On iOS 27, if your iPhone is locked, it shows “Start a block” and “Tap to run”. Tap Continue, then unlock it with Face ID, and the block starts.
  • Once it starts, the block shows on your Lock Screen as a Live Activity with the time left.
  • A Strict block starts too. There’s no second question, and it can’t be ended early in Cloister, so choose it on purpose.
  • Turning the Focus off doesn’t end the block. It runs for its own length. No automation can end a block.
  • Blocking needs Cloister Pro. Without it, the block doesn’t start, and Cloister offers its plans.
  1. The iPhone Lock Screen during a Cooldown block named Focus: Cloister’s Live Activity says “Cooldown · until 07:56” and 11:45 left, with a +15 min button.
    The block on the Lock Screen.

Ideas for your Focus modes

  • Work: your Work block starts with the Work Focus. Social apps stay closed while you work.
  • Personal: a block of work apps, such as email and chat, starts when your Personal Focus turns on in the evening.
  • Sleep: a block of the apps you scroll in bed starts with Sleep. Sleep often turns on while your iPhone is locked, so tap Continue and unlock it to start the block.

Good to know

  • For the same time every day, use a schedule in Cloister instead. It’ll start on its own, such as weekdays from 9 to 5. See how to block apps at certain times.
  • A block with a schedule can’t start from an automation. Use a block you start yourself.
  • On iPad, the steps are the same. A locked iPad asks for Face ID, Touch ID or your passcode.

Questions

Can Focus mode block apps on its own?

A Focus silences notifications. If you want the apps closed too, you’ll need a block: add one with Cloister, as above.

Does the block end when the Focus turns off?

No. It runs for its own length. A Flexible block ends with a tap in Cloister, a Cooldown block after a five-minute wait, and a Strict one not at all.

Can I block apps at set times without a Focus?

Yes. Give the block a schedule in Cloister, and it starts on its own: see how to block apps at certain times.

Now on iPhone and iPadCloister: App & Site BlockerDownload on the App Store

More guides

To start a block by voice, see how to block apps with Siri and Shortcuts. For one press, see how to start a block with the Action Button.