@banyawat

Talk2Stock

OpenClaw plugin for Talk2Stock inventory and order management

当前版本
v1.0.0
code-plugin社区source-linked

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

  1. Open the Talk2Stock webapp
  2. Go to Settings > API Keys
  3. Generate a new key
  4. 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 levels
  • talk2stock_get_product — Get product details by SKU
  • talk2stock_create_order — Create a new order
  • talk2stock_list_orders — List recent orders
  • talk2stock_get_order — Get order details by order number
  • talk2stock_ship_order — Ship an order with a tracking number
  • talk2stock_cancel_order — Cancel an order
  • talk2stock_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

源码与版本

源码仓库

banyawat/t2s-openclaw

打开仓库

源码提交

4a33baf839c0625584e1390496e3d56321dd4e8b

查看提交

安装命令

openclaw plugins install clawhub:@banyawat/talk2stock-openclaw-plugin

元数据

  • 包名: @banyawat/talk2stock-openclaw-plugin
  • 创建时间: 2026/06/21
  • 更新时间: 2026/06/21
  • 执行代码:
  • 源码标签: v1.0.5

兼容性

  • 构建于 OpenClaw: 2026.3.24-beta.2
  • 插件 API 范围: >=2026.3.24-beta.2
  • 标签: latest
  • 文件数: 43