yundian-woo-importer
by colaliang
Import products from Shopify, Wix, WordPress, and Amazon directly into WooCommerce via natural language.
安装
claude skill add --url github.com/openclaw/skills/tree/main/skills/colaliang/yundian-woo-importer文档
Yundian+ WooCommerce Importer Skill
This skill enables your OpenClaw agent to seamlessly import products from various e-commerce platforms (Shopify, Wix, WordPress, Amazon) directly into a WooCommerce store using the Yundian+ API and MCP Server.
Setup
Since this skill relies on an underlying MCP server, you need to configure your OpenClaw settings to point to it.
Add the following to your OpenClaw MCP configuration (~/.openclaw/config.json):
{
"mcpServers": {
"yundian-woo-importer": {
"command": "npx",
"args": ["-y", "tsx", "{baseDir}/mcp-server.ts"],
"env": {
"YUNDIAN_WOO_IMPORTER_API_KEY": "${YUNDIAN_WOO_IMPORTER_API_KEY}",
"YUNDIAN_WOO_IMPORTER_API_URL": "https://ydplus.net"
}
}
}
}
Available Tools
The bundled MCP server exposes the following tools to the agent:
1. import_products
Queue products for import from a source platform to WooCommerce.
- Parameters:
platform(string, required): The source platform. Enum:shopify,wix,wordpress,amazon.shopifyBaseUrl(string): Required if platform isshopify. (e.g.,https://example.myshopify.com)wixUrl(string): Required if platform iswix.productLinks(array of strings): List of product URLs or handles to import.mode(string): Set toallto discover and import all products (Supported for Shopify only).
2. check_import_status
Check the status and results of an ongoing or completed import job.
- Parameters:
requestId(string, required): The unique request ID returned whenimport_productswas successfully called.
Agent Instructions
When the user asks you to import products:
- Identify Requirements: Determine the source platform (Shopify, Wix, WordPress, or Amazon) and the target URLs from the user's prompt.
- Execute Import: Call the
import_productstool with the appropriate parameters. Ensure you provide the necessary base URL or specific product links. - Report Status: Once the import is successfully queued, provide the user with the
requestId. - Follow-up: If the user asks for an update on the import, or if you want to verify completion, use the
check_import_statustool with therequestIdto fetch the latest progress, including how many products were successfully imported or failed.
Error Handling
- If you receive an "Unauthorized" error, inform the user that their
YUNDIAN_WOO_IMPORTER_API_KEYmight be invalid or expired. - If credits are insufficient, prompt the user to recharge their account on the Yundian+ dashboard.