Disable public sharing for a page in Notion
Automatically turn off web sharing for a Notion page from a Slack request with Stepwork, and confirm the public link is dead.
- Use case
- Security response & remediationInfoSec & Compliance
- Best for
- Security Analyst
- Applications used
Notion
Slack
- Business outcome
- Risk reduction
The problem
Someone shared the page to the web.
A page with customer notes or an internal plan is set to anyone with the link. Security finds it in a review, then waits for the owner to notice and turn sharing off.
Until that happens, the link keeps working. Exposed pages wait on whoever owns them, and the fix is easy to forget once the alert scrolls by.
The outcome
Exposure closed the moment it is found
Stepwork turns off web sharing for the page and confirms the link is dead. The exposure ends with the request, and the run records who asked and which page was locked down.
- Web sharing is turned off for the page.
- The public link no longer loads.
- If the page cannot be found, the run stops.
The process
From Slack request to a private page
Security posts the page link in Slack. Stepwork opens the share settings in Notion and turns off web access.
- Step 1
Request it in Slack
A security teammate posts the Notion page link in the security channel. That message starts the flow, and Stepwork records who asked and when.
- Step 2
Open the page share settings
Stepwork signs in to Notion and opens the page’s share settings. If the page cannot be opened, the run stops.
- Step 3
Turn off web sharing
Stepwork disables share to web, the same control an admin uses by hand.
- Step 4
Confirm and reply in Slack
Stepwork checks that the public link no longer loads, then posts the result back in Slack.
Why Stepwork
The link dies when security asks
Stepwork runs only the share lockdown you recorded. It does not wait on the page owner, so exposure closes as soon as the request lands.
Similar use cases
Similar use cases
Remove member in NotionSigns into Notion workspace settings, locates the member, and removes them, freeing the seat.
Invite member to teamspaces in NotionInvites a new member and adds them to the standard teamspaces for their department.
Revoke view share link in AirtableRevokes a specified share link and confirms it no longer loads.
FAQ

