C
Cody
E-commerce & Finance

Connecting OpenClaw with Shopify: A Practical Guide

·3 min read

Shopify is where store teams track orders, revenue, products, inventory, customers, and fulfilment questions all day. A Shopify AI assistant is most useful when it helps the team answer order and customer questions, spot low-stock or refund issues, and turn store activity into clear Slack updates without living inside the admin. If you are running OpenClaw yourself, Shopify is still one of the more approachable commerce integrations to build, but Cody is the faster path if you want the assistant experience instead of the API glue.

How OpenClaw Integrations Work

OpenClaw is a self-hosted AI assistant that runs on your own server — typically an EC2 instance — and connects to Slack. It uses Claude under the hood to process requests. Out of the box, OpenClaw doesn't ship with pre-built connections to third-party tools. Instead, integrations are built using the skills system: markdown files in ~/.openclaw/skills/ that give Claude instructions for a particular domain, combined with HTTP tool calls to any API you expose to it.

In practice, adding a real integration means: getting API credentials from the third-party service, building or configuring a small proxy/endpoint that OpenClaw can call, and writing a skill file that tells Claude how to use it. For some tools this is an afternoon of work. For others — like Shopify — it's considerably more involved.

Connecting OpenClaw with Shopify: Step by Step

Step 1: Create a Shopify Custom App

In Shopify Admin → Settings → Apps → Develop apps, create a new custom app. Select the API scopes you need (e.g., read_orders, read_products, read_customers). Install the app and copy the Admin API access token.

Step 2: Use the REST Admin API

The Shopify Admin REST API base is https://{your-store}.myshopify.com/admin/api/2024-01/. Key endpoints: /orders.json for order data, /products.json for inventory, /customers/search.json for customer lookups. There's also a GraphQL Admin API if you prefer.

Step 3: Build the Proxy and Skill File

Build your proxy around order, product, and customer search endpoints. Write ~/.openclaw/skills/shopify.md with your store domain and common query patterns — daily sales summaries, low inventory checks, and customer order lookups are good starting points.

Challenges and Caveats

API Version Updates Are Required

Shopify releases API versions quarterly and deprecates older ones. Your proxy must be updated to use supported API versions, or requests will eventually stop working. Budget for quarterly maintenance.

Rate Limits Use a Leaky Bucket System

Shopify's API uses a leaky bucket rate limiter — 40 requests per second for REST (higher for GraphQL with cost-based limits). High-frequency queries during busy periods need retry logic with backoff.


Skip All of This — Use Cody Instead

Cody gives your team a Shopify assistant in Slack, so people can check orders, customers, products, inventory, and store activity without wiring Admin API auth, handling version churn, or building ecommerce workflow glue.

Get started with Cody →


Related Guides


Need the model-flexible version? See: How to Connect Shopify to OpenClaw: Setup, Models, and Workflow Guide.