DEVOPS

Dropbox Quota Overflow Emergency Artifact Prune

When a webhook reports Dropbox usage crossing a quota threshold, prunes the oldest non-release artifacts until usage drops under target and pages on-call via PagerDuty if it can't.

CategoryDevOps
Enginesim
Difficultyadvanced
Triggerwebhook
Steps6
Setup~25 min

How it runs

The automated pipeline, trigger to output.

  • TriggerQuota-alert webhook receivedHTTP webhook
  • ActionList Dropbox artifacts oldest firstDropboxDropbox
  • ActionFetch live GitHub release tagsGitHubGitHub
  • LogicDelete oldest unprotected until under target
  • LogicCheck whether target reached
  • OutputPage on-call or post all-clearPagerDutyPagerDuty

What it does

This workflow listens for a quota-alert webhook and reacts when Dropbox storage crosses a danger threshold. It pulls the artifact inventory, sorts oldest first, and deletes non-release files in order until projected usage falls back under the target. If it still can't free enough space, it pages on-call so a human steps in before builds start failing.

When to use it

Use it as a safety net when a full Dropbox would break your CI uploads. It's the reactive counterpart to a scheduled sweep — it only runs under pressure and prioritizes getting back under quota fast.

How it works

  1. 1A quota-alert webhook triggers the flow with current usage.
  2. 2List the Dropbox artifacts with sizes and dates, oldest first.
  3. 3Fetch live GitHub release tags to protect referenced artifacts.
  4. 4A loop deletes the oldest unprotected files until projected usage is under target.
  5. 5A branch checks whether the target was reached.
  6. 6If still over, page on-call through PagerDuty; otherwise post an all-clear to Slack.

Set it up

What you configure once, before turning it on.

  1. 1
    Connect HTTP webhookTrigger any URL on agent actions.
  2. 2
    Connect DropboxFiles and folders.
  3. 3
    Connect GitHubRepos, issues, pull requests, actions.
  4. 4
    Connect PagerDutyIncidents, on-call, escalations.
  5. 5
    Connect SlackChannels, DMs, threads, mentions.
  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.