Skip to content

AI app builders

Make your AI-built contact form send email

Lovable, Bolt.new, and similar tools build a great-looking form fast — but it usually has nowhere to send. One prompt wires it to PostTo instead.

Don't see your builder?

The same prompt pattern works for any AI builder that generates a plain fetch call or HTML form. Replace YOUR_TOKEN with the endpoint URL from your dashboard and paste this into its chat.

Generic prompt — works with most AI app builders
Update the contact form's submit handler to send its data to PostTo instead
of just showing a fake success state. On submit, POST the form fields as
JSON to https://postto.dev/api/v1/send/YOUR_TOKEN with a "Content-Type: application/json" and
"Accept: application/json" header. Show the existing success state if the
response is ok, and the existing error state otherwise. Add a hidden "_hp"
honeypot input that real visitors never see. Keep all other current fields,
validation, and styling unchanged.
Start for free