download dots

🤖 Flag Files Shared Outside the Company with AI

A daily check reviews permissions and raises a task for anything shared too widely.

  • Event-triggered
  • 100+ integrations
  • Branching logic
  • Schedule + monitor
UNIT · TASKADE.FLOW4 STEPS

How this flow runs

When

Every day

Schedule

Then 1

List files

Google Drive

Then 2

Agent

Access Reviewer

Ask an agent · Taskade AI

Knows
your sharing policy and approved external domains
Remembers
the shares it has already cleared

Then 3

Loop

For each file shared too widely

  1. Add Task

    Taskade

Run the same steps once for every item in a list, with the current item available to each step inside.

This agent carries its knowledge and memory between runs, and can call your other automations as its own tools. How custom agents work

Loop is a step you add in the builder, in the same list as an app step — there is no separate scripting surface. All automation actions

Build this flow with AI

Opens the builder with these steps already described. Free to start, no card.

What does this Google Drive automation do?

A daily check reviews permissions and raises a task for anything shared too widely.

What can you do with it?

  • Notice over-sharing before an audit does
  • Get the file and its permission state in one task
  • Give the fix an owner

The Steps

This automation runs in 4 steps:

  1. When Schedule — Every day
  2. Then Google Drive — List files
  3. Then Taskade AI — Ask an agent ("Access Reviewer")
  4. Then Loop over each file shared too widely — Add Task

What makes this different from a Zapier-style flow?

The "Access Reviewer" step is not a one-off model call. It is a Taskade AI agent that knows your sharing policy and approved external domains, remembers the shares it has already cleared, so every run builds on the last one instead of starting from an empty prompt.

A stateless "ask the model" step forgets everything the moment it returns. An agent keeps its knowledge and its memory between runs, carries its own tools, and can be handed work by your other automations.

Who is this automation for?

Built for IT and compliance teams. A daily check reviews permissions and raises a task for anything shared too widely.

How do you set it up?

  • Open the "Automations" tab in your workspace.
  • Click ➕ Add automation, then start from scratch.
  • Add the trigger "Every day" from Schedule.
  • Add the action "List files" from Google Drive.
  • Add the action "Ask an agent" from Taskade AI. Point it at an agent called "Access Reviewer".
  • Add a Loop step: Loop over each file shared too widely — Add Task.
  • Connect your Google Drive account when prompted, then enable the toggle in the top-right corner.

Prefer to describe it instead? Click Build this flow with AI above and Taskade wires the trigger, the steps, and the agent for you.

Related from the blog