send.webforms.toRead the docs →

Databases and spreadsheets

In development

Send form submissions to Airtable

Airtable's own forms are fine until you want your own markup, your own styling and spam filtering that actually works. Keep the form you built and write the submissions into your base as records. The native adapter with a field mapper is in development; the webhook route below works today.

The native Airtable destination is still being built. The steps below use a webhook, which works today and needs no change to your form once the adapter ships.

Get an endpointRead the docs

What lands in Airtable

Setup

  1. Create a personal access token

    In Airtable's developer hub, create a token with data.records:write scope on the base you want to write to.

  2. Add a webhook destination today

    Point a WebForms webhook at a function that calls Airtable's records API. Sample below.

  3. Switch to the native adapter when it lands

    The Airtable destination will connect with OAuth and let you map fields visually. No changes to your form.

Airtable example

Swap in your own endpoint and these run as-is.

Creates one record per submission.

airtable-webhook.ts
export async function POST(req: Request) {
  const body = await req.json();

  await fetch(
    `https://api.airtable.com/v0/${process.env.AIRTABLE_BASE}/Submissions`,
    {
      method: "POST",
      headers: {
        Authorization: `Bearer ${process.env.AIRTABLE_TOKEN}`,
        "Content-Type": "application/json",
      },
      body: JSON.stringify({
        fields: {
          Name: body.data.name,
          Email: body.data.email,
          Message: body.data.message,
        },
      }),
    },
  );

  return new Response("ok");
}

Worth knowing

Airtable form FAQ

Yes. Keep your own HTML, styling and validation, and write records into your base through a webhook destination today or the native adapter when it ships.

Send your next form submission to Airtable

Free for 300 submissions a month. Endpoint in under a minute, no card required.

Start free