The project
2 min read
The challenge
A consulting team tracks client work in Asana. The progress on each piece of work went out of date, so before every client report someone had to chase each owner and copy the status in by hand. The team already used Slack, so the fix had to live there too: no new website and no new login.
My approach
I worked solo across scope, architecture, build, tests and deploy (Node.js, TypeScript, Slack Bolt, Prisma, SQLite, Docker). I kept the first release small: one question, once a week, one form. It ran in production for one person first, 4 days after the first spec.
Every Friday the bot sends each person one private message with their own open work and an Update button.
The button opens a short form inside Slack. People change only what is out of date, and the bot writes only what they changed.
Anyone can edit their answer until the next round. Every edit is a new record, so the history stays.
People who don't answer get one reminder on Monday. On Tuesday the admins get a report of who is missing.
A slash command opens the same form at any time.
Admin controls inside Slack
The admins aren't developers, so they run the bot without me.
A slash command, for admins only, opens the settings: who is asked, how people match between the two systems, which boards are left out, and the schedule.
Every change goes into a journal: who, when, old value, new value.
The admin list itself can't be changed from Slack, so nobody can promote themselves or lock everyone out.
The settings used to live in a config file. A one-time import moved them into the database on upgrade.
Built so nothing is lost or counted twice
Every write to Slack and Asana is safe to repeat. Each comment carries the ID of its answer, so a retry finds the existing one instead of posting it again.
A retry loop runs every 5 minutes and picks up whatever failed. If the server was down at send time, the round runs on restart.
A dry run prints what a round would do, without touching Slack or Asana.
The bot has 5 Slack permissions, opens no inbound port, and keeps its secrets in 1Password.
It's one container on a server the company already ran. There's no per-user fee.
The result
Owners update their work in Slack, and Asana gets the change with the person's name on it. No copying in between. 8 people use it every week. An admin then asked for 3 more fields (status, gate and due date), and they went live within the week. 758 automated tests cover the bot, and each release keeps the previous version ready for rollback.

