Prerequisites
To get the most out of this guide, you’ll need to: Make sure you have the latest version of the Vercel CLI installed.1. Create a Next.js function
Create a route file underapp/api/ingest/route.ts
if you’re using the App Router.
Then update the Endpoint URL with your Form URL.
route.ts
2. Ingest submissions locally
http://localhost:3000/api/ingest
.
3. Ingest submissions in production
Deploy function to vercel4. Try it yourself
Formizee Vercel Functions Example
See the full source code