Blog

Waitlist Page in Next.js in 10 Minutes (With Autoresponder)

Build a minimal Next.js waitlist form and configure a FormBridge autoresponder so every signup gets an instant "you're on the list" confirmation email.

← Back to the blog
AI Powered

Explore this article with AI

Get an instant summary, key takeaways, action items, and answers to your questions about this article.

Choose your AI assistant
ChatGPT Perplexity
Quick answer

Build a one-field Next.js form that posts an email address to a FormBridge endpoint, then turn on the Autoresponder under that form's Email Settings so every successful submission automatically triggers an instant confirmation email to the submitter.

A waitlist page needs exactly two things: an email field, and somewhere for the submission to go. Here's a minimal client component:

'use client';

import { useState } from 'react';

const ENDPOINT = 'https://app.formbridge.ai/api/forms/fb_8h2k9p';

export default function WaitlistForm() {
  const [joined, setJoined] = useState(false);
  const [email, setEmail] = useState('');

  async function handleSubmit(e) {
    e.preventDefault();
    const res = await fetch(ENDPOINT, {
      method: 'POST',
      headers: { 'Content-Type': 'application/json', Accept: 'application/json' },
      body: JSON.stringify({ email }),
    });
    if (res.ok) setJoined(true);
  }

  if (joined) {
    return <p>You're on the list — check your inbox for a confirmation.</p>;
  }

  return (
    <form onSubmit={handleSubmit} className="flex gap-2">
      <input
        type="email"
        required
        value={email}
        onChange={(e) => setEmail(e.target.value)}
        placeholder="you@company.com"
        className="flex-1 rounded-lg border px-3 py-2 text-sm"
      />
      <button type="submit" className="rounded-lg bg-black px-4 py-2 text-sm text-white">
        Join waitlist
      </button>
    </form>
  );
}

Because we're sending JSON directly, the object key doubles as the field name FormBridge sees — email — which matches the naming convention that also makes it eligible as the reply-to address for the autoresponder we set up next.

Setting up the autoresponder

This is where the "instant confirmation" happens — no code, just dashboard configuration. Open the form in FormBridge, go to Email Settings → Autoresponder, and turn it on:

Example body:

Thanks for joining the waitlist!

We'll email {{Email}} the moment we open access. In the meantime,
follow along for updates.

FormBridge sends the autoresponder automatically after every submission that clears spam filtering — no extra step, no queue to manage from your app.

Optional: capture more than an email

If you want a name or a "how did you hear about us" field later, add inputs with new names — full-name, referral-source — and FormBridge picks them up automatically, no schema change and no redeploy. Update the autoresponder body to reference the new merge tags whenever you're ready.

Frequently asked

Does FormBridge send the confirmation email, or do I need my own email service?

FormBridge sends it. Turn on the Autoresponder for the form, write a subject and body using merge tags like {{Email}}, and FormBridge sends it automatically after every submission that passes spam checks.

Which field does the autoresponder reply to?

The field submitted with the name email (or an HTML input of type email) is used as the recipient and reply-to address for the autoresponder.

Key facts

  • FormBridge's autoresponder is configured per form under Email Settings → Autoresponder, with no code required.
  • Autoresponder bodies support field merge tags like {{Email}} plus system tags {{FormName}}, {{DashboardUrl}}, and {{AllFields}}.
  • The autoresponder fires automatically after a submission clears FormBridge's automatic spam check.

Terms in this post

Autoresponder
A FormBridge feature that automatically emails the person who submitted a form, using their submitted email field as the recipient, without any code on the site.

Get the next one in your inbox.

One email when we publish something worth reading. No spam — appropriately enough, we'd know.