Begin with a working manual session
Install Foqos on your iPhone, open it and finish the Screen Time prompt. Create a simple profile with one selected app. Start it in Foqos, check that the app is blocked and end it with the normal stopping method. Fix a problem here before adding an automation, because an extra trigger can make the cause harder to see.
Give the profile a short, clear name. You will choose it inside the Foqos actions in Shortcuts. If you later rename or rebuild the profile, revisit the automation and check its selected target. The action should refer to the profile you actually use, not an older test profile with a similar name.
Keep the first rule small. Use one trigger and one profile. That makes the result easy to read. More triggers, schedules and stop rules add more parts to check. Expand the setup once a start and an allowed stop work on your phone.
Find the Foqos actions in Shortcuts
Open Apple Shortcuts and search for Foqos when adding an action. The project documents actions for checking whether a session is active and starting or stopping a profile. Other session controls depend on the available strategy and settings. Choose the action by the result you need, then check the profile field inside it.
If no Foqos actions appear, open Foqos once, close Shortcuts and open it again. If they remain missing, restart the iPhone and check for available app updates. Missing actions and a failed stop are two different issues. Get the actions to appear before adjusting the profile’s stopping behavior.
- Trigger fires
- Check session state
- Run the allowed action
Build an NFC automation for a physical tag
For a tag automation, open the Automation tab in Shortcuts and create a personal automation with NFC as the trigger. Scan the tag and give the trigger a name you recognize. The documented setup uses Run Immediately and Notify When Run. Choose a blank automation so you can add only the steps you need.
- Add Check if Foqos Session is Active.
- Add an If block that uses the check’s result.
- Use Stop Foqos Profile in the active branch when stopping is allowed.
- Use Start Foqos Profile in the inactive branch.
- Select the intended profile in both actions.
The order matters because the same tag can be used at the start and end of a routine. Check the branch labels on your phone before running it. A start-only automation can be simpler if you never want the trigger to stop a session. Keep the action tied to the profile’s chosen method.

Use a Focus, a place or a Wi-Fi trigger
A Foqos profile can also start from a Shortcuts automation when an Apple Focus turns on, when you arrive at a location or when you join Wi-Fi. Pick the trigger that marks a real change in your day. A work Focus may suit a desk routine; a location trigger may suit arriving at a place where you want fewer distractions.
Test what happens when the trigger fires again while a session is already active. Decide whether your automation should do nothing, check state or run a permitted action. Do not assume the iPhone will deliver every trigger at exactly the same moment. Keep a manual way to start the profile when an automatic start is delayed.
Apple Focus and Foqos have different jobs. A Focus can manage which notifications reach you. Foqos applies blocks to the selected apps and websites. Linking the two can make the routine easier to begin, while the app selections and stopping rule still belong to the Foqos profile.
Check why a Shortcut cannot stop a session
Look at the profile’s Stop Options. Require Foqos to Stop can prevent a Shortcut from ending a session. A physical rule may require the saved tag or code. When those rules are intentional, the automation reaching Foqos does not mean it is allowed to remove the block.
Test the normal stop in the app with the required item. If that works, the issue is more likely the automation or its allowed actions than the underlying app block. Check the profile selected in each action and the result of the state check. Do not weaken a useful physical rule just because a more convenient stop action is available.
Test the full routine, including the next start
Run the trigger once while the profile is inactive. Open the selected distracting app and check that it meets the block. End the session through the planned path, then run the trigger again. This catches a branch that only worked because a test session was already running when you built the automation.
For break or pause actions, first enable the relevant feature in the profile. A break command cannot create an allowance that was never configured. Keep a short note of the trigger, profile name and expected behavior. If a problem recurs, those details are more useful than a screenshot of a large automation with no clear expected result.
Use the tag and code pairing guide for physical-item problems. Use the app blocking guide if the automation starts a session but the selected app stays open. Return to Foqos setup options if a manual timer would fit the task with fewer steps.