🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Haresh Checkout Flow

by @haresh-sai06

Process e-commerce checkout via n8n webhook integration

Versionv1.0.1
Downloads828
TERMINAL
clawhub install haresh-checkout-flow

πŸ“– About This Skill


name: haresh-checkout-flow description: "Process e-commerce checkout via n8n webhook integration" user-invocable: true

Checkout Flow Skill

Purpose

Manages the complete checkout process including validation, authentication, shipping, and payment.

When to Use

  • User wants to checkout or place an order
  • User asks to proceed to payment
  • User wants to complete their purchase
  • Workflow

    Step 1: Validate Cart

    Call n8n webhook at http://localhost:5678/webhook/checkout-validate to check cart items availability and inventory status

    Step 2: Check Authentication

    Determine if user is authenticated from context. If guest, present login options or continue as guest.

    Step 3: Collect Shipping Information

    Show saved addresses for authenticated users or collect details for guests.

    Step 4: Payment Processing

    Present payment options and call n8n webhook at http://localhost:5678/webhook/checkout-process

    Step 5: Order Confirmation

    Display order summary and get final confirmation from user.

    Security Requirements

  • Verify authentication status from JWT claims
  • Never store or log full payment details
  • Validate all inputs before sending to backend
  • Error Handling

  • If cart validation fails, show specific errors
  • If payment fails, allow retry with different method
  • If inventory changes, notify user
  • ⚑ When to Use

    TriggerAction
    - User asks to proceed to payment
    - User wants to complete their purchase