Normalized for Mintlify from
knowledge-base/aiconnected-apps-and-modules/modules/funnelChat/legacy-funnelChat-overview.mdx.funnelChat - AI Website Chat Assistant
A comprehensive AI-powered chat system for WordPress websites that captures leads and provides intelligent customer support. Built for service-based businesses, particularly in debt collection and accounts receivable.🌟 Features
- Emotionally Intelligent AI: Detects user tone and responds empathetically
- Adaptive Lead Capture: Naturally collects user information during conversation
- Live Web Research: AI searches for current information to provide accurate answers
- Multi-language Support: Supports English, Spanish, French, German, and Portuguese
- Flexible Interface: Chat widget, inline bar, and fullscreen modes
- Usage-based Billing: Integrated with Stripe for metered billing
- Privacy Compliant: Consent management and data protection built-in
- Real-time Analytics: Track conversations, emotional tones, and conversion rates
📁 File Structure
🚀 Installation & Setup
1. WordPress Plugin Installation
- Upload the
funnelchatfolder to/wp-content/plugins/ - Activate the plugin through the WordPress admin
- Navigate to funnelChat in the admin menu
2. Supabase Database Setup
- Create a new Supabase project
- Run the SQL schema from
supabase_schema.sql - Note your Supabase URL and anon key
3. n8n Workflow Setup
- Import the workflow from
n8n/workflow.json - Configure environment variables:
- Activate the workflow and note the webhook URL
4. Plugin Configuration
In WordPress admin, configure:- Assistant Name: Your AI’s name (e.g., “Emma”)
- Target Industry: Your business industry
- Business Website: Your main website URL
- Language: Primary chat language
- Client ID: Your unique identifier
- API Endpoint: Your n8n webhook URL
- Terms & Privacy URLs: Legal compliance links
5. Stripe Integration
-
Create Stripe products for your pricing tiers:
- Free: $0/month
- Basic: $99.97/month (5,000 messages)
- Premium: $149.97/month (12,500 messages)
- Set up metered billing for overages at $0.015/message
-
Configure webhook endpoint:
yoursite.com/wp-json/funnelchat/v1/webhook/stripe
💬 Chat Interface Usage
Chat Widget (Floating Bubble)
- Appears on all pages as a floating button
- Expands into a chat panel when clicked
- Suitable for desktop and mobile
Chat Bar (Inline)
- Fixed at bottom of page
- Always visible input field
- Switches to fullscreen on mobile
Fullscreen Chat
- Dedicated chat experience
- Full conversation history
- Optimal for extended conversations
🔧 Customization
Styling
Modifyassets/css/funnelchat.css or add custom CSS:
Language Support
Add new language files in/lang/ directory:
AI Prompts
Customize AI behavior in the n8n workflow:- System Prompt: Define AI personality and role
- Emotional Responses: Adjust tone adaptation
- Field Extraction: Customize data collection
📊 Analytics & Reporting
Built-in Analytics
Access via WordPress admin:- Total conversations
- Daily/weekly/monthly trends
- Emotional tone analysis
- Industry breakdowns
- Conversion rates
API Endpoints
🔒 Privacy & Compliance
Data Storage
- Conversations stored locally in WordPress
- Only usage statistics sent to central system
- User consent required before chat initiation
GDPR Compliance
- Consent modal with clear terms
- Data retention controls
- User data export/deletion capabilities
Security
- API key authentication
- Session-based access control
- Rate limiting and abuse prevention
🛠️ Troubleshooting
Common Issues
Chat not appearing:- Check if client ID and API endpoint are configured
- Verify n8n workflow is active
- Check browser console for JavaScript errors
- Test connection in settings page
- Verify webhook URL is accessible
- Check n8n logs for errors
- Monitor usage in admin dashboard
- Upgrade plan if approaching limits
- Check for unusual conversation patterns
Debug Mode
Enable debug logging:/wp-content/uploads/funnelchat/debug.log
🔄 Workflow Process
- User initiates chat → Consent check
- Message sent → Client authentication via Supabase
- AI processing → Emotional tone detection + field extraction
- Web research → Live search for current information
- Response generation → Gemini AI with context
- Usage tracking → Update counts and billing
- Data logging → Store conversation in WordPress
- Response delivery → Send to user interface
💰 Billing Model
Plans
- Free: 0.03/message
- Basic: 0.015 overage
- Premium: 0.015 overage
- Enterprise: Custom pricing and limits
Cost Calculation
🤝 Support
Documentation
- Full API documentation: docs.aiconnected.com
- Video tutorials: youtube.com/aiconnected
Contact
- Email: support@aiconnected.com
- Discord: discord.gg/aiconnected
- Phone: 1-800-AI-CONNECT
📈 Roadmap
Upcoming Features
- [ ] Voice chat integration
- [ ] Video call scheduling
- [ ] CRM integrations (HubSpot, Salesforce)
- [ ] Advanced analytics dashboard
- [ ] Mobile app for chat management
- [ ] AI model fine-tuning
- [ ] Multi-tenant SaaS platform
Version History
- v1.0.0: Initial release with core chat functionality
- v1.1.0: Added emotional intelligence and field extraction
- v1.2.0: Multi-language support and improved UI
- v1.3.0: Usage-based billing and analytics
📄 License
funnelChat is proprietary software by aiConnected. Licensed for use with valid subscription only.Built with ❤️ by aiConnected Transform your website visitors into qualified leads with intelligent conversation.