Automate Shopify tasks via Rube MCP (Composio): products, orders, customers, inventory, collections. Always search tools first for current schemas.
Add this skill
npx mdskills install sickn33/shopify-automationWell-structured Shopify automation with clear workflows, tool sequences, and helpful pitfalls
1---2name: shopify-automation3description: "Automate Shopify tasks via Rube MCP (Composio): products, orders, customers, inventory, collections. Always search tools first for current schemas."4requires:5 mcp: [rube]6---78# Shopify Automation via Rube MCP910Automate Shopify operations through Composio's Shopify toolkit via Rube MCP.1112## Prerequisites1314- Rube MCP must be connected (RUBE_SEARCH_TOOLS available)15- Active Shopify connection via `RUBE_MANAGE_CONNECTIONS` with toolkit `shopify`16- Always call `RUBE_SEARCH_TOOLS` first to get current tool schemas1718## Setup1920**Get Rube MCP**: Add `https://rube.app/mcp` as an MCP server in your client configuration. No API keys needed — just add the endpoint and it works.2122231. Verify Rube MCP is available by confirming `RUBE_SEARCH_TOOLS` responds242. Call `RUBE_MANAGE_CONNECTIONS` with toolkit `shopify`253. If connection is not ACTIVE, follow the returned auth link to complete Shopify OAuth264. Confirm connection status shows ACTIVE before running any workflows2728## Core Workflows2930### 1. Manage Products3132**When to use**: User wants to list, search, create, or manage products3334**Tool sequence**:351. `SHOPIFY_GET_PRODUCTS` / `SHOPIFY_GET_PRODUCTS_PAGINATED` - List products [Optional]362. `SHOPIFY_GET_PRODUCT` - Get single product details [Optional]373. `SHOPIFY_BULK_CREATE_PRODUCTS` - Create products in bulk [Optional]384. `SHOPIFY_GET_PRODUCTS_COUNT` - Get product count [Optional]3940**Key parameters**:41- `product_id`: Product ID for single retrieval42- `title`: Product title43- `vendor`: Product vendor44- `status`: 'active', 'draft', or 'archived'4546**Pitfalls**:47- Paginated results require cursor-based pagination for large catalogs48- Product variants are nested within the product object4950### 2. Manage Orders5152**When to use**: User wants to list, search, or inspect orders5354**Tool sequence**:551. `SHOPIFY_GET_ORDERS_WITH_FILTERS` - List orders with filters [Required]562. `SHOPIFY_GET_ORDER` - Get single order details [Optional]573. `SHOPIFY_GET_FULFILLMENT` - Get fulfillment details [Optional]584. `SHOPIFY_GET_FULFILLMENT_EVENTS` - Track fulfillment events [Optional]5960**Key parameters**:61- `status`: Order status filter ('any', 'open', 'closed', 'cancelled')62- `financial_status`: Payment status filter63- `fulfillment_status`: Fulfillment status filter64- `order_id`: Order ID for single retrieval65- `created_at_min`/`created_at_max`: Date range filters6667**Pitfalls**:68- Order IDs are numeric; use string format for API calls69- Default order listing may not include all statuses; specify 'any' for all7071### 3. Manage Customers7273**When to use**: User wants to list or search customers7475**Tool sequence**:761. `SHOPIFY_GET_ALL_CUSTOMERS` - List all customers [Required]7778**Key parameters**:79- `limit`: Number of customers per page80- `since_id`: Pagination cursor8182**Pitfalls**:83- Customer data includes order count and total spent84- Large customer lists require pagination8586### 4. Manage Collections8788**When to use**: User wants to manage product collections8990**Tool sequence**:911. `SHOPIFY_GET_SMART_COLLECTIONS` - List smart collections [Optional]922. `SHOPIFY_GET_SMART_COLLECTION_BY_ID` - Get collection details [Optional]933. `SHOPIFY_CREATE_SMART_COLLECTIONS` - Create a smart collection [Optional]944. `SHOPIFY_ADD_PRODUCT_TO_COLLECTION` - Add product to collection [Optional]955. `SHOPIFY_GET_PRODUCTS_IN_COLLECTION` - List products in collection [Optional]9697**Key parameters**:98- `collection_id`: Collection ID99- `product_id`: Product ID for adding to collection100- `rules`: Smart collection rules for automatic inclusion101102**Pitfalls**:103- Smart collections auto-populate based on rules; manual collections use custom collections API104- Collection count endpoints provide approximate counts105106### 5. Manage Inventory107108**When to use**: User wants to check or manage inventory levels109110**Tool sequence**:1111. `SHOPIFY_GET_INVENTORY_LEVELS` / `SHOPIFY_RETRIEVES_A_LIST_OF_INVENTORY_LEVELS` - Check stock [Required]1122. `SHOPIFY_LIST_LOCATION` - List store locations [Optional]113114**Key parameters**:115- `inventory_item_ids`: Inventory item IDs to check116- `location_ids`: Location IDs to filter by117118**Pitfalls**:119- Inventory is tracked per variant per location120- Location IDs are required for multi-location stores121122## Common Patterns123124### Pagination125126- Use `limit` and `page_info` cursor for paginated results127- Check response for `next` link header128- Continue until no more pages available129130### GraphQL Queries131132For advanced operations:133```1341. Call SHOPIFY_GRAPH_QL_QUERY with custom query1352. Parse response from data object136```137138## Known Pitfalls139140**API Versioning**:141- Shopify REST API has versioned endpoints142- Some features require specific API versions143144**Rate Limits**:145- REST API: 2 requests/second for standard plans146- GraphQL: 1000 cost points per second147148## Quick Reference149150| Task | Tool Slug | Key Params |151|------|-----------|------------|152| List products | SHOPIFY_GET_PRODUCTS | (filters) |153| Get product | SHOPIFY_GET_PRODUCT | product_id |154| Products paginated | SHOPIFY_GET_PRODUCTS_PAGINATED | limit, page_info |155| Bulk create | SHOPIFY_BULK_CREATE_PRODUCTS | products |156| Product count | SHOPIFY_GET_PRODUCTS_COUNT | (none) |157| List orders | SHOPIFY_GET_ORDERS_WITH_FILTERS | status, financial_status |158| Get order | SHOPIFY_GET_ORDER | order_id |159| List customers | SHOPIFY_GET_ALL_CUSTOMERS | limit |160| Shop details | SHOPIFY_GET_SHOP_DETAILS | (none) |161| Validate access | SHOPIFY_VALIDATE_ACCESS | (none) |162| Smart collections | SHOPIFY_GET_SMART_COLLECTIONS | (none) |163| Products in collection | SHOPIFY_GET_PRODUCTS_IN_COLLECTION | collection_id |164| Inventory levels | SHOPIFY_GET_INVENTORY_LEVELS | inventory_item_ids |165| Locations | SHOPIFY_LIST_LOCATION | (none) |166| Fulfillment | SHOPIFY_GET_FULFILLMENT | order_id, fulfillment_id |167| GraphQL | SHOPIFY_GRAPH_QL_QUERY | query |168| Bulk query | SHOPIFY_BULK_QUERY_OPERATION | query |169
Full transparency — inspect the skill content before installing.