Skip to content

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

Step 1: Get Your API Key

  1. Go to app.meetned.com
  2. Open SettingsDeveloper
  3. Click Create API Key
  4. Copy the key (starts with ned_live_)

Step 2: Install the Skill

  1. Go to the Ned Analytics skill on ClawHub
  2. 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:

EndpointWhat It Returns
Profitability SummaryNet profit, margins, COGS, ad spend, contribution margin, orders, units sold
Product ProfitabilityPer-product breakdown — revenue, COGS, profit, margin, profit per unit
Customer SummaryTotal customers, LTV, profit tiers (whale/profitable/marginal/unprofitable), churn risk, at-risk whales
Customer SegmentsCustomers grouped by profit tier with orders, revenue, profit, margin, and activity detail
Store InfoStore 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_KEY is 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

Need Help?

Built with ❤️ by Ned AI