Contact Form Widget
Embed a contact form on your website to capture inquiries as CRM leads
Contact Form Widget
The contact form widget adds a simple inquiry form to your website. Submissions are automatically created as leads in the CRM and routed to the appropriate team member.
Setup
Step 1: Configure Form Fields
- Navigate to CRM > Widgets > Contact Form Widget
- Define the fields for your form:
| Field | Required | Configurable |
|---|---|---|
| Name | Yes | Always shown |
| Yes | Always shown | |
| Phone | Optional | Show/hide |
| Company | Optional | Show/hide |
| Subject | Optional | Show/hide |
| Message | Yes | Always shown |
- Add custom fields if needed (dropdown, text, checkbox)
Step 2: Configure Routing
Set up how inquiries are assigned:
- Default owner -- All submissions go to one team member
- Round-robin -- Distribute evenly across team members
- By subject -- Route based on the selected subject category
Step 3: Customize Appearance
| Setting | Description |
|---|---|
| Title | Form heading (e.g., "Get in touch") |
| Description | Introductory text above the form |
| Submit Button Text | Label for the submit button |
| Primary Color | Brand color for buttons and accents |
| Success Message | Text shown after successful submission |
Step 4: Get Embed Code
- Click Generate Embed Code
- Copy the HTML snippet
- Paste it into your website
Embed Code Example
<div id="alpha-contact-widget"
data-tenant-id="your-tenant-id"
data-widget-id="your-widget-id">
</div>
<script src="https://your-domain.com/widgets/contact.js" async></script>What Happens on Submission
- Visitor fills in the form and clicks submit
- A new lead is created in the CRM with:
- Contact name, email, and phone
- Message content as a note
- Source tagged as "Contact Form"
- The lead is assigned based on routing rules
- The assigned team member receives a notification
- The visitor sees the success message
Spam Prevention
The contact form widget includes built-in spam protection:
- Honeypot fields (hidden fields that bots fill in)
- Rate limiting per IP address
- Optional CAPTCHA integration
If you experience spam submissions, enable CAPTCHA in the widget settings for additional protection.