DEVOPS

Dropbox Build-Artifact Retention Governor

Runs on a schedule to scan a Dropbox build-artifacts folder, identify superseded builds beyond your retention policy.

CategoryDevOps
Enginesim
Difficultyintermediate
Triggerschedule
Steps6
Setup~15 min

How it runs

The automated pipeline, trigger to output.

  • TriggerNightly schedule fires
  • ActionList Dropbox artifacts folder recursivelyDropboxDropbox
  • LogicGroup by channel, rank, mark latest as protected
  • LogicSkip channels whose latest artifact is missing
  • ActionDelete superseded artifacts beyond retention countDropboxDropbox
  • OutputPost kept/deleted/reclaimed summary to SlackSlack

What it does

Keeps a Dropbox build-artifacts folder from growing without bound. On a nightly schedule it inventories every artifact, groups them by release channel, keeps the N most recent per channel plus anything tagged as a current release, and deletes the rest. Before any deletion it verifies the latest release artifact is present so the prune never strands a channel without a restorable build.

When to use it

Use it when your CI uploads build outputs to Dropbox and storage keeps creeping up, but you can't just delete by age because some old builds are pinned production releases. It enforces a per-channel retention count safely and reports the reclaimed space.

How it works

  1. 1A nightly schedule fires the run.
  2. 2List the Dropbox artifacts folder recursively and collect file metadata (path, size, modified time, channel prefix).
  3. 3Group by channel and rank by modified time; mark the newest per channel as protected.
  4. 4Branch: if any channel's protected/latest artifact is missing, skip pruning that channel and flag it.
  5. 5Delete the superseded artifacts that fall outside the retention count.
  6. 6Post a Slack summary listing kept builds, deleted builds, reclaimed bytes, and any flagged channels.

Set it up

What you configure once, before turning it on.

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