Appearance
OpenClaw
Install the Ned Analytics skill from ClawHub to give your OpenClaw agent access to your Shopify store's profitability, sales, customer, and marketing data.
What You'll Need
- An OpenClaw account
- A Ned AI API key
Step 1: Get Your API Key
- Go to app.meetned.com
- Open Settings → Developer
- Click Create API Key
- Copy the key (starts with
ned_live_)
Step 2: Install the Skill
- Go to the Ned Analytics skill on ClawHub
- Click Install to add it to your OpenClaw agent
Step 3: Set Your API Key
Set your Ned API key as an environment variable:
macOS / Linux:
bash
export NED_API_KEY="ned_live_YOUR_API_KEY_HERE"Windows (PowerShell):
powershell
$env:NED_API_KEY = "ned_live_YOUR_API_KEY_HERE"TIP
Add the export line to your shell profile (~/.bashrc, ~/.zshrc, or PowerShell profile) so it persists across sessions.
Step 4: Try It Out
Ask your OpenClaw agent about your store:
- "What's my profit today?"
- "Which products are actually making money after COGS?"
- "Show me my at-risk whale customers"
- "How is my store doing this month?"
- "What's my ad performance and ROAS?"
- "Give me a customer segment breakdown"
What Data Is Available
The skill connects to Ned's REST API and gives your agent access to:
| Endpoint | What It Returns |
|---|---|
| Profitability Summary | Net profit, margins, COGS, ad spend, contribution margin, orders, units sold |
| Product Profitability | Per-product breakdown — revenue, COGS, profit, margin, profit per unit |
| Customer Summary | Total customers, LTV, profit tiers (whale/profitable/marginal/unprofitable), churn risk, at-risk whales |
| Customer Segments | Customers grouped by profit tier with orders, revenue, profit, margin, and activity detail |
| Store Info | Store name, plan tier, remaining credits, rate limits |
All data can be queried by period: today, yesterday, last_7_days, last_30_days, last_90_days, this_month, or last_month.
Troubleshooting
"Authentication failed"
- Verify
NED_API_KEYis set in your environment:echo $NED_API_KEY - Make sure the key starts with
ned_live_and hasn't been revoked - Check for extra spaces around the key
Skill not responding
- Make sure you installed the skill from ClawHub
- Try restarting your OpenClaw agent after installing

