n8n-nodes-livechat-cloudbot
v1.4.1
Published
n8n community node for LiveChat CloudBot integration - No credentials required, webhook URL auto-generated
Maintainers
Readme
n8n-nodes-livechat-cloudbot

This package provides n8n community nodes for LiveChat CloudBot integration, allowing you to:
- 🤖 Send messages to CloudBot AI
- 💬 Handle chat webhooks and triggers
- 🎨 Generate embeddable chat widgets
- 📊 Manage chat sessions and history
- 👥 Support human agent handoff
Installation
Community Nodes (Recommended)
- Go to Settings > Community Nodes in your n8n instance
- Click Install a Community Node
- Enter:
n8n-nodes-livechat-cloudbot - Click Install
Manual Installation
# In your n8n installation directory
npm install n8n-nodes-livechat-cloudbotSetup
1. Configure Credentials
- Go to Credentials in n8n
- Click Add Credential
- Select LiveChat CloudBot API
- Fill in your CloudBot details:
- API Key: Your CloudBot API key
- Endpoint: CloudBot API URL (e.g.,
https://api.cloudbot.com) - Bot ID: Your bot identifier
- Environment: production/staging/development
2. Create Workflow
Add these nodes to your workflow:
LiveChat Trigger Node
- Handles incoming chat messages
- Supports multiple event types
- Configurable response modes
LiveChat CloudBot Node
- Send messages to AI bot
- Generate widget code
- Manage chat sessions
Usage Examples
Basic Chat Bot
LiveChat Trigger → Set Variables → LiveChat CloudBot → Response- LiveChat Trigger: Listen for
sendMessageevents - Set: Extract user message and session ID
- LiveChat CloudBot: Send to AI bot with operation
Send Message - Response: Return bot response to user
Widget Generation
Manual Trigger → LiveChat CloudBot → Email/Slack- Manual Trigger: Start workflow manually
- LiveChat CloudBot: Use
Generate Widget Codeoperation - Email/Slack: Send generated HTML code to developers
Advanced Chat with Agent Handoff
LiveChat Trigger → Switch → [Bot Path / Agent Path] → Response- LiveChat Trigger: Listen for multiple events
- Switch: Route based on event type or keywords
- Bot Path: Handle with AI bot
- Agent Path: Notify human agents
- Response: Send appropriate response
Node Reference
LiveChat Trigger
Events:
sendMessage- User sends messagestartSession- New chat sessionendSession- Session endsrequestAgent- Agent requestedloadPreviousSession- Load chat history
Response Modes:
text- Simple text responsejson- Structured JSON responsenoResponse- No webhook response
LiveChat CloudBot
Operations:
sendMessage- Send message to botgetHistory- Get session historyendSession- End chat sessiongenerateWidget- Generate HTML widget code
Parameters:
- Message: Text to send to bot
- Session ID: Chat session identifier
- Context: Additional JSON context
- Widget Mode: window/fullscreen/inline
- Language: UI language (en, vi, fr, de, etc.)
- Theme Color: Primary color for widget
Widget Integration
The generated widget code can be embedded in any website:
<!-- Generated by LiveChat CloudBot Node -->
<link href="https://unpkg.com/n8n-livechat-cloudbot/dist/style.css" rel="stylesheet" />
<script type="module">
import { createLiveChat } from 'https://unpkg.com/n8n-livechat-cloudbot/dist/livechat.es.js';
createLiveChat({
webhookUrl: 'https://your-n8n.com/webhook/livechat-webhook',
cloudbotEndpoint: 'https://api.cloudbot.com',
cloudbotApiKey: 'your-api-key',
mode: 'window',
defaultLanguage: 'en',
enableLiveAgent: true
});
</script>
<div id="n8n-livechat"></div>Workflow Templates
Customer Support Bot
- Auto-respond to common questions
- Escalate complex issues to agents
- Track conversation analytics
Lead Generation Chat
- Qualify leads with AI
- Collect contact information
- Integration with CRM systems
Multi-language Support
- Detect user language
- Route to appropriate bot/agent
- Provide localized responses
Troubleshooting
Common Issues
Authentication Failed
- Verify API key and endpoint
- Check bot ID is correct
- Ensure credentials are saved
Webhook Not Triggered
- Check webhook URL is accessible
- Verify CORS settings in n8n
- Test with manual webhook call
Widget Not Loading
- Ensure CDN links are correct
- Check browser console for errors
- Verify webhook URL in widget config
Debug Mode
Enable debug logging in n8n:
export N8N_LOG_LEVEL=debugSupport
- 📧 Email: [email protected]
- 💬 Discord: CloudBot Community
- 📖 Docs: https://docs.cloudbot.com
- 🐛 Issues: GitHub Issues
License
MIT - see LICENSE.md
Contributing
Contributions welcome! See CONTRIBUTING.md
Made with ❤️ for the n8n community
