Chat with us

Home electrical services

Services Hub

A website that takes an electrician request properly, then hands the whole conversation to WhatsApp without the customer typing anything twice.

serviceshub.site →

Service pages
11, prerendered
Request goes to
Database, email, WhatsApp
Validation
Server side

Two jobs that usually fight each other

Services Hub sends electricians to homes. To do that they need a name, a working phone number, an address good enough to actually find, and some idea of what is broken. Miss any of those and somebody has to ring back, which costs the job sometimes.

The complication is that customers in this market do not want to fill in a form and wait. They want to talk to somebody on WhatsApp, now. Those two needs pull in opposite directions: the detailed intake wants a form, and the customer wants a chat.

The site does both, in that order, without the customer noticing the seam.

Checked on the server, not just in the browser

The request form validates on the server as well as in the page. Browser checks are a convenience for the customer and nothing more; anything that only runs in the browser can be skipped, and a request that arrives with a malformed number is a job that cannot be dispatched.

Customers can also share their location, which is attached to the request as a map link. Describing where a house is takes two messages and is often still wrong. A pin is not.

Where a request goes the moment it is sent

Three places, at once. It is written to the database so there is a record. It is emailed to the office so somebody sees it without having to watch a screen. And the customer is handed to WhatsApp with every detail already written into the message.

That last part is the one that matters. The customer does not retype anything. They tap, the message is composed, and they are in a conversation with a real person holding the full request.

Repeat submissions from the same number are flagged automatically, so one person cannot flood the inbox, whether on purpose or by refreshing in frustration.

What happens when the database is down

The customer still gets through to WhatsApp.

It would be easier to show an error and ask them to try again later, and it would also lose the job. If the record cannot be saved, the request still becomes a conversation, and the business can reconstruct the record from it. Failing softly in the direction of the customer is almost always the right call, and it has to be designed in deliberately.

Eleven service pages from one template

Somebody with a tripped breaker searches for a tripped breaker. They do not search for "electrician" and then read a list. So each service has a page of its own, written for that search, and each one is a prerendered file rather than something assembled when the visitor arrives.

All eleven come from one template fed by typed data, which means adding a twelfth service is a data entry and not a new page to build, style and forget to link. The cost of keeping the site current stays near zero, which is the only reason sites like this stay current.

Everything that was built

  • Eleven service pages generated from one typed template, so a new service is a data entry rather than a new page
  • A request form validated on the server, not just in the browser
  • Every request written to a database and emailed to the office the moment it lands
  • Optional location captured and attached as a Google Maps link, so the address does not have to be described twice
  • The same details handed to WhatsApp already filled in, so the customer never retypes them
  • Repeat submissions from one number flagged automatically, so the inbox cannot be flooded
  • A fallback that still gets the customer to WhatsApp if the database write fails

Built with

  • Next.js
  • React
  • TypeScript
  • Tailwind CSS
  • Zod
  • Supabase
  • Resend
  • Vercel

Every number on this page is one you can count yourself on the live site. The before-and-after figures that would show what this was worth belong to the client, not to us, so they are absent until they choose to share them.

Want something like this?

Tell us what the job is and we will tell you whether it is something we do, what it would cost, and how long it would take.

Start a conversation →

Related to what we build

Other work