DATA OPS

Governed BigQuery extract to Dropbox with PII masking and Slack approval

Fulfills an ad-hoc data export request by running a BigQuery query, masking PII columns, then waiting for a Slack approval before delivering the file to Dropbox.

CategoryData Ops
Enginesim
Difficultyintermediate
Triggerwebhook
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerExport request submitted via form webhookHTTP webhook
  • ActionRun parameterized query in BigQueryGoogle BigQueryBigQuery
  • LogicMask columns tagged as PII
  • LogicPost summary to Slack and wait for approvalSlack
  • ActionWrite masked CSV to requester's Dropbox folderDropboxDropbox
  • OutputSend Slack confirmation with Dropbox linkSlack

What it does

Turns a one-off "can you pull this data for me" request into a controlled pipeline. It runs the requested BigQuery query, automatically masks columns flagged as PII (email, phone, SSN), and holds the result behind a Slack approval button so a data owner signs off before the file ever leaves the warehouse. Only after approval does the masked CSV land in a shared Dropbox folder.

When to use it

Use it when analysts or business teams request data exports that may contain customer PII and your governance policy requires a human approval before delivery. It replaces the risky pattern of running a query and emailing a raw CSV.

How it works

  1. 1A form submission (webhook) captures the requested dataset, query, and requester.
  2. 2BigQuery runs the parameterized query and returns the result set.
  3. 3A masking step redacts any column tagged as PII, leaving safe columns intact.
  4. 4An approval branch posts the row count and column list to Slack and pauses for an approve/reject decision.
  5. 5On approval, the masked CSV is written to the requester's Dropbox folder.
  6. 6A Slack message confirms delivery with the file link; rejection ends the run.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect BigQueryDatasets, queries, schemas.
  2. 2
    Connect DropboxFiles and folders.
  3. 3
    Connect SlackChannels, DMs, threads, mentions.
  4. 4
    Connect HTTP webhookTrigger any URL on agent actions.
  5. 5
    Set each agent's modelWe leave models unset so you pick the tier — fast + cheap, or top-quality.
  6. 6
    Tune it to your dataEdit the prompts, filters, and field mappings so it matches how your team works.
  7. 7
    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.