DEV Community

Cover image for I got tired of writing form backends, so I built Backforms
Arneld Castellanos
Arneld Castellanos

Posted on Originally published at backforms-blog.hashnode.dev

I got tired of writing form backends, so I built Backforms

Let me guess how your last "simple" contact form went.

You finish the landing page. The design looks great. You only need one more thing—a contact form—and somehow you end up setting up an API route, wrestling with SMTP credentials, fighting spam bots, and wondering where to store the submissions.

A few months ago, I was wrapping up a Next.js site for a local service business. Everything was fast, responsive, and ready to deploy. Then came the handoff call. The owner looked at the contact page and asked a completely reasonable question: "Where do these leads actually go?"

When I said "to your email inbox," he laughed and told me he barely checks his email—if a customer doesn't get a reply on WhatsApp within ten minutes, they call the next business on Google. On top of that, his assistant needed every inquiry logged in a shared Google Sheet to track follow-ups.

Suddenly, a "simple" contact form meant stitching together a form service, paying for a monthly Zapier plan just to move a few dozen leads, and maintaining fragile webhook glue—while still dealing with spam bots flooding his phone at 2 AM.

After running into this workflow bottleneck one too many times, I decided to build the tool I kept wishing existed. That's Backforms.

What is a Headless Form Backend (and What Makes Backforms Different)?

Backforms is a multi-channel headless form backend built for developers, freelancers, and agencies. You point any plain HTML <form> or a fetch() call from your frontend directly at a Backforms endpoint, and that's it. No backend boilerplate, no heavy SDKs, and no npm packages required.

Behind that single URL, every submission is filtered for spam, stored encrypted, and dispatched concurrently to wherever your team or client actually works: WhatsApp, Google Sheets, Slack, Notion, Telegram, Discord, or plain old email—without needing Zapier or Make in the middle.

Here's the Whole HTML & Next.js Form Setup

This is the entire integration. No hidden config files or complex auth flows:

<form action="[https://backforms.com/f/YOUR_ENDPOINT](https://backforms.com/f/YOUR_ENDPOINT)" method="POST">
  <input type="text" name="name" placeholder="Ada Lovelace" required />
  <input type="email" name="email" placeholder="ada@domain.com" required />
  <textarea name="message" placeholder="Hello from my frontend!"></textarea>

  <!-- Honeypot spam trap -->
  <input type="text" name="_gotcha" style="display:none" tabindex="-1" autocomplete="off" />

  <!-- Custom email subject -->
  <input type="hidden" name="_subject" value="New Website Lead" />

  <button type="submit">Send Message</button>
</form>
Enter fullscreen mode Exit fullscreen mode

Building a SPA or JAMstack site with React, Next.js, or Astro? Same idea using FormData or JSON:

async function handleSubmit(e) {
  e.preventDefault();
  const data = new FormData(e.target);

  await fetch("[https://backforms.com/f/YOUR_ENDPOINT](https://backforms.com/f/YOUR_ENDPOINT)", {
    method: "POST",
    body: data,
  });
}
Enter fullscreen mode Exit fullscreen mode

You generate the endpoint in the dashboard in seconds, paste the URL into your frontend, and start receiving structured leads immediately.

The Engineering Details I Care Most About

Spam protection that doesn't annoy real users. Nobody likes clicking on traffic lights or bicycles just to send a message. Backforms runs silent protection layers out of the box: a dynamic honeypot field, optional Cloudflare Turnstile verification, strict CORS origin locking, and a shield blocking more than 75,000 disposable email domains.

Instant alerts where your clients actually live. If your clients check WhatsApp more than their inbox, a new lead pings them right there. If your engineering team lives in Slack or Discord, the alert lands in your channel. Google Sheets gets a new row with auto-mapped headers, and Notion can act as a lightweight CRM. Everything fires concurrently from one submission.

Signed webhooks you can trust. Need the raw JSON payload in your own backend, n8n, or Make? Outgoing webhooks are signed with HMAC-SHA256 and automatically retried with exponential backoff if your receiver hiccups.

File uploads without storage headaches. Resumes, screenshots, and PDFs submitted through multipart/form-data are validated by MIME type and stored encrypted on Cloudflare R2.

AI-ready with native MCP support. Since I spend most of my day inside Cursor and Claude, Backforms ships with a native Model Context Protocol (MCP) server (backforms-mcp). You can provision new form endpoints and inspect incoming submissions directly from your editor without switching tabs.

Works With the Frontend Stack You Already Use

Whether you're shipping Next.js, React, Astro, Vue, SvelteKit, Remix, Webflow, Tailwind CSS, plain HTML5, or cURL, if it can send an HTTP POST request, it works out of the box.

Transparent Pricing, With No Surprises

If you're looking for a developer-friendly Formspree or Web3Forms alternative with native WhatsApp and Sheets routing, here is how the tiers break down:

Plan Price Submissions / month Highlights
Developer Free 300 Unlimited endpoints, honeypot, disposable-email shield, Discord & Telegram alerts, WhatsApp BYOK, CSV export
Pro Freelancer $12/mo 10,000 Turnstile, 50 Managed WhatsApp, signed webhooks, Google Sheets, Slack & Notion sync, file attachments, branded auto-responders
Agency & Team $35/mo 50,000 5 team seats, 200 Managed WhatsApp, client workspaces, AI lead enrichment, larger attachments

The Developer tier is permanently free with no credit card required, so you can drop it into a side project or client MVP today and see how it fits your workflow.

Try It Out and Tell Me What You Think

If you've ever lost an afternoon wiring up a "simple" contact form—or had to explain to a client why they need an extra automation subscription just to get form alerts—I'd love for you to give Backforms a try.

👉 Create a free form endpoint | 📚 Read the documentation

I'm building this in the open, so honest feedback from fellow developers really shapes what gets built next. What integration or anti-spam feature do you wish your current form backend had? Drop a comment below and let me know.

Top comments (0)