Overview
Thelua channels command provides an interactive interface for managing your agent’s communication channels - connect to WhatsApp, Facebook, Email, Slack, Instagram, and more.
Non-Interactive Mode
Note: Creating and configuring channels requires interactive mode due to complex multi-step input for tokens, IDs, and other credentials.
List Channels
View all connected channels
Link New Channel
Connect WhatsApp, Facebook, Slack, Email
Channel Details
View configuration and status
Admin Dashboard
Open visual interface
Currently Supported Channels
Lua currently supports 6 communication channels:- 📧 Email
- 💻 WebChat
- 💬 Facebook
- 📸 Instagram
- 📱 WhatsApp
- 💼 Slack
Email IntegrationRespond to emails automatically. Two modes available:Generated Inbox Requirements:
- Display Name
- Display Name
- Sender Email Address
- Email forwarding setup
- Automated email responses
- Custom sender identity
- Professional communication
- Generated inbox (no forwarding needed)
🚀 More channels coming soon! SMS, Microsoft Teams, Discord, Telegram, LinkedIn, and WeChat are in active development.
Interactive Flow
1
Launch Command
lua.skill.yaml2
Choose Action
3
Complete Action
Follow the prompts based on your selection
List Channels
View all configured channels with detailed information:Channel Details View
Link New Channel
WhatsApp Setup
Next Steps for WhatsApp:
- Configure webhook in Meta Business Suite
- Copy webhook URL from output
- Set webhook URL in Meta dashboard
- Verify webhook connection
Facebook Setup
Email Setup
Email channels support two modes: generated inbox (Lua creates an address) and existing email (forward from your own address).- Generated Inbox
- Existing Email
Slack Private Setup
Slack Public Setup
Open Admin Dashboard
- Manage channels visually
- Configure OAuth flows
- View channel analytics
- Test channel connections
- Monitor message delivery
Use Cases
Multi-Channel Agent
Channel Migration
Team Collaboration
Channel-Specific Features
- Must be registered with WhatsApp Business
- Verified with Meta Business Suite
- Has active WABA (Business Account)
- CONNECTED: Ready to send/receive
- DISCONNECTED: Needs reconnection
- PENDING: Setup in progress
- GREEN: High quality, good delivery
- YELLOW: Medium quality, some issues
- RED: Low quality, delivery problems
- Business or Creator page (not personal profile)
- Page access token with messaging permissions
- Page must be published
- Respond to page messages
- Handle conversation threads
- Access messenger features
- Generated inbox - Lua creates an email address; no forwarding setup needed
- Existing email - Uses your own address; requires email forwarding
- Must forward to the provided Lua address
- Can use email rules/filters
- Test after setup
- Agent replies to incoming emails
- Uses configured display name
- Threading supported
- Attachments handled
Slack
Private (Bot Token):- Simple bot installation
- Direct messages
- Channel mentions
- App home tab
- Users install your app
- Workspace-wide presence
- OAuth consent flow
- More complex setup
Troubleshooting
No agent ID found
No agent ID found
Error:Solution:
API key missing
API key missing
Error:Solution:
Channel already exists
Channel already exists
Error:Solution:
- List channels to see existing
- Use different number/account
- Remove old channel first (via admin)
Invalid credentials
Invalid credentials
Error:Solution:
- Verify token is correct
- Check token hasn’t expired
- Regenerate token from platform
- Try again with new token
Email not working
Email not working
Problem: Agent not responding to emailsCheck:
- Email forwarding is configured
- Forward address is correct
- Emails are being forwarded
- Test by sending email
- Check admin dashboard for errors
Best Practices
Test After Setup
Test After Setup
Use Admin for OAuth
Use Admin for OAuth
Document Your Channels
Document Your Channels
Regular Channel Review
Regular Channel Review
Common Workflows
Initial Setup
Add New Channel
Channel Audit
Integration with Admin Dashboard
The CLI command and admin dashboard work together:- CLI (Quick)
- Admin (Visual)
Use CLI when:
- Setting up via terminal
- Scripting channel creation
- Quick channel listing
- During development workflow
Channel Requirements by Platform
WhatsApp Business
Before you start:- Register with Meta Business Suite
- Create WhatsApp Business Account
- Add phone number
- Get API access
- Obtain access token
Facebook Messenger
Before you start:- Create Facebook Business Page
- Create Facebook App
- Add Messenger product
- Get page access token
- Choose a display name for your agent
- Have email address ready
- Access to email provider settings
- Ability to configure forwarding
Slack
Private (Simple):- Create Slack app
- Add bot token scopes
- Install to workspace
- Copy bot token
- Create Slack app
- Configure OAuth
- Set redirect URLs
- Get credentials
Security
Best practices:- Use test accounts in development
- Production tokens in production only
- Rotate tokens regularly
- Revoke compromised tokens immediately
Next Steps
Admin Dashboard
Visual channel management
Chat Widget
Add website chat channel
Test Your Agent
Test agent responses
Production Monitor
Monitor live channels

