Chili Piper Concierge Fire
npm install @chilipiper/conciergejs-fireChili Piper Concierge Fire - Advanced form integration and routing library for seamless meeting scheduling.
``bash`
npm install @chilipiper/conciergejs-fire
or
`bash`
yarn add @chilipiper/conciergejs-fire
@chilipiper/conciergejs-fire provides powerful form integration capabilities for scheduling meetings through Chili Piper. It automatically detects and integrates with popular marketing automation platforms and HTML forms, streamlining the lead-to-meeting conversion process.
- Multi-Platform Support: Automatic integration with HubSpot, Marketo, Pardot, Typeform, Instapage, Gravity Forms, and standard HTML forms
- Deploy Function: Specialized router deployment for specific form type integrations
- Smart Routing: Route leads to the right sales representative based on custom rules
- Calendar Integration: Seamless calendar booking experience with popup modal
- Mobile Support: Optimized for mobile devices with responsive design
- TypeScript Support: Full TypeScript definitions included
`javascript
import '@chilipiper/conciergejs-fire';
// The library will automatically detect and integrate with supported forms
`
Deploy a router with specific form type integrations:
`javascript`
ChiliPiper.deploy(domain, router, options);
The deploy function automatically handles different form platforms based on the formType option:
Supported Form Types:
- Hubspot - HubSpot iframe formsHubspotPopup
- - HubSpot popup formsMarketo
- - Marketo formsPardotFormHandler
- - Pardot form handler (thank you page)PardotIframeThankYouCode
- - Pardot iframe (thank you page)PardotIframeParentPage
- - Pardot iframe (parent page)PardotFormHandlerThankYouCode
- - Pardot form handler with iframePardotLookAndFeel
- - Pardot look and feelGravityForms
- - Gravity Forms (thank you page)GravityFormsOnFormPage
- - Gravity Forms (form page)Typeform
- - Typeform integrationInstapage
- - Instapage integration
Example:
`javascript`
ChiliPiper.deploy('your-domain', 'your-router', {
formType: 'Marketo',
lead: { email: 'user@example.com' },
onSuccess: (data) => console.log('Success:', data)
});
Submit form data and route to calendar booking:
`javascript`
ChiliPiper.submit(domain, router, options);
Parameters:
- domain (string): Your Chili Piper domainrouter
- (string): Router name configured in Chili Piperoptions
- (object): Configuration options
`typescript
{
domain: string; // Required: Your Chili Piper domain
router: string; // Required: Router name
formId?: string; // Form identifier
lead?: object; // Pre-fill lead data
domElement?: HTMLElement; // Target element for calendar popup
debug?: boolean; // Enable debug logging
// Callbacks
onSuccess?: (data) => void; // Called on successful booking
onError?: (data) => void; // Called on error
onClose?: (data) => void; // Called when modal closes
onRouting?: () => void; // Called during routing
onDisqualified?: () => void; // Called when lead is disqualified
// Advanced options
locale?: string; // Localization (default: 'en_US')
closeOnOutside?: boolean; // Close modal on outside click
// Form-specific
formType?: string; // Form platform type (Hubspot, Marketo, Pardot, etc.)
enrichmentParentSelector?: string; // Parent selector for enrichment
}
`
- HubSpot Forms: Automatic detection via hbspt global and hsForm class (iframe and popup variants)MktoForms2
- Marketo Forms: Automatic detection via global and mktoForm class
- Pardot Forms: Multiple integration methods including form handler, iframe, and look & feel
- Gravity Forms: WordPress forms integration (form page and thank you page)
- Typeform: Embedded Typeform integration
- Instapage: Landing page integration
- HTML Forms: Fallback for standard HTML forms
For specific forms, you should reach our support or build your own integration using ChiliPiper.submit
Full TypeScript support with type definitions included:
`typescript
import type { Options } from '@chilipiper/conciergejs-fire';
const options: Options = {
domain: 'your-domain',
router: 'your-router',
// ... other options
};
`
`bashInstall dependencies
yarn install
MIT
For questions or any issues, please visit our Support page.