RB2B to EmailBison
<- back to stuff i built
outbound automation

RB2B to EmailBison

A webhook pipeline that turns anonymous website visitors into filtered cold-email leads.

rb2b-emailbisonview repository ->

tldr

A visitor-to-outbound pipeline that identifies companies, applies business rules, excludes existing relationships, and attaches qualified leads to an EmailBison campaign.

the problem

Visitor identification is only useful if it becomes a timely, relevant action. Sending every visitor to sales creates noise, while manually filtering and uploading the good ones destroys the speed advantage.

what it is

A webhook pipeline that turns anonymous website visitors into filtered cold-email leads.

why it is useful

It connects visitor identification to outbound execution without making a salesperson export, qualify, and upload a list by hand.

architecture

An Express webhook normalizes several RB2B payload shapes into Postgres rows. A fast background sweep applies title, employee-count, and CRM exclusion filters, then creates qualified leads in EmailBison and attaches them to a campaign. Failed rows remain pending for bounded retries.

how it works

  1. RB2B events arrive in several payload shapes and are normalized into one Postgres record.
  2. A background processor checks title, employee count, customer status, and sales activity.
  3. Qualified visitors are created in EmailBison and attached to the selected campaign.
  4. Failures remain pending for bounded retries, while reports show what was accepted, skipped, or rejected.

implementation notes

  • Filters for senior decision-makers and companies with 5-100 employees.
  • Excludes existing customers, demo bookers, and leads already booked by sales.
  • Supports webhook ingestion, status reporting, manual processing, and CSV backfills.
  • Reuses the same filtering module for live traffic and historical imports.

engineering decisions

  • Reuses the same filtering module for live webhook traffic and historical CSV backfills.
  • Keeps raw ingestion separate from qualification so filtering rules can evolve without losing events.
  • Uses explicit CRM exclusions to avoid contacting existing customers or active sales opportunities.

stack

Node.jsExpressPostgresRB2BEmailBisonGoogle SheetsRailway