← Alle Guides
Lovable

Kontaktformular für Lovable, Bolt und v0

Gib deinem KI-Builder diesen Prompt. Er verdrahtet das Formular mit fetch() an Formlane – ohne Supabase-Edge-Function oder E-Mail-Setup.

  1. Füge den Prompt in Lovable (oder Bolt, v0, Cursor) ein.
  2. Ersetze den Access Key, falls der Agent danach fragt.
  3. Sende eine Testnachricht aus der Vorschau.
Prompt
Add a contact form (name, email, message) to the contact page. On submit, POST JSON to https://smallwerk.com/formlane/api/submit with headers Content-Type: application/json and Accept: application/json, body: { access_key: "YOUR_ACCESS_KEY", name, email, message }. Include a hidden checkbox named "botcheck" (honeypot, never checked). Show "Thanks!" when the response has success: true, otherwise show the response message. Docs: https://smallwerk.com/formlane/llms.txt
fetch()
const res = await fetch("https://smallwerk.com/formlane/api/submit", {
  method: "POST",
  headers: { "Content-Type": "application/json", Accept: "application/json" },
  body: JSON.stringify({ access_key: "YOUR_ACCESS_KEY", name, email, message }),
});
const json = await res.json(); // { success: true, id } or { success: false, message }

Access Key holen

Kostenlos für 250 Einsendungen pro Monat. Daten in der EU (Frankfurt) gespeichert.

Access Key holen