Cloud and data
Where the integrations run, where their data lives and how they send mail and alerts: serverless functions, queues, state stores, a warehouse and one office TV.
Answer the webhook fast, then work from a queue
- HubSpot: Where the records land.
- Ingress: A function that takes each webhook, checks it and queues it.
- Postgres queue: Jobs, claims, cursors and dead letters.
- Cron worker: Claims jobs on a cron, within a time budget, and writes the records.
- Source system: The system whose webhooks start the work.
- Slack alerts: One alert per cause, from the monitor and the health checks.
- From Source system to Ingress: Events as webhooks. Each change at the source, sent as a webhook. Something changes at the source.
- From Ingress to Postgres queue: Queued, then answered. One job per event. Each accepted webhook.
- From Postgres queue to Cron worker: Claimed by one worker. The next jobs no other worker holds. A cron tick.
- From Cron worker to HubSpot: Records upserted by id. Records created or updated in HubSpot. Each claimed job.
- From Cron worker to Slack alerts: Health and dead letters. Alerts by cause when a check fails or a job dead-letters. Each monitor run.
- On Events as webhooks: Unsigned calls refused. The ingress refuses any call that lacks a valid signature or shared secret.
- On Queued, then answered: A 503 asks for a retry. When an event could not be queued, or nothing reached the other system, the ingress answers 503 so the sender tries again.
- On Claimed by one worker: Claims skip locked rows. Workers claim jobs with FOR UPDATE SKIP LOCKED, so two workers never take the same job.
- On Postgres queue: Backoff, then dead letters. A failing job backs off and, if it keeps failing, becomes a dead letter instead of vanishing.
- On Health and dead letters: Health checks that page. A monitor runs on a schedule and alerts by cause, and a failed cron reports itself as failed.
- Built by me
- Platforms I connect to
- Guards
- a Events as webhooks
- b Queued, then answered
- c Claimed by one worker
- d Records upserted by id
- e Health and dead letters
-
Unsigned calls refused on a
The ingress refuses any call that lacks a valid signature or shared secret.
Ran in Multi-tenant event processor, Two-way ERP sync and QuickBooks job costing.
-
A 503 asks for a retry on b
When an event could not be queued, or nothing reached the other system, the ingress answers 503 so the sender tries again.
Ran in Multi-tenant event processor and ERP job creation.
-
Claims skip locked rows on c
Workers claim jobs with FOR UPDATE SKIP LOCKED, so two workers never take the same job.
Ran in Multi-tenant event processor and Desktop accounting connector.
-
Backoff, then dead letters on Queue
A failing job backs off and, if it keeps failing, becomes a dead letter instead of vanishing.
Ran in Multi-tenant event processor, Desktop accounting connector and Two-way ERP sync.
-
Health checks that page on e
A monitor runs on a schedule and alerts by cause, and a failed cron reports itself as failed.
Ran in Two-way ERP sync, Multi-tenant event processor and ERP job creation.
An integration has to run somewhere, and keep running when nobody is watching. Most of mine are serverless functions on Vercel or Supabase, with their state in Postgres; some send their mail through Resend, and others their alerts to Slack. The billing platform keeps its identity table inside a private AWS network, behind a small Lambda, so database credentials never leave it. And one build is a Raspberry Pi kiosk that runs an office TV, changed only through HMAC-verified routes.
Here the risks are about time. A function runs for minutes, not hours, so long work is cut into jobs that a worker claims within a time budget. A scheduled job is proven only by its own schedule. And a changed setting never reaches functions already deployed, so the only way to abort is a change and a redeploy.
So the plumbing carries guards too. The event processor answers a webhook only once it is queued and returns a 503 when it cannot queue, so the sender tries again; its workers claim jobs with SKIP LOCKED, back off and dead-letter what keeps failing. The desktop accounting connector uses that claim too, plus a breaker on how often a request is served. Job creation fails its own cron with an HTTP 500 and a Slack alert, so a failed key rotation cannot pass for a good one.
Data is checked before anyone relies on it. The cross-portal data model scanned 32,846 properties across 18 portals and rated each portal by fill rate: 12 safe, 4 caution, 2 do not deploy. The billing platform’s usage writeback runs every hour from a Snowflake warehouse, is idempotent, and matched 1,106 of 1,148 agreements exactly, the other 42 dormant, with 0 defects. And a roof-age app agreed 25 of 25 times with the county’s independent historical building footprints.
Builds
Every build that runs on these platforms
-
Quote-to-cash billing platform
Date: Sep 2026
Fact: 1,154 of 1,154 live agreements settled in the first billing run
Client: For a services company
Systems: NetSuite, Snowflake, dbt, Hex and AWS
Status: In production
-
Two-way ERP sync
Date: Aug 2026
Fact: 11,598 deals linked to the ERP
Client: For a commercial roofing contractor
Systems: Dataforma
Status: In production
-
Desktop accounting connector
Date: Jun 2026
Fact: Sales recognition reconciled to the cent across 3,709 deals
Client: For a residential roofing and solar contractor
Systems: QuickBooks Desktop
Status: In production
-
Multi-tenant event processor
Date: Jun 2026
Fact: 10,630 events in 7 days through the queue that replaced Make.com
Client: For a multi-brand roofing company
Systems: AccuLynx and Make.com
Status: In production
-
Two-way field-service sync
Date: Feb 2026
Fact: 11,683 deals and 8,182 tickets in a two-way sync
Client: For a commercial roofing service contractor
Systems: CenterPoint Connect, Zapier, QuickBooks Online and Make.com
Status: In production
-
ERP job creation
Date: Early 2026
Fact: 24-hour API keys rotated every 8 hours
Client: For a commercial roofing contractor
Systems: Deltek ComputerEase
Status: In production
-
Roof age from aerial imagery
Date: Oct 2026
Fact: 50 of 50 demo addresses answered; 25 of 25 agreed with the county’s historical footprints
Client: For a roofing contractor consortium
Systems: Claude
Status: In production
-
QuickBooks job costing
Date: Aug 2026
Fact: On day one of a 3-day hackathon, an invoice posted through the approval gate
Client: For contractors on HubSpot (a hackathon build)
Systems: QuickBooks Online, Stripe and Claude
Status: Active
-
Estimating system sync
Date: May 2026
Fact: In production 2 days after the first commit
Client: For a commercial roofing contractor
Systems: EDGE Estimator
Status: In production
-
HubSpot-first booking
Date: Apr 2026
Fact: Booking to an assigned field task in about 104 seconds, fully automatic
Client: For a residential roofing contractor
Systems: Arrivy and WhatConverts
Status: In production
-
Multi-tenant booking platform
Date: Apr 2026
Fact: 4 live tenants, 21 of 21 production smoke checks on each
Client: For four roofing contractors
Systems: Zuper, Demand IQ and n8n
Status: In production
-
Per-trade deal budgets
Date: Feb 2026
Fact: Revenue, material and labor budgets across 11 trades
Client: For a residential roofing and exteriors contractor
Systems: SumoQuote and Zuper
Status: In production
-
Cross-portal data model
Date: Dec 2025
Fact: 32,846 properties scanned, 7 sales-rep patterns found
Client: For 18 contractor HubSpot portals
Systems: HubSpot
Status: In production
-
Deal creation app
Date: Dec 2025
Fact: One contractor created 1,395 deals with it, January to August 2026
Client: For four roofing contractors
Systems: CompanyCam, Smarty, Shovels and NOAA weather radar
Status: In production
-
Office TV dashboard
Date: The Dec 2025 handoff
Fact: 15 live HubSpot reports on one screen
Client: For a residential roofing and exteriors contractor
Systems: HubSpot
Status: In production
Systems
Platforms and data
-
AWS, AWS Lambda and Secrets Manager
Cloud
A Lambda in a private network fronts the identity table; credentials stay in Secrets Manager.
Used in Quote-to-cash billing platform.
-
Cloudflare Workers
Platform
An edge route that let a cutover mirror traffic first, then flip.
Used in Multi-tenant event processor.
-
dbt
Data transformation
Seven models, compiled into the Hex project that writes usage back to HubSpot.
Used in Quote-to-cash billing platform.
-
Docker
Platform
Used in Deal creation app.
-
Hex
Reverse ETL
Runs the usage writeback to HubSpot every hour, idempotently.
Used in Quote-to-cash billing platform.
-
MariaDB
Data store
Used in Quote-to-cash billing platform.
-
NOAA weather radar
Weather data
Hail radar loaded into PostGIS: 1,159,004 events by February 2026.
Used in Deal creation app.
-
PostGIS
Data store
Used in Deal creation app.
-
Postgres and pg_cron
Data store
Queues claimed with SKIP LOCKED, cursors, id maps and dead letters.
Used in Roof age from aerial imagery, QuickBooks job costing, Two-way ERP sync and 7 more.
-
Railway
Platform
Used in Deal creation app.
-
Raspberry Pi
Platform
One kiosk that shows 15 live HubSpot reports on an office TV.
Used in Office TV dashboard.
-
Redis
Data store
Vercel KV on Upstash holds rotating API keys, locks and per-deal claims.
Used in ERP job creation.
-
Resend
Platform
Booking invites branded for each tenant, account and invitation email, and alerts to an operator.
Used in Roof age from aerial imagery, QuickBooks job costing, Multi-tenant booking platform and Deal creation app.
-
Shovels
Permit data
Permit data, added as a deal is created.
Used in Deal creation app.
-
Slack
Platform
Where health checks page: one alert per cause.
Used in Quote-to-cash billing platform, Two-way ERP sync, Desktop accounting connector and 2 more.
-
Smarty
Property data
Address and property data, added as a deal is created.
Used in Deal creation app.
-
Snowflake
Data warehouse
Usage lands here before it is modeled and written back to HubSpot.
Used in Quote-to-cash billing platform.
-
Supabase and Supabase Edge Functions
Platform
Used in Roof age from aerial imagery, QuickBooks job costing, Two-way ERP sync and 7 more.
-
Tailscale
Platform
Used in Office TV dashboard.
-
Vercel
Platform
An environment change reaches running functions only after a redeploy.
Used in Roof age from aerial imagery, QuickBooks job costing, Two-way ERP sync and 9 more.
Languages, frameworks and tools
- Chromium Tool
- Deno Language
- FastAPI Framework
- Flask Framework
- Gunicorn Tool
- Handlebars Framework
- JavaScript Language
- Next.js Framework
- Node.js Language
- Puppeteer Tool
- PWA Framework
- Python Language
- React Framework
- SQL Language
- Tailwind CSS Framework
- TypeScript Language
- XML Language