Two BitDigital
CRMsSitesProductsServicesToolsAboutInsights
Markets
UKPakistan
Request a Demo
Bots & Automation

From Website Enquiry to CRM Lead: How We Built Our Own Pipeline

3 December 2026·6 min read·
website to CRM integrationlead pipelineSupabaseCRM case studyfollow-up automation

An enquiry that exists only in an inbox is easy to lose. We wanted every brief from this website, whether typed into the contact form or given to our chat bot, to appear as a lead in the CRM we built for our own company. This is how that connection is designed.

The Route an Enquiry Takes

  1. 01.The visitor submits the form or confirms in the chat.
  2. 02.The server validates the input and runs spam checks.
  3. 03.A notification email is sent to the team.
  4. 04.The enquiry is saved to the CRM, and this is attempted even if the email failed.
  5. 05.The team picks it up from the Leads screen with its source and message attached.

Design Choices

The website does not hold the keys to the CRM

A public marketing site is the most exposed part of a business. Ours never holds the CRM database's administrator key. It calls a small number of purpose-built database functions with its own key, which can be revoked on its own. If the site were compromised, finance records and stored credentials would not come with it.

One person, one open lead

The CRM matches on email address. A second message from someone with an open lead is added to its timeline and flagged for follow-up that day.

Spam is labelled, not discarded

A suspicious submission is stored as lost with the reason recorded. It stays out of the working pipeline and can still be recovered if it turns out to be real.

Every lead carries its origin

The lead notes how the visitor found us, the first page they landed on and the page they sent the enquiry from. That is what tells us which content produces conversations.

Follow-Ups: Built, and Off Until Deliberately Enabled

We have also written an inbound follow-up sequence: an introduction when the enquiry arrives, then weekday follow-ups at spaced intervals. It stops when a reply is recorded, when the person unsubscribes, when the lead moves to a later stage or when a colleague logs a call or meeting. Each send is written to the lead's timeline. It ships switched off, and turning it on is a separate decision from deploying it.

The Lesson: Test the Whole Chain

On our first live test the notification email arrived but the lead did not. A default setting in the database's API pointed the request at the wrong place. Because the email route was independent, nothing was lost, and the fix was small. Unit tests had not shown it. Send a real test enquiry in production and look for it at the far end.

What to Copy for Your Own Site

  • •Two independent routes for a new enquiry, so one failure does not lose it.
  • •A narrowly scoped, revocable key for anything public that writes to your CRM.
  • •Duplicate and spam rules decided before launch.
  • •Source tracking captured at the first visit, with your privacy notice kept accurate.
  • •An end-to-end test after every change to the chain.

Want your website, bot and CRM joined up like this? Send us your current form and CRM, and we will outline the connection.

Get In Touch →

Related Reading

Muhammad Wasif, Founder and CEO of Two Bit Digital
Muhammad Wasif
Founder & CEO, Two Bit Digital
LinkedIn ↗

More From Our Insights

← Back to all Insights

Frequently Asked Questions

How do you send website form leads into a CRM?

The website server passes each validated submission to the CRM through an API or database function, which creates a new lead or updates an open one for the same email address.

What happens if the CRM is down when someone submits a form?

Keep an independent route such as a notification email, log the failure and alert someone, so the enquiry can be added later.

Have a project that needs this expertise?

We build software for regulated industries. If what you read resonates, we would like to hear about your brief.

Start a Conversation →