Retainer tracker, live, internal

Retain+

An internal tool I built for CrayWingz that tells every account manager, each Monday, where their client stands on the retainer.

Open in the full site

About Retain+

Every week, Retain+ counts the reels and posts published on each client's Instagram and checks them against that client's monthly retainer target.

On Monday morning it emails each account manager where their client stands, plus one summary for the manager. A private dashboard shows every client sorted worst first.

Facts

Kind
Retainer tracker
Status
Live, internal
Role
Designed and built it, end to end.
Runs
Every week

How it works

  1. Every client is on a retainer: a set number of reels and posts a month.
  2. Each week Retain+ reads the client's public Instagram grid, collab posts included.
  3. It counts what went out and checks it against what the retainer promised.
  4. Monday morning, each account manager gets one email: on track, or behind and by how much.
  5. Every number in that email can be confirmed or flagged in one click.

Screens stay private. They show client names and their numbers.

Behind the scenes

The first Monday it got a number wrong, nothing had crashed. One request failed quietly and the email went out with last week's count. Now every number in the email can be confirmed or flagged by the person reading it, in one click.

The numbers

from design spec to live on its own server
2 days
agency client accounts tracked every week
5
commits
40
automated tests
265
emails every Monday morning: one per account lead plus a manager digest
6

How it was built

What it does
Counts the reels and posts we published for each client against the monthly retainer, then tells the right person on Monday if we're behind
Who uses it
The CrayWingz servicing team and the manager. Internal only
Why Apify, not the official API
Instagram's API can't see collab posts on a client's grid. On the first test account it saw 10 of 15 posts
Security
Tokens encrypted at rest, never shown in the browser, login lockout, nightly encrypted backups
Rule
No AI anywhere in the counting. Same input, same number, every week

Built with

BackendPythonFlaskSQLite
Data and mailApifyBrevoHeadless Chrome
HostingDigitalOcean

Timeline

  1. Design spec written
  2. Built, deployed with HTTPS, all five accounts onboarded
  3. Switched data source to Apify to catch collab posts
  4. 'Report a problem' button in the Monday email
  5. Monthly PDF client reports built, kept switched off
  6. A dropped week found; 'Confirm counts' flow added
  7. Token fallback so one dead key can't stop the batch

More software

I also make films. See the media work, or go back to Kirtan Purohit's home page.