Use Cases
Lead Capture
Build contact forms, demo request popups, and newsletter signups
Lead Capture
Turn website visitors into leads with contact forms, demo request popups, and newsletter signups. Route submissions directly into a Leads workflow to track prospects through your sales pipeline.
Contact Form
Replace generic contact pages with a styled inline form that matches your brand.
Setup
- Go to Widget Builder → Create Widget
- Choose the Contact template
- Set widget type to Inline
- Configure fields: name (required), email (required), company (optional), message (required)
- Customize colors and fonts to match your site
- Publish and embed
Embed on Your Contact Page
<div id="contact-form">
<script
src="https://userhero.co/widget.js"
data-widget-id="YOUR_WIDGET_ID"
data-type="inline"
data-container="contact-form"
defer
></script>
</div>Route to Leads Workflow
Set up an intake rule:
| Condition | Value |
|---|---|
| Template | contact |
| Default Assignee | Sales Lead |
Every contact form submission becomes a Leads workflow item assigned to your sales team.
Demo Request Popup
Show a popup offering a demo when visitors spend time on your pricing or feature pages.
Setup
- Create a new widget with the Contact template
- Set widget type to Popup
- Customize the heading: "Want a personalized demo?"
- Configure fields: name, email, company size (dropdown)
- Set trigger rules:
- Page targeting: Pricing page, feature pages
- Scroll trigger: After scrolling 60% of the page
- Frequency: Once per user per 7 days
- Publish and embed
Tips
- Use scroll triggers on long feature pages — the visitor has shown interest
- Set a frequency cap so returning visitors aren't repeatedly interrupted
- Route to Leads workflow with intake rule: Template = contact, Text contains "demo"
Newsletter Signup
Capture email subscribers with an exit-intent popup offering valuable content.
Setup
- Create a new widget with the Contact template
- Set widget type to Popup
- Configure fields: email only (keep it minimal)
- Customize the heading: "Get weekly product tips"
- Set trigger rules:
- Exit intent: Trigger when cursor moves toward browser close/back
- Page targeting: Blog posts, resources pages
- Frequency: Once per user per 30 days
- Publish and embed
Tips
- Minimal fields — email only maximizes conversion
- Offer a value exchange in the heading (tips, guide, discount)
- Target blog readers since they're already engaged with your content
- Use text match intake rules to distinguish newsletter signups from other contact submissions
Integrating with Your CRM
Lead capture submissions arrive in your feedback inbox and can be routed to the Leads workflow. From there:
- Items move through the Leads pipeline: New → Contacted → Qualified → Proposal → Won/Lost
- Use sync adapters to push leads to your project management tools
- Set up Slack notifications to alert your sales team on new leads
- Use webhooks to send lead data to your CRM