The lua channels command provides an interactive interface for managing your agent’s communication channels - connect to WhatsApp, Facebook, Email, Slack, Instagram, and more.
View all configured channels with detailed information:
Copy
? What would you like to do? 📋 List channels✅ Found 3 channel(s)? Select a channel to view details:❯ 📱 WHATSAPP - +15557986280 💬 FACEBOOK - My Business Page 💼 SLACK - My Workspace ← Back to main menu
? What would you like to do? 🔗 Link new channel? Select channel type: 📱 WhatsApp? Enter phone number ID: 647834045087314? Enter WhatsApp Business Account ID (WABA ID): 1390592278829291? Enter access token: ****📡 Creating WhatsApp channel...✅ WhatsApp channel created successfully!📱 Channel Details: Phone Number: +15557986280 Status: CONNECTED Webhook: https://wa.heylua.ai/whatsapp/webhook/...
? What would you like to do? 🔗 Link new channel? Select channel type: 💬 Facebook Messenger? Enter Facebook page access token: ****? Enter Facebook page ID: 705555819301071📡 Creating Facebook channel...✅ Facebook channel created successfully!💬 Page Name: My Business Page📄 Page ID: 705555819301071🔗 Webhook: https://wa.heylua.ai/fb/webhook
? What would you like to do? 🔗 Link new channel? Select channel type: 📧 Email? Enter sender name (shown in email header): Support Team? Enter sender email address: [email protected]📡 Creating Email channel...✅ Email channel created successfully!────────────────────────────────────────────────────⚠️ IMPORTANT: Email Forwarding Setup Required────────────────────────────────────────────────────📧 Sender:[email protected]📬 Forward all emails to:[email protected]Setup Instructions:1. Log into your email provider2. Create email forwarding rule3. Forward from:[email protected]4. Forward to:[email protected]5. Test by sending email to[email protected] Your agent will respond automatically!────────────────────────────────────────────────────
? What would you like to do? 🔗 Link new channel? Select channel type: 🔒 Slack (Private)? Enter Slack bot token (xoxb-...): ****📡 Creating Slack channel...✅ Slack channel created successfully!💼 Bot Name: My Agent Bot🏢 Workspace: My Workspace🔗 Webhook: https://wa.heylua.ai/slack/webhook
? What would you like to do? 🔗 Link new channel? Select channel type: 🌐 Slack (Public)? Enter Slack app ID: A09J8J6T6H0? Enter client ID: 1234567890.123456789012? Enter client secret: ****📡 Creating Slack app...✅ Slack app created successfully!📱 App ID: A09J8J6T6H0🔗 Redirect URI: https://auth.heylua.ai/slack/oauth_redirect/...🎯 Webhook: https://wa.heylua.ai/slack/webhookNext Steps:1. Copy the redirect URI2. Add to your Slack app OAuth settings3. Users can now install your Slack app
? What would you like to do? 🌐 Link on admin dashboard🌐 Opening Lua Admin Dashboard...✅ Dashboard opened in your browser URL: https://admin.heylua.ai Agent: myAgent
# Connect all your channels$ lua channels→ Link WhatsApp→ Link Facebook→ Link Email→ Link Slack→ Link Instagram# Your agent now responds on all platforms!
# Moving from old WhatsApp number# 1. List current channels$ lua channels → List# Note: Old number 555-0000# 2. Add new channel$ lua channels → Link WhatsApp# New number: 555-1111# 3. Verify both working$ lua channels → List# See both channels# 4. Remove old channel via admin$ lua admin# Delete old WhatsApp channel
# After linking channel$ lua channels → List# Verify channel appears# Test by sending message# WhatsApp: Send to connected number# Email: Send to configured address# Slack: Message the bot
Use Admin for OAuth
Copy
# Complex OAuth flows easier in admin$ lua channels → Link on admin dashboard# Or directly:$ lua admin# Navigate to Channels section
Document Your Channels
Copy
# Keep track of what's connected$ lua channels → List# Document:- WhatsApp: +1555-798-6280- Facebook: Business Page- Email:[email protected]- Slack: Team workspace
Regular Channel Review
Copy
# Monthly review$ lua channels → List# Check:- All channels CONNECTED- No expired tokens- Quality ratings GREEN- Remove unused channels
# Existing agent, add channel$ lua channels→ Link new channel→ Select channel type→ Enter credentials✅ Channel created# Verify$ lua channels → List# See new channel in list
# Review all channels$ lua channels → List# For each channel:→ Select channel→ Note status and details→ Back to list# Document findings# Update any needed