order-processing-pipeline
БесплатноБез исполняемых скриптовНе проверенImplement a reliable order state machine that moves orders from pending through payment, fulfillment, and delivery with webhook-driven transitions
от finsilabs★ 69 звёзд на GitHubОб этом скилле
Order Processing Pipeline
Overview
Every ecommerce order follows a lifecycle: placed → payment confirmed → fulfillment started → shipped → delivered. Shopify, WooCommerce, and BigCommerce each implement this as a built-in order status system with webhook events at each transition. The goal is to configure these transitions correctly, wire your 3PL or fulfillment system to the right webhooks, and automate side effects (confirmation emails, inventory deduction, tracking notifications) at each stage.
Custom state machine code is only needed for headless storefronts or complex multi-step B2B workflows that platforms cannot handle natively.
When to Use This Skill
- When order statuses become inconsistent (e.g., fulfilled orders showing as pending)
- When implementing automated order routing to a 3PL or fulfillment provider
- When adding order status webhooks for ERP, shipping, or returns integrations
- When building a custom headless order management system
Core Instructions
Step 1: Understand your platform's order statuses and transitions
| Platform | Order Statuses | Transition Mechanism |
|---|---|---|
| Shopify | Open → Partially Fulfilled → Fulfilled → Cancelled; Financial: Pending → Authorized → Paid → Refunded | Shopify Admin + webhooks; automated by Shopify Payments and fulfillment apps |
| WooCommerce | Pending → Processing → On Hold → Completed → Cancelled → Refunded → Failed | WooCommerce status system; transitions via admin, plugins, or wc_update_order_status() |
| BigCommerce | Pending → Awaiting Payment → Awaiting Fulfillment → Awaiting Shipment → Shipped → Completed + others | BigCommerce Admin + Orders API webhooks |
| Custom / Headless | Define your own state machine | Build with explicit transition validation |
Step 2: Configure order processing automation
Shopify
Configure payment → order confirmation flow:
- Shopify automatically moves orders from Open to Paid when Shopify Payments confirms the charge
- Go to Settings → Notifications to verify the Order confirmation email is enabled — this fires automatically on payment
- For non-Shopify payment methods, verify the gateway sends a payment success signal to Shopify; if orders stay Pending payment after payment, check your gateway settings
Set up automatic fulfillment for digital products:
- Go to Settings → Shipping and delivery → Fulfillment
- For digital products, enable Automatically fulfill the digital items in the order
Connect a 3PL or fulfillment center:
- Install your fulfillment provider's Shopify app (ShipBob, ShipHero, Whiplash, Amazon FBA, etc.) from the Shopify App Store
- Go to Settings → Shipping and delivery → Fulfillment services and add the service
- The app subscribes to Shopify's Order created or Order paid webhooks and automatically receives new orders
- When the 3PL ships an order, it pushes the tracking number back to Shopify via the Fulfillment API, which updates the order to Fulfilled and sends the shipping confirmation email automatically
Manual fulfillment workflow:
- Go to Orders → Unfulfilled tab to see all orders awaiting fulfillment
- Click an order and select Mark as fulfilled after shipping; enter the tracking number
- The customer receives an automated tracking email when the order is marked fulfilled
Set up order webhooks for external systems (ERP, etc.):
- Go to Settings → Notifications → Webhooks (or use the Partner Dashboard for app-level webhooks)
- Add webhooks for: Order creation, Order payment, Order fulfillment, Order cancellation
- Each webhook sends the full order JSON to your endpoint for processing
WooCommerce
Understand the default order flow:
- Pending payment → customer placed order, not yet paid
- Processing → payment received; order is being prepared (default for paid orders)
- Completed → order delivered; manually set or automated by shipping plugin
- On hold → payment uncertain (e.g., bank transfer awaiting confirmation)
Configure automatic status transitions:
- Go to WooCommerce → Settings → Payments → [Gateway] → Order status for each payment method and set the status on payment (typically "Processing" for instant payment methods)
- For virtual/downloadable orders, go to WooCommerce → Settings → Products → Downloadable products and set "Grant access to downloadable products after payment" to change orders to "Completed" automatically
Connect a shipping/fulfillment plugin:
- Install your shipping plugin: WooCommerce ShipStation, WooCommerce ShipBob, or ELEX WooCommerce DHL/FedEx/UPS
- Configure the plugin to pull orders with "Processing" status for fulfillment
- When the plugin ships an order and gets a tracking number, it updates the order status to "Completed" and sends a tracking email automatically
**Custom status transit
Установить order-processing-pipeline в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
claude-codecursorgemini-clicopilotcodex-clikiroopencodeВложенные файлы
FAQ
Что делает скилл order-processing-pipeline?
Implement a reliable order state machine that moves orders from pending through payment, fulfillment, and delivery with webhook-driven transitions
Как установить скилл order-processing-pipeline?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл order-processing-pipeline запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub