Talk2Stock OpenClaw Plugin
OpenClaw plugin that lets AI agents manage your Talk2Stock inventory and orders through the Talk2Stock REST API.
Build
cd extensions/talk2stock-openclaw
pnpm install
pnpm build
Install from ClawHub
openclaw plugins install clawhub:@banyawat/talk2stock-openclaw-plugin
Local Development Install
For in-repo bundled plugin work, OpenClaw discovers source-checkout plugin packages from the extensions/* workspace. Link or copy this directory to your OpenClaw extensions path:
mkdir -p ~/.openclaw/extensions
ln -s "$(pwd)" ~/.openclaw/extensions/talk2stock
Then enable it in ~/.openclaw/openclaw.json:
{
"plugins": {
"enabled": true,
"entries": {
"talk2stock": {
"enabled": true,
"config": {
"apiBaseUrl": "https://api.talk2stock.ai",
"apiKey": "tsk_your_api_key_here"
}
}
}
}
}
Getting an API Key
- Open the Talk2Stock webapp
- Go to Settings > API Keys
- Generate a new key
- Copy the key (starts with
tsk_) into the plugin config
Tools
The plugin registers the following tools for OpenClaw agents:
talk2stock_list_inventory— List products and stock levelstalk2stock_get_product— Get product details by SKUtalk2stock_create_order— Create a new ordertalk2stock_list_orders— List recent orderstalk2stock_get_order— Get order details by order numbertalk2stock_ship_order— Ship an order with a tracking numbertalk2stock_cancel_order— Cancel an ordertalk2stock_get_daily_report— Get today's sales summary
Example Usage
After installation, ask OpenClaw:
"How much stock do I have for SKU LW0001?" "Create an order for Somchai, phone 081-234-5678, 2x LW0001 at 1500 each." "Ship order JTO-20260530-143022-001 with tracking SP1234567890."
License
MIT