Embedded Forms
Capture leads right on your website.
Add a Form to Your Website
Lead fills out form. AI contacts them. Done.
Get the Embed Code
- Go to Lead Sources
- Create a source with type Form
- Copy the Embed Code
Add to Your Website
Paste anywhere in your HTML:
<script src="https://app.rocketagents.ai/form.js" data-source="your-source-id"></script>The form appears automatically.
Works Everywhere
| Platform | How to Add |
|---|---|
| WordPress | Custom HTML block |
| Squarespace | Code block |
| Wix | HTML iframe |
| Webflow | Embed element |
| Custom site | Paste in HTML |
Customize It
Edit in Lead Sources → your source → Form Settings:
- Fields — Name, phone, email, message
- Colors — Match your brand
- Success message — "Thanks! We'll be in touch."
- Button text — "Get Started", "Contact Me", etc.
Advanced styling via CSS.
What Happens After Submit
┌──────────────┐
│ Visitor │
│ Fills Form │
└──────┬───────┘
│ Instantly
▼
┌──────────────┐
│ Lead │ ← In your dashboard
│ Created │
└──────┬───────┘
│ If agent assigned
▼
┌──────────────┐
│ AI Texts │ ← Within seconds
│ The Lead │
└──────────────┘FAQs
"Does it work with WordPress?" Yes. Custom HTML block. Takes 30 seconds.
"Can I style the form to match my site?" Yes. CSS customization available.
"Where do leads go?" Directly into Rocket Agents, assigned to the source's AI agent.
"Will it slow down my site?" No. The script loads asynchronously.
"Can I have multiple forms on one page?" Yes. Use different source IDs.
"What fields are required?" Phone OR email. At least one contact method.
"Can I add custom fields?" Coming soon. For now, use the message field for custom info.
Related
- Create a source — Set up the source first
- Assign an agent — Automate outreach