Skip to main content

Contact & Booking Plugin

Form submissions, booking metadata, email forwarding, and admin management.

Overview

The Contact plugin provides form submission handling, email notification forwarding, and an admin interface for managing inquiries. It supports both simple contact forms and booking-style forms with date/time/service metadata.

Key Features

  • Form Submission API — receives form data as JSON, stores in database, triggers email notification.
  • Booking Metadata — parses date, time, service type, and party size from form fields.
  • Email Forwarding — sends submitted form data to the site owner's email via ACS.
  • Admin Inbox — view, reply, archive, and delete submissions.
  • Spam Protection — honeypot field + rate limiting.

How to Enable

PLUGIN_CONTACT=true
CONTACT_EMAIL="owner@example.com"  # Where to forward submissions
ACS_CONNECTION_STRING="..."         # For email delivery

Admin Interface

  • Inbox — all form submissions with status (new, read, replied, archived).
  • Submission Detail — full form data, booking metadata, reply thread.
  • Settings — forwarding email, notification preferences.

API Endpoints

| Method | Path | Auth | Description | |--------|------|------|-------------| | POST | /api/public/sites/:siteId/contact | Public | Submit a form | | GET | /api/admin/contact/submissions | Admin | List submissions | | GET | /api/admin/contact/submissions/:id | Admin | Get submission detail | | PUT | /api/admin/contact/submissions/:id | Admin | Update status | | DELETE | /api/admin/contact/submissions/:id | Admin | Delete submission |

Block Types

The Contact Form block type (contact_form) is registered by this plugin. See the CTA & Contact Forms feature page for block configuration details.

Use Cases

  • Service businesses — contact form with service type dropdown and preferred date.
  • Restaurants — reservation request form with party size, date, and time.
  • Freelancers — inquiry form with project budget and timeline fields.

Capabilities

Admin Inbox

View, reply, archive, and manage all form submissions

Booking Metadata

Parse date, time, service, and party size from form fields

Email Forwarding

Automatic notification to site owner on every submission

Spam Protection

Honeypot fields and rate limiting to prevent abuse

Explore All Plugins

See the complete plugin ecosystem and find what you need.