DATA OPS

Pre-share PII gate: block presigned-URL requests for exposed files

A webhook fires before a presigned download URL is issued; it scans the requested S3 object for PII, blocks the share and archives evidence to Dropbox if found.

CategoryData Ops
Enginesim
Difficultyadvanced
Triggerwebhook
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerWebhook requests presigned URL for an objectHTTP webhook
  • ActionFetch and scan object for PIIAWS S3
  • LogicBranch: allow share or block?
  • ActionArchive evidence copy to Dropbox on blockDropboxDropbox
  • ActionAlert blocked share to SlackSlack
  • OutputRespond with presigned URL or denialHTTP webhook

What it does

Inserts a PII check directly into your file-sharing path. When your app requests a presigned URL for an S3 object, this webhook scans the file first. If it contains PII, the share is denied, an evidence copy is archived for compliance, and the requester is notified — clean files get their signed URL with no friction.

When to use it

Use this when external sharing is the leak vector you most need to control, such as a customer portal or support tool that hands out download links. It stops the leak at the moment of sharing rather than after.

How it works

  1. 1An inbound webhook arrives requesting a download link for an S3 object key.
  2. 2The object is fetched from S3 and scanned by OpenAI for PII.
  3. 3A logic branch decides allow versus block based on the findings.
  4. 4If blocked, an evidence copy is archived to Dropbox for the compliance record.
  5. 5A Slack alert notes the blocked share, requester, and reason.
  6. 6The webhook responds with either the presigned URL (clean) or a denial (blocked).

Set it up

What you configure once, before turning it on.

  1. 1
    Connect AWS S3Buckets, objects, signed URLs.
  2. 2
    Connect OpenAIModels, embeddings, files.
  3. 3
    Connect DropboxFiles and folders.
  4. 4
    Connect SlackChannels, DMs, threads, mentions.
  5. 5
    Connect HTTP webhookTrigger any URL on agent actions.
  6. 6
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  7. 7
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  8. 8
    Test, then turn it onRun once against a sample, confirm the output, then enable the trigger.

Run this workflow in your colony.

14-day trial. No DevOps. No Sales call. Provisioned in under a minute.