Skip to main content
lua channels lists the channels an agent answers on and, from its menu, links new ones or manages the organization’s phone numbers. Linking a channel changes where end users can reach the agent right away. Verified against lua-cli 3.33.0.

Synopsis

Description

list is the only non-interactive action and the command’s only argument; the command takes no flags. Run bare, it offers four menu items: List channels (pick one for its type-specific details), Link new channel, Manage phone numbers, and Link on admin dashboard, which opens the admin dashboard for the agent. The CLI creates five channel types: WhatsApp, Facebook Messenger, email, Slack (private, by bot token) and Slack (public, an OAuth app). Every other channel, Instagram and Microsoft Teams among them, is set up outside the CLI; the channel guides say where. The web widget needs no channel record at all. The menu and every creation flow prompt for each value, and tokens are masked as you type. They are not usable under --ci: only list is. A channel that is already linked is refused with ✖ http_400: Channel already exists (exit 10) and a hint naming the channel.

Arguments

The menu items and what each asks for.

Phone number menu

Numbers belong to the organization and are bound to one agent together with the voice that answers. Binding needs a pushed, active voice; without one the flow stops with This agent has no LuaVoice.

Options

None beyond the global --ci and -h, --help. Every value is entered in the menu.

Examples

List the agent’s channels in a script.
Output
Open the menu to link a channel or manage numbers.
Call the agent on a bound number from the terminal to check the binding.

Exit codes

See also