SamCart for Openclaw

A comprehensive e-commerce integration allowing AI agents to manage SamCart products, orders, customers, and marketing funnels via the Membrane CLI.

gora050
v1.0.4
May 1, 2026
0
686
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install samcart

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install samcart using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is SamCart?

SamCart is a leading e-commerce platform specifically designed for creators and entrepreneurs to sell digital and physical products. This integration, part of the Openclaw Skills ecosystem, enables AI coding agents to interact programmatically with SamCart’s conversion-focused features, such as one-click upsells, order bumps, and subscription management.

By utilizing the Membrane framework, this skill removes the friction of manual authentication and credential management. Developers can focus on building sophisticated e-commerce logic while Membrane handles the secure communication, token refreshing, and API proxying required to maintain a robust connection to SamCart.

SamCart Use Cases

  • Automating customer service responses by querying order status and purchase history.
  • Managing product inventories and updating pricing versions across multiple marketing funnels.
  • Orchestrating affiliate marketing campaigns by tracking commissions and payouts programmatically.
  • Creating and monitoring AB tests for checkout pages to optimize conversion rates.
  • Synchronizing customer data and tags with external CRM or email marketing systems.

How SamCart Works

  1. The AI agent initializes the environment by installing and logging into the Membrane CLI.
  2. A connection is established to the SamCart domain, where Membrane handles the OAuth or API key handshake.
  3. The agent polls the connection status until it reaches a READY state, ensuring all permissions are active.
  4. Using natural language intent, the agent searches for available SamCart actions like 'list orders' or 'create coupon'.
  5. The agent executes selected actions with specific JSON parameters to retrieve or modify data.
  6. For unique requirements not covered by pre-built actions, the agent uses the proxy request feature to communicate directly with the SamCart API.

SamCart Setup

To get started with this skill in your Openclaw Skills environment, follow these steps:

Install the Membrane CLI:

npm install -g @membranehq/cli@latest

Authenticate the CLI:

membrane login --tenant --clientName=openclaw

Create a connection to SamCart:

membrane connection ensure "https://www.samcart.com/" --json

Verify that the connection is ready:

membrane connection get <connection_id> --wait --json

SamCart Data Schema & Taxonomy

The SamCart skill interacts with several core data entities. The following table outlines the primary data structures managed by the skill:

Entity Data Type Description
Products Object Includes product versions, pricing, and associated funnels.
Orders Object Contains transaction details, customer links, and refund status.
Customers Object Stores buyer profiles, purchase history, and assigned tags.
Funnels Object Manages upsells, downsells, and conversion path logic.
Subscriptions Object Tracks recurring billing cycles and cancellation states.
Affiliates Object Handles partner information and commission tracking.

All responses are returned as structured JSON, making it easy for Openclaw Skills to parse and utilize the data for downstream tasks.

SamCart Advanced Features

  • Direct API Proxying: Execute custom HTTP requests (GET, POST, PUT, DELETE) directly to SamCart endpoints while Membrane handles auth headers.
  • Intent-Based Action Discovery: Find the exact tool needed by describing the desired outcome in natural language.
  • Headless Authentication Support: Facilitate logins in remote or non-interactive environments via authorization URLs and completion codes.
  • Automatic Credential Management: Never manage API keys locally; Membrane handles server-side token storage and transparent refreshing.
  • Comprehensive Marketing Tools: Built-in support for managing AB tests, coupons, and email sequence triggers.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*