Where it started
My first integration, in June 2020, was a text-to-apply SMS chatbot for Adaptive Nursing, then SendHub’s largest customer. It watched for opt-in keywords, walked applicants through a multi-step conversation, recovered from unexpected replies and handed the customer a summary at the end. The chatbot kept the account.
A few more custom builds like it followed, each its own service. I designed a platform so new integrations would no longer need one-off engineering, and built the first version as an MVP: a Python / Flask API, Celery and Redis for background jobs, SQLite for storage, and a React dashboard. Customers started using it as soon as it shipped.
I was also its product owner and designer. I ran discovery calls with customers who wanted integrations, often alongside Sales, and dug past the request to the business problem before scoping anything.
Before the platform: each one-off integration I built, such as the text-to-apply SMS chatbot and the webhook-based SMS-to-email alerts, ran as its own service on its own AWS EC2 server, with its own copy of the same plumbing for webhook intake, retries and state, and served one customer. Building the next one meant another server, while customers’ requests for other tools waited. After: one platform holds everything integrations share: webhook intake, scheduling, retries, state, configuration and the dashboard. Follow Up Boss, JazzHR, Zapier and SendHub’s own webhook relay are small plug-ins in the platform, each adding only what is specific to it, and each customer turns theirs on. Any of SendHub’s roughly 2,000 customer accounts can turn on any of them.
Every one-off ran on its own EC2 server and had its own copy of the same plumbing.
Each new one took another server to build and run, while customers’ requests for other tools waited.
So I moved the shared plumbing into one platform.
Each integration became a small plug-in that adds only what is specific to it, and customers turn them on themselves.
Key decisions
A platform layer, integrations as plug-ins
The configuration screens share form components with per-integration variations; the most involved is a rules form for applicant-tracking sync ("if this field matches that value, map the applicant to these lines").
The embedded Zapier experience works the same way: customers could see, open and configure all their SendHub zaps, and start from templates, inside the platform.
Queue anything slow or unreliable
Webhooks, scheduled jobs and polling all end up as jobs on the queue. Webhooks are accepted and validated before their work is queued. Workers make the slow, error-prone calls to other companies’ APIs, with retry logic. In the TypeScript version that is BullMQ, with delayed jobs, retries and concurrency limits. Inbound webhooks are signature-checked.
Write the contract first
For the TypeScript version I wrote the OpenAPI contracts by hand before the code, then generated server stubs, API clients and tests from them.
Sign-in without another password
I built the platform’s authentication from scratch on a standard JWT library, with refresh-token rotation and reuse detection: if an already-used refresh token shows up again, the whole token family is revoked. Users already signed in to SendHub could continue as that account with one click, through the shared parent-domain session. Once the platform was embedded in SendHub’s interface, they were signed in automatically.
Scaling up as adoption grew
SQLite got the MVP out, and then struggled with several workers writing at once. As adoption grew I led the move to a TypeScript Nx monorepo on Express that shares code between server and client, with a multi-tenant PostgreSQL schema and a Material UI front end. The API and workers ship as separate Docker containers through GitHub Actions (lint, test, build, tag, deploy) to CapRover on AWS EC2.
I led a small team through that 14-month build, reviewing and pair-programming with the other developers.
What went wrong at launch
I estimated the first version optimistically and set myself a deadline that was too short. The last week took about three all-nighters, and v1 still shipped with a bug that stopped first-time users from logging in.
I had no real estimating process yet. On the TypeScript build I ran the planning as de facto Scrum Master: I wrote the epics, broke the work down and estimated it.
What I’d do differently
We moved fast to get the MVP out, and product analytics never made the list. When I wanted to know how many customers used integrations, I had to query the integrations database and estimate. Next time I’d put the success metric in the brief, add tracking before launch, and check the usage numbers once it’s live.
SendHub's code and screens are proprietary, so the images here are redrawn. Numbers are real unless marked as illustrative.