Next.js form backend

Next.js Form Backend

Add working contact forms to Next.js static export without API routes. Point your form action at Formgrid and deploy HTML anywhere.

Built for output: "export". No serverless functions required. Free to start.

Free plan to start. No credit card required.

Formgrid leads dashboard showing contact form submissions with New, Contacted, and Converted stages

Why Next.js static export needs an external form backend

Static export produces HTML files. At runtime there are no API routes to process contact form POSTs.

How Formgrid works with Next.js static export

Keep using Next.js for pages and components. Formgrid receives the POST after export so you do not need API routes for lead capture.

Works with static export

Use output: "export" and still collect submissions with a Formgrid action URL.

No API routes required

Skip app/api or pages/api handlers when Formgrid is your form endpoint.

Deploy anywhere

The same endpoint works on Vercel static output, Netlify, Cloudflare Pages, or object storage.

Lead ops included

Email notifications, pipeline statuses, reminders, Sheets sync, and UTM tracking.

Connect a Next.js static form in four steps

Create a Formgrid form, add the action to your Next.js form component, export statically, and manage leads.

  1. Create a form

    Create a Formgrid form and copy the endpoint URL.

  2. Point the action

    Set method="POST" and action in your Next.js form JSX.

  3. Export and deploy

    Build with static export and publish the HTML output.

  4. Manage leads

    Track submissions with email alerts and the lead pipeline.

Features for static site forms

Formgrid goes beyond inbox forwarding so marketing sites and developer portfolios can manage real enquiries.

Email notifications
Google Sheets sync
Lead pipeline
Follow-up reminders
Spam protection
File uploads
UTM tracking

Example integration

Point a standard HTML form at your Formgrid endpoint. Field names map directly to the submission dashboard.

components/ContactForm.tsx
<form action="https://formgrid.dev/api/f/your-form-id" method="POST">
  <label>
    Name
    <input type="text" name="name" required />
  </label>
  <label>
    Email
    <input type="email" name="email" required />
  </label>
  <label>
    Message
    <textarea name="message" required></textarea>
  </label>
  <button type="submit">Send</button>
</form>

Designed for Next.js static export. Replace your-form-id with the form ID from your Formgrid dashboard.

What Is Included

Everything included in your form backend

Point your HTML form at Formgrid and get the full stack behind every submission. Each row below shows what lands in your dashboard, inbox, and shared tools.

Lead pipeline

Every submission becomes a tracked lead

New, Contacted, and Converted stages in one dashboard. See active enquiries and conversion rate without counting manually or adding a separate CRM.

Formgrid leads dashboard showing contact form submissions with New Contacted and Converted stages
Formgrid lead pipeline showing New Contacted Converted stages

Google Sheets sync

Every lead lands in a shared sheet, live

Each form submission appears as a new row in Google Sheets within seconds. Your whole team sees new leads in real time. No Zapier needed.

Form submissions syncing to Google Sheets automatically

Email notifications

Never miss a submission

Every form submission triggers a clean, formatted email with the full enquiry details. No raw data dumps in the inbox.

Instant email notification for a new form submission

Follow up reminders

Warm leads never go cold

Set a follow up date on any lead and get an email reminder with the lead details and your notes on that date.

Formgrid follow up reminder email with lead details

UTM Source Tracking

Know exactly which channel sent each submission. Google, Instagram, referrals, and paid ads are captured automatically on every form post.

Spam Protection

Honeypot fields and rate limiting are built in automatically. Your form stays protected from bots without extra configuration.

Frequently asked questions

Yes. Static export has no runtime API routes. Point your form action at Formgrid so submissions still land in your dashboard.
No. For lead capture, Formgrid replaces API routes and serverless form handlers.
Yes. Keep Next.js for pages and routing. Use Formgrid only as the form backend endpoint.
Yes. Deploy your static export wherever you prefer. Formgrid is host-agnostic.
Yes. Enable file uploads on the Formgrid form and include a file input in your component.

Add forms to Next.js static export

Create a free Formgrid endpoint and skip API routes for contact forms.

Start Free

Create your free form backend

Point your Next.js form at Formgrid and manage every enquiry as a tracked lead.

Create your free form backend

Your form builder, lead pipeline, and form backend in one place.

Whether you are sharing a form link on WhatsApp, pointing your HTML form to a Formgrid endpoint, or tracking leads through a built-in pipeline, get it done in 2 minutes.

Start Free. No Credit Card Required