Omnichannel CLI for Autonomous AI Agents

Automate customer conversations and messaging workflows across 30+ networks. Built for AI agents like Claude Code, OpenClaw, and terminal LLMs to manage contacts, trigger flows, and query CRM state from the command line.

Please make sure there is always a human in the loop.

Quick Start: Install & Set Up ChatbotX Agent in Seconds

Add the ChatbotX skill to your favorite AI agent runtime or execute commands directly from your terminal.

terminal: quick-start
bash / zsh
# 1. Install CLI globally or add skill to your AI agent
npm install -g chatbotx
# or: npx skills add sunghajung43/chatbotx

# 2. Configure Workspace Token (Settings → Integrations → Workspace token)
chatbotx config set --apiKey "YOUR_WORKSPACE_TOKEN" --apiUrl "https://app.chatbotx.io/api"

# 3. Verify workspace access and list active channels
chatbotx workspaces get
chatbotx channels list

# 4. Resolve contact and trigger an automated flow
chatbotx contacts get email:[email protected]
chatbotx contacts flow add email:[email protected] --flowId <flowId>

Built for Autonomous AI Workflows

Engineered from the ground up to give LLMs and autonomous agents reliable customer conversation & CRM execution capabilities.

AI Agent & MCP Ready

Every command returns clean, structured JSON. Designed for LLMs, function calling, and MCP tools with zero token cost overhead.

Omnichannel Messaging

Manage WhatsApp, Telegram, Messenger, Zalo, Instagram, SMS, and WebChat from a single unified command-line tool.

Contact CRM & Resolvers

Resolve, create, and update contacts seamlessly by email, international phone number (+84...), or internal workspace identifier.

Tags & Custom Fields

Dynamically tag contacts, query custom attributes, and maintain synchronized CRM state directly through automation scripts.

Chatbot Flows & Sequences

Trigger interactive multi-step chatbot flows, auto-reply rules, and drip sequences programmatically based on agent logic.

Broadcasts & Inbox Triage

Monitor live open conversations, list target broadcast audiences, and dispatch bulk campaigns with full delivery audit logs.

How ChatbotX Agent CLI Operates

A clear 3-step lifecycle for AI agents to discover, compose, and monitor campaigns.

1

Discover Workspace

The agent queries connected messaging channels, tags, and custom fields to understand workspace configuration.

chatbotx channels list
chatbotx tags list
chatbotx custom-fields list
2

Contacts & Flows

Resolve contacts by email or phone, assign segmentation tags, and trigger personalized chatbot flows automatically.

# Resolve contact and attach tag
chatbotx contacts get email:[email protected]
chatbotx contacts tag add email:[email protected] --tagIds tag_vip

# Trigger automated flow
chatbotx contacts flow add email:[email protected] --flowId flow_onboarding
3

Inbox & Broadcasts

Monitor open customer conversations across channels, inspect broadcasts, and manage multi-channel dispatches.

# List active unassigned conversations
chatbotx conversations list --status unassigned

# Inspect scheduled broadcasts
chatbotx broadcasts list

One Command, Every Channel

Sync CRM contacts, add dynamic tags, and trigger multi-channel flows across WhatsApp, Telegram, and Messenger with simple shell scripts.

examples / multi-platform-batch.sh
batch script
# 1. Look up contact by phone or email
chatbotx contacts get phone:+84708123123

# 2. Add VIP segmentation tag
chatbotx contacts tag add phone:+84708123123 --tagIds tag_vip_client

# 3. Update customer custom field
chatbotx contacts custom-field add phone:+84708123123 cf_tier --value "Gold"

# 4. Trigger automated welcome flow or send direct notification
chatbotx contacts flow add phone:+84708123123 --flowId flow_spring_promo
chatbotx contacts message send phone:+84708123123 --text "Your VIP status has been activated!"

# 5. Batch-tag segmented leads from a list
for email in [email protected] [email protected] [email protected]; do
  chatbotx contacts tag add email:$email --tagIds tag_lead_qualified
done

First-Class Support for Agent Runtimes

Whether running OpenClaw locally or prompting Claude Code in your terminal, ChatbotX integrates effortlessly.

OpenClaw

Skill-Based Agent Runtime

OpenClaw automatically discovers ChatbotX via the bundled SKILL.md. Run heartbeat cron jobs or trigger customer flows directly from WhatsApp, Telegram, or terminal.

openclaw.json (heartbeat automation)
{
  "heartbeat": [
    {
      "cron": "*/15 * * * *",
      "prompt": "Check chatbotx conversations list --status unassigned. If new chats found, notify on-call team."
    },
    {
      "cron": "0 9 * * 1-5",
      "prompt": "Trigger flow_followup for all contacts with tag_pending_quote in ChatbotX."
    }
  ]
}

Claude Code

Anthropic Terminal Agent

Claude Code reads ChatbotX tool definitions, checks workspace channels, resolves contacts, and triggers flows from natural language prompts.

Claude Code terminal session
> Find [email protected] in ChatbotX, tag them as VIP, and trigger the priority support flow

Claude runs autonomously:
  chatbotx contacts get email:[email protected]
  chatbotx contacts tag add email:[email protected] --tagIds tag_vip
  chatbotx contacts flow add email:[email protected] --flowId flow_priority_support

Execution complete: Contact tagged and routed to Priority Support flow.
SKILL.md
Clean Agent Context

Standardized SKILL.md Architecture

Auto-discovered by OpenClaw, Codex, and modern LLM skill frameworks.

---
name: chatbotx
description: Omnichannel customer conversation and CRM automation CLI for ChatbotX Workspace API
metadata:
  requirements:
    env:
      - CHATBOTX_API_KEY
      - CHATBOTX_API_URL
    binaries:
      - chatbotx
---

# Available Commands
- chatbotx workspaces get                   # Verify workspace access
- chatbotx contacts get <identifier>        # Resolve contact (email, phone, id)
- chatbotx contacts tag add <id> --tagIds   # Add segmentation tags
- chatbotx contacts flow add <id> --flowId  # Trigger automated chatbot flow
- chatbotx conversations list               # Query live inbox conversations
- chatbotx broadcasts list                  # Manage multi-channel broadcasts

Command Reference Matrix

Complete list of CLI commands available to your autonomous agents and scripts.

Command Description Key Flags
chatbotx workspaces get Verify connection and inspect workspace profile and credentials --apiUrl, --apiKey
chatbotx channels list List all connected channels (WhatsApp, Telegram, Messenger, Zalo) --page, --perPage
chatbotx contacts get <id> Resolve contact details by email:, phone:, or id: identifier email:[email protected], phone:+84...
chatbotx contacts list Query and paginate workspace contacts with search filters --keyword, --perPage, --sort
chatbotx contacts tag add <id> Attach one or more segmentation tag IDs to a contact --tagIds <tagId>
chatbotx contacts flow add <id> Trigger an automated interactive chatbot flow for a contact --flowId <flowId>, --inboxId
chatbotx contacts message send <id> Send a direct outbound message or template to a contact --text <msg>, --flowId
chatbotx conversations list Query live customer conversations filtered by channel or status --status, --channel, --keyword
chatbotx tags list List all active segmentation tags in the workspace --page, --perPage
chatbotx custom-fields list Retrieve all defined customer attributes and custom fields --page, --perPage
chatbotx broadcasts list List scheduled, queued, and completed omnichannel broadcasts --page, --perPage

Supported Platforms & Channels

Connect your channels in ChatbotX once, then automate customer conversations to any of them via CLI or agent.

WhatsApp Telegram Facebook Messenger Instagram DM Zalo Official Account Live WebChat SMS Gateway Email Inbox OpenClaw Claude Code Hermes Agent OpenAI Codex Perplexity Computer Nanoclaw Paperclip Antigravity IDE

AI Agent CLI
Frequently Asked
Questions

Underline decorative

How does the ChatbotX Agent CLI authenticate?

How does this CLI differ from the ChatbotX MCP server?

Can my AI agent trigger flows or send messages autonomously?

Can I use ChatbotX CLI with self-hosted instances?

How much does the ChatbotX Agent CLI cost?

Subscribe to the Newsletter

For occasional updates, news and events