←All posts

How to create an external-sharing review report for a Google Drive folder

Review visible sharing permissions in a selected Drive folder. Separate external users, groups and public links while recording scope and access gaps.

Create an external-sharing review report by listing the files in a selected Google Drive scope, reading the permissions visible to the connected account and comparing named recipients with your approved internal-domain list. Group the results for a person to review before changing access.

The report is a snapshot of observable permissions. It should state what was checked and what could not be checked, rather than claim to prove that nobody outside the company can reach a file.

Define the folder and the meaning of external

Choose a root folder or an explicit file list. Decide whether subfolders are included and how shortcuts should be handled. Keep the first review narrow enough that a file owner can resolve the findings.

Record these settings:

SettingExample decision
ScopeOne project folder and accessible descendants
Internal domainsExact approved company domains
Known partnersExplicitly documented external recipients
ShortcutsReport separately without following outside scope
Permission typesNamed users, groups, domains and anyone links
DestinationRestricted review report
ReviewerPerson who understands the project’s sharing needs

An approved partner is still external. Keep external identity and business approval as different fields. This lets the report show useful context without hiding a third party’s access.

Option 1: Review sharing from the Drive interface

For a small folder, open the sharing controls on its important files and record the visible access settings. Check the folder’s sharing as well, because access can come from a parent or shared drive rather than a direct file invitation. Google Drive sharing guide.

Create a sheet with file link, permission type, recipient, role and review outcome. Use clear outcomes such as Expected, Needs owner decision and Unable to verify. Record the reviewer and date.

Manual review is useful when the folder contains a small number of sensitive or high-value documents. It also helps establish which external collaborators are expected before you automate a larger inventory.

Avoid changing permissions while still discovering the scope. First collect the findings and confirm why access exists. A supplier’s editing permission may be intentional for one working document and inappropriate for another.

Option 2: Prepare the sharing report with Pillow

Pillow is an AI assistant that builds editable workflows from plain-English instructions through its workflow builder. Give it the folder scope, domain rules and the report fields you want.

Ask it to remain read-only in Drive. The useful first step is gathering visible access and review questions into one place, with no automatic removal or expansion of permissions.

Build a disabled workflow that prepares an external-sharing review report
for an approved Google Drive folder scope. Ask for root IDs, subfolder and
shortcut rules, exact internal domains, known partner records, reviewer
and restricted report destination. Identify required connections first.
Inventory all accessible files in scope and retrieve all available
permission pages. Record file ID/link, permission ID, type, recipient or
domain, role and inherited status where provided. Keep named external
users, groups, domain access and anyone-link permissions separate.
Match domains exactly against the supplied list. Treat unknown group
membership and unavailable permission details as coverage gaps. Do not
infer that an internal-looking group contains only internal people or
that inaccessible files have no external access.
Create a dated report with scope, findings, expected partner context and
unverified items. Preserve reviewer notes and record snapshot changes.
Do not revoke access, change roles, share files or notify recipients.
Show the report and its limitations before enabling the workflow.
Download Pillow

Copy the prompt above, then open Pillow to build your automation.

Option 3: List files and permissions in n8n

Use a manual trigger during setup, a Drive inventory step and a permission-list request for each file. If the installed Drive node does not expose the required permission fields, use an authorised HTTP Request step with the appropriate existing connection.

Build the flow in this order:

  1. Expand the approved folder scope into a file-ID inventory.
  2. Retrieve visible permissions for each file and follow pagination.
  3. Preserve raw permission fields needed for later review.
  4. Classify permission types and exact recipient domains.
  5. Join known partner approvals as context, without removing findings.
  6. Record retrieval failures and uncertain group membership.
  7. Write a restricted report with the scan’s coverage and timestamp.

Google’s permission-list endpoint supports paginated retrieval and shared-drive handling. Request the fields you need and continue through every returned page token. Drive permissions list reference.

Distinguish named access from broad access

Drive permissions can represent users, groups, domains or anyone, with roles such as reader or writer. Preserve that type in the report rather than forcing every permission into an email-address column. Drive permission resource.

A named supplier email and an anyone-with-link permission create different review questions. The first asks whether that recipient still needs access. The second asks whether the document should remain available to anyone who obtains the link.

For a fictional project, a folder contains a design brief shared with an agency, a public press sheet and an internal planning document with broad link access. The agency share and press sheet may be expected. The planning document needs its owner’s decision. Classifying every external entry as an error would make the report less useful.

Keep the source role visible. Reader and editor access should not be merged into one generic Shared label, because the person reviewing them may make different decisions.

Treat groups and inheritance as separate questions

An internal group address does not prove that all its members are internal. Unless your authorised source provides membership, report the group and mark membership unverified. Do not expand into unrelated directories without a defined scope.

Likewise, a file-level listing is not always enough to explain every effective access path. Record inheritance information where the API provides it and retain the parent or shared-drive context needed for a reviewer to investigate.

Do not treat an empty permission result from a limited account as proof of no sharing. The report should distinguish a confirmed readable result from unavailable details, permission errors and files the inventory could not reach.

For domain matching, compare the actual domain against the approved list. A string containing your company name is insufficient, and a partner’s subdomain should not become internal unless it is explicitly listed under your policy.

Compare snapshots without overstating changes

Store file ID and permission ID with each observation. On a later scan, compare equivalent scopes and distinguish new visible permissions, changed roles and permissions no longer observed.

“No longer observed” is safer than “removed” when access or scope changed. If the scanning account lost permission to a folder, the next report should show reduced coverage rather than celebrate the disappearance of all its sharing entries.

Keep reviewer decisions separate from the generated snapshot. An Expected decision should include a reason and, if your process uses one, a review date. A later role change or different recipient can then return the item for review.

If the owner chooses to change access, handle that as a separate action with a concrete list of files and permissions. Afterward, use a new read-only snapshot to confirm the resulting state.

Questions about Drive sharing reviews

Does this replace an organisation-wide access audit?

No. It covers the selected files and the permissions visible to the connected account. Organisation-wide controls, group membership and other access paths may require separate administrative tools and scope.

Should the report be shared with everyone who owns a file?

Choose recipients deliberately. The report may reveal file names and collaborator details across several projects. A restricted central report plus limited owner-specific extracts may fit the review better.

Can it automatically remove all external access?

This workflow only reports. External collaboration may be intentional, and inherited access may need a different change point. Review a specific proposed change list before taking any separate permission action.

Keep going

Browse all guides