Setup Instructions:
- Create a workflow in n8n with the Enhanced Chat Trigger node
- Configure the Chat Trigger with your desired settings
- Activate the workflow to get the webhook URL
- Replace
YOUR_WEBHOOK_URL below with your actual webhook URL
- Open this HTML file in your browser to test the chat
Webhook URL format: https://your-n8n-instance.com/webhook/[workflow-id]
The chat widget will appear in the bottom right corner. Click the chat button to start a conversation!
Enhanced Features:
- ✅ Session management for conversation continuity
- ✅ File upload support (images, PDFs, text files)
- ✅ Callback URL generation for enhanced interactions
- ✅ Multiple response formats (text, JSON, HTML)
- ✅ Real-time message processing