Shopify automation

From davepoon/buildwithclaude · View interactive version

Shopify automation is an AI agent skill from the GitHub repository davepoon/buildwithclaude. Automate Shopify tasks via Rube MCP (Composio): products, orders, customers, inventory, collections. Always search tools first for current schemas.

How to use this skill

Skill file

Shopify Automation via Rube MCP

Automate Shopify operations through Composio's Shopify toolkit via Rube MCP.

Toolkit docs: composio.dev/toolkits/shopify

Prerequisites

Setup

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.

  1. Verify Rube MCP is available by confirming RUBE_SEARCH_TOOLS responds
  2. Call RUBE_MANAGE_CONNECTIONS with toolkit shopify
  3. If connection is not ACTIVE, follow the returned auth link to complete Shopify OAuth
  4. Confirm connection status shows ACTIVE before running any workflows

Core Workflows

1. Manage Products

When to use: User wants to list, search, create, or manage products

Tool sequence:

  1. SHOPIFY_GET_PRODUCTS / SHOPIFY_GET_PRODUCTS_PAGINATED - List products [Optional]
  2. SHOPIFY_GET_PRODUCT - Get single product details [Optional]
  3. SHOPIFY_BULK_CREATE_PRODUCTS - Create products in bulk [Optional]
  4. SHOPIFY_GET_PRODUCTS_COUNT - Get product count [Optional]

Key parameters:

Pitfalls:

2. Manage Orders

When to use: User wants to list, search, or inspect orders

Tool sequence:

  1. SHOPIFY_GET_ORDERS_WITH_FILTERS - List orders with filters [Required]
  2. SHOPIFY_GET_ORDER - Get single order details [Optional]
  3. SHOPIFY_GET_FULFILLMENT - Get fulfillment details [Optional]
  4. SHOPIFY_GET_FULFILLMENT_EVENTS - Track fulfillment events [Optional]

Key parameters:

Pitfalls:

3. Manage Customers

When to use: User wants to list or search customers

Tool sequence:

  1. SHOPIFY_GET_ALL_CUSTOMERS - List all customers [Required]

Key parameters:

Pitfalls:

4. Manage Collections

When to use: User wants to manage product collections

Tool sequence:

  1. SHOPIFY_GET_SMART_COLLECTIONS - List smart collections [Optional]
  2. SHOPIFY_GET_SMART_COLLECTION_BY_ID - Get collection details [Optional]
  3. SHOPIFY_CREATE_SMART_COLLECTIONS - Create a smart collection [Optional]
  4. SHOPIFY_ADD_PRODUCT_TO_COLLECTION - Add product to collection [Optional]
  5. SHOPIFY_GET_PRODUCTS_IN_COLLECTION - List products in collection [Optional]

Key parameters:

Pitfalls:

5. Manage Inventory

When to use: User wants to check or manage inventory levels

Tool sequence:

  1. SHOPIFY_GET_INVENTORY_LEVELS / SHOPIFY_RETRIEVES_A_LIST_OF_INVENTORY_LEVELS - Check stock [Required]
  2. SHOPIFY_LIST_LOCATION - List store locations [Optional]

Key parameters:

Pitfalls:

Common Patterns

Pagination

GraphQL Queries

For advanced operations:

1. Call SHOPIFY_GRAPH_QL_QUERY with custom query
2. Parse response from data object

Known Pitfalls

API Versioning:

Rate Limits:

Quick Reference

| Task | Tool Slug | Key Params |

|------|-----------|------------|

| List products | SHOPIFY_GET_PRODUCTS | (filters) |

| Get product | SHOPIFY_GET_PRODUCT | product_id |

| Products paginated | SHOPIFY_GET_PRODUCTS_PAGINATED | limit, page_info |

| Bulk create | SHOPIFY_BULK_CREATE_PRODUCTS | products |

| Product count | SHOPIFY_GET_PRODUCTS_COUNT | (none) |

| List orders | SHOPIFY_GET_ORDERS_WITH_FILTERS | status, financial_status |

| Get order | SHOPIFY_GET_ORDER | order_id |

| List customers | SHOPIFY_GET_ALL_CUSTOMERS | limit |

| Shop details | SHOPIFY_GET_SHOP_DETAILS | (none) |

| Validate access | SHOPIFY_VALIDATE_ACCESS | (none) |

| Smart collections | SHOPIFY_GET_SMART_COLLECTIONS | (none) |

| Products in collection | SHOPIFY_GET_PRODUCTS_IN_COLLECTION | collection_id |

| Inventory levels | SHOPIFY_GET_INVENTORY_LEVELS | inventory_item_ids |

| Locations | SHOPIFY_LIST_LOCATION | (none) |

| Fulfillment | SHOPIFY_GET_FULFILLMENT | order_id, fulfillment_id |

| GraphQL | SHOPIFY_GRAPH_QL_QUERY | query |

| Bulk query | SHOPIFY_BULK_QUERY_OPERATION | query |


Powered by Composio

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.