טופס יצירת קשר ל-ChatGPT / Claude

Formgong team ·

הדביקו את זה ב-ChatGPT / Claude. הפניות הולכות ל-Formgong. בלי מסד נתונים ובלי Resend.

250 פניות חינם בחודש

איך טפסים עובדים ב-ChatGPT / Claude

ChatGPT ו-Claude כותבים את הדף, אך הם אינם מארחים אותו ואינם מפעילים תשתית אחורית. ללא הוראות מדויקות, הם נוטים להמציא נקודת קצה, להעתיק תחביר משירותי טפסים אחרים, או להשאיר טופס שאינו מוביל לשום מקום.

תנו למודל את הפרומפט של Formgong המופיע למטה, והטופס יישלח לכתובת https://formgong.com/submit עם השדות הנכונים. לאחר מכן, אכסנו את הקובץ בכל מקום שמאפשר הצגת דפים סטטיים, כגון GitHub Pages, Netlify או Cloudflare Pages.

הגדרה ב-ChatGPT / Claude

  1. צרו טופס ב-Formgong והעתיקו את מפתח הגישה.
  2. הדביקו את הפרומפט שלמטה ב-ChatGPT או ב-Claude יחד עם הדף שלכם, או בקשו דף חדש. תוכלו גם לספק למודל את https://formgong.com/llms.txt כנקודת התייחסות.
  3. הורד את התוצאה. טופס HTML פשוט פועל ללא JavaScript; המבקר רואה את דף התודה של Formgong, או את הדף שלך אם הגדרת _redirect.
  4. העלו את הקבצים לשרת שלכם ושלחו בקשה לבדיקה מהדף החי, ולא מתצוגת המקדים בצ'אט.

מדריך צעד אחר צעד בתיעוד

ChatGPT / Claude
When you build this website, include a working contact form as a plain HTML <form> in the same file, so it works on any static host without JavaScript. Submissions go to Formgong, a hosted form backend.

Formgong spec (follow exactly):
- Plain HTML: <form action="https://formgong.com/submit" method="POST">. With JavaScript, POST the same fields to https://formgong.com/submit using fetch.
- Hidden field access_key with value fk_your_access_key. The key is public and belongs in frontend code. Do not move it to a server or a secret.
- Hidden field _lang with the page language code, e.g. "en" (on multilingual sites use document.documentElement.lang). Formgong uses it for error messages, the thank-you page, and the autoreply.
- Fields: name, email, message (required); phone is optional. Keep these field names, and use <input type="email"> for email so browsers check the address.
- Honeypot: <input type="text" name="botcheck" tabindex="-1" autocomplete="off"> inside a wrapper with aria-hidden="true", visually hidden with CSS (position:absolute;inset-inline-start:0;top:0;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)). Never fill it.
- Success, plain form POST: optionally add a hidden _redirect field with the absolute https URL of the site's thank-you page. Without it, Formgong shows its own thank-you page.
- Success, fetch: send Accept: application/json (and Content-Type: application/json for a JSON body; for FormData let the browser set it). If the response has success === true, show an inline thank-you message and reset the form; otherwise show the response's message.
- Turnstile: only if I give you a Cloudflare Turnstile site key, add <script src="https://challenges.cloudflare.com/turnstile/v0/api.js" async defer></script> and <div class="cf-turnstile" data-sitekey="SITE_KEY"></div> inside the form. Otherwise leave it out.
- Optional: add <script src="https://formgong.com/fg.js" async></script> once per page. It fills _lang from <html lang>, sets the Turnstile language, and counts form views without cookies.
- Do not create a backend, API route, server function, database table, or email-sending code (Supabase, Resend, SendGrid, nodemailer), and do not add secrets. No file uploads.

Formgong או בטופס שהמודל כותב?

אם כבר מפעילים שרת עם מערכת טיפול בטפסים משלו, יש לבקש מהמודל להשתמש בו במקום.

בדף סטטי אין מקום אחר אליו ניתן לשלוח את הטופס: Formgong מקבל אותו, מסנן דואר זבל ומעביר אותו למייל ול-Telegram.

שאלות ותשובות

מדוע הטופס לא נשלח מתצוגת המקדים בצ'אט?

חלוניות תצוגה מקדימה, כגון תוצרי Claude או משטח העבודה של ChatGPT, פועלות בסביבת בדיקה שעשויה לחסום בקשות לאתרים אחרים. אותו קוד פועל ברגע שהדף מאוחסן.

באיזה שירות אחסון עליי להשתמש?

כל מארח שמשרת קבצים סטטיים: GitHub Pages, Netlify, Cloudflare Pages או השרת שלכם. Formgong אינו תלוי במארח.

המודל שינה את שמות השדות. האם זה משנה?

רק ל-access_key, botcheck ולשדות המתחילים בקו תחתון יש שמות קבועים. לשדות שאתם יוצרים בעצמכם יכול להיות כל שם שתרצו; הם יופיעו כפי שנכתבו.

התחילו חינם