Jerome Badour
Apps/Fernway/Delivery engine

Delivery engine fernway.jeromebadour.com

The part that keeps the promise: every lead written down first, handed to GoHighLevel, re-sent when GHL fails, never doubled.

›Every lead gets a waybill number. Even the ones GHL refused.

8 triesover 24 h when GHL is busy, down or silent
0 duplicatescontacts matched by email, then phone
40 per 10 spaced to GHL's own rate limit
  1. Need

    A lead lost between a website and the CRM is a customer lost, and nobody notices. GHL gets busy, goes down, refuses data and lets its tokens expire.

  2. Built

    A queue on Redis paced to GHL's own limit, 40 requests every 10 seconds. Each lead is written down with an idempotency key before anything else, then checked, handed to GHL (the contact found or made by email, then phone; a message as a note; a booking on a GHL calendar) and signed for in its pipeline stage. Busy, down or silent: re-sent on a clock, 8 tries over 24 hours. A refusal that waiting won't fix is held with GHL's reason in words. Tokens refresh 5 minutes early under a lock. Every scan is saved in the same transaction as the state change, and a sweep every minute picks up anything overdue.

  3. Result

    The first live lead was signed for in GHL in 1.6 s on its first try. Six failure cases are on a public page, each linked to the exact test line in the public code that proves it.

fernway.jeromebadour.comLive01 / 07
What this gives a client
Built with
TypeScriptNode.jsRedisBullMQPostgreSQLDrizzleZodVitest