This task can be performed using Router.so
Headless form handling and lead routing for developers
Best product for this task

Router.so
dev-tools
Router.so is an Open Source form handling and lead routing service for developers. It allows you to simply determine schema, generate an endpoint, create a form, and route leads. Sign up for free or one click deploy to Vercel and start using on your own.

What to expect from an ideal product
- Creates custom form endpoints in a few clicks without writing backend code
- Sends form submissions to different places like email, Slack, or CRM based on rules you set
- Validates form data automatically using your defined schema
- Works with any HTML form by just changing the action URL
- Lets you manage all your form routing rules from one simple dashboard