Sitefire Logo
Sitefire
Sign In
Documentation chevron_right Contact Forms with Formspree

Contact Forms with Formspree

Sign up for a free Formspree account, grab your form endpoint URL, and ask Sitefire AI to wire up a working contact or order form on your website in seconds.

Watch the 30-Second Walkthrough

See the complete workflow from signing up on Formspree and copying your form endpoint URL to asking Sitefire AI to connect your contact form and publishing live:

mark_email_read
No Backend Server Needed: Formspree receives your form submissions, filters spam automatically, stores submissions in your dashboard, and emails them straight to your inbox. Formspree's free tier includes 50 submissions/month.

Step-by-Step: Connecting Formspree to Sitefire

1

Sign Up for a Free Formspree Account

Go to formspree.io/register and create a free account using the email address where you want to receive form submissions.

2

Create a New Form & Copy the Endpoint URL

In your Formspree dashboard, click + New Form, give it a name (e.g., Contact Form), and copy the generated Form Endpoint URL (it looks like https://formspree.io/f/xkgwpdqr).

3

Ask Sitefire AI to Connect Your Form

Open the floating AI Chat widget on your Sitefire website preview, paste your Formspree endpoint URL, and tell Sitefire which fields you want (Name, Email, Phone, Message, etc.).

4

Test & Publish Live

Send a quick test submission right inside your Sitefire preview to verify delivery in your Formspree dashboard and inbox, then click Publish to push your updated site live.

How It Works Under the Hood

Sitefire generates clean, accessible HTML pointing your form's action attribute to your Formspree endpoint URL (and can optionally use fetch with Accept: application/json for inline thank-you confirmations without leaving your site):

code HTML Form Snippet
<form action="https://formspree.io/f/your-form-id" method="POST">
  <label for="contact-name">Your Name</label>
  <input id="contact-name" type="text" name="name" required />

  <label for="contact-email">Email Address</label>
  <input id="contact-email" type="email" name="email" required />

  <label for="contact-message">Message</label>
  <textarea id="contact-message" name="message" required></textarea>

  <button type="submit">Send Message</button>
</form>

AI Prompt Examples for Formspree

Open the Sitefire AI Chat widget on your site and try any of these prompts (replacing the URL with yours):

mail Add a New Contact Form
Add a contact form with Name, Email, and Message fields and post it to https://formspree.io/f/your-form-id with an inline thank-you message on submit.
link Connect an Existing Form
Update the existing contact form on this page to POST to https://formspree.io/f/your-form-id and make sure every input has a descriptive name attribute.
request_quote Custom Quote / Booking Form
Create a "Request a Quote" section with Name, Email, Phone, Service dropdown, and Project Details fields. Submit it via AJAX to https://formspree.io/f/your-form-id and show a confirmation banner without reloading the page.
lightbulb
Best Practices: Make sure every field has a name attribute (such as name="email" or name="message") so Formspree includes it in your notification email. You can also ask Sitefire AI to add a hidden _subject field for custom email subject lines.