ecommerce support chatbot

    by Ajay Singh

    1

    A SQLite-backed support desk skill for managing e-commerce orders, policies, returns, and cancellations.

    $1

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    ecommerce support chatbot

    Example session with this skill installed

    Customer arjun@example.com wants to know if they can return order #5021. Check their order status and our return policy.

    • Read your context and instructions
    • Compiled the ecommerce support chatbot

    I have checked the order status and the store policy for arjun@example.com.

    Return Eligibility Audit for Order #5021

    ItemOrder StatusDelivery DatePolicy SourceEligible?
    Voltcart Wireless BudsDELIVERED2023-10-25returns_policy.mdYes

    Order Details:

    • Order ID: 5021
    • Status: DELIVERED (Delivered 12 days ago)
    • Customer: Arjun (arjun@example.com)

    Policy Search Results:
    According to returns_policy.md, customers can return items within a

    30-day window of the delivery date. Since this order was delivered 12 days ago, it is currently within the eligibility period. The return will be marked as REFUND_PENDING once initiated, with the final refund issued after warehouse inspection.

    Draft Response for Operator Review:
    "Hi Arjun, I've checked order #5021 for the Wireless Buds. Since they were delivered less than 30 days ago, you are eligible for a return. Would you like me to start that process for you?"

    Next steps

    1. Run python scripts/actions.py return --email arjun@example.com --order-id 5021 --product "Voltcart Wireless Buds" for a dry run.
    2. Ask the customer for a reason for the return if you wish to proceed.
    3. Once the reason is provided, confirm the action with the operator to update the database.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Customer support for e-commerce stores is a high-volume, repetitive bottleneck that demands absolute accuracy. This skill acts as a support agent, interfacing between your operators and a SQLite store database to manage order inquiries, policy lookups, and transaction requests.

    What it does

    • Order Tracking look up status, tracking numbers, and delivery dates for recent or specific orders.
    • Policy Retrieval search markdown or text-based policy files for shipping, refund, and cancellation rules.
    • Transaction History calculate total customer spend and identify high-value account activity.
    • Refund Management process returns for delivered items within a 30-day window, recording pending refunds.
    • Order Cancellation void placed orders before they enter the shipping workflow.

    How it works

    1. Initialize Run setup_demo.py to create the initial Voltcart database or point the skill to your custom SQLite file.
    2. Query Provide a customer email to retrieve order history, payment status, or active support tickets via lookup.py.
    3. Verify Execute a dry-run of a return or cancellation using actions.py to check eligibility against store rules.
    4. Approve Review the dry-run summary and provide explicit operator confirmation to commit changes to the database.

    Frameworks & tools

    This skill uses Python 3.9+ standard library scripts. It requires a SQLite database and handles policy documents in .md or .txt formats.

    Why this beats prompting it yourself

    Prompting alone lacks the stateful logic required to verify return windows or calculate refund eligibility accurately. This skill enforces strict operational constraints, such as only allowing cancellations for un-shipped orders, which a standard LLM might otherwise overlook or hallucinate.

    Use cases

    • Drafting accurate email responses based on real-time order status and store policies.
    • Identifying if a customer is eligible for a return based on a strict 30-day delivery window.
    • Checking a customer's total lifetime spend to prioritize high-value support tickets.

    Known limitations

    Works only with SQLite databases and local text-based policy files. It does not integrate with live payment gateways or send actual emails.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before buying a skill.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Money-back guarantee

    Doesn't do what its page promises? You get your money back.

    Trust & safety

    Security scan

    Security scan passed 9 days ago

    Software
    Python

    Permissions

    Terminal / Shell
    Write Files
    Environment Variables
    Listed9 days ago

    What's inside

    Frequently Asked Questions

    The skill includes a pre-configured SQLite schema, a set of Python scripts for database operations, a demo data generator, and documentation on how to link your own policy files.

    By using stateful SQLite logic, the skill verifies specific constraints—like the 30-day return window or shipping status—before suggesting an action, preventing the hallucinations common with LLMs alone.

    It is designed for any Python-enabled AI agent or workflow. As long as your agent can execute local scripts and has read/write access to the SQLite file, it can utilize these tools.

    No, this skill operates as a localized backend logic layer. It manages the data and verification steps, but you will need to connect it to your own email or chat API to send final messages to customers.

    Setup is straightforward: you can either use the included 'setup_demo.py' to build a fresh store database or simply update the configuration to point the scripts toward your existing SQLite file.

    This version supports SQLite databases and local text/markdown policy files; integration with cloud-hosted SQL variants or live Shopify/Amazon APIs would require manual extension of the Python scripts.

    New in E-commerce

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for E-commerce.