← Files AIOD Discounts & Free GiftARCHIVED FILE

plugin.json

6.35 KB · Nov 7, 2026 · 06:14 UTC

↓ Download file

{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "aiod-discounts-free-gift",
  "version": "1.0.3",
  "description": "Find, inspect, analyze, draft and test-create the automatic discounts the AIOD Shopify app manages for a store.",
  "author": {
    "name": "AIOD",
    "email": "aiod-app@dtcdevelopers.org",
    "url": "https://www.aiodapp.com"
  },
  "homepage": "https://www.aiodapp.com",
  "keywords": [
    "shopify",
    "discounts",
    "promotions",
    "bogo",
    "free gift",
    "ecommerce"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "AIOD Discounts & Free Gift",
        "shortDescription": "Build and analyze discounts",
        "longDescription": "AIOD helps Shopify merchants run promotions with the AIOD Discount & Gift app: BOGO and buy X get Y, free gifts with purchase, tiered and volume quantity breaks, bundles and fixed combo prices, free shipping thresholds, and percentage or fixed-amount sales.\n\nConnect your store to find and inspect the discounts AIOD manages, see why an offer is or isn't applying at checkout, review aggregate performance (orders, influenced revenue, discount given, average order value), and search the AIOD setup documentation.\n\nAIOD can also draft a new or updated discount as a prefilled editor link for you to review and save, or create a validated discount in test mode, which applies only to the store's test email address until you activate it yourself in the app.\n\nLimitations: AIOD covers only discounts created in the AIOD app. It does not read or change discount codes created in the Shopify admin or by other apps, does not access orders, products or customer records, and cannot activate or delete a discount. Requires the AIOD Discount & Gift app installed on your Shopify store.",
        "developerName": "AIOD",
        "category": "Business & Operations",
        "capabilities": [
          "Find store discounts",
          "Read a discount's setup",
          "Discount performance reports",
          "Search setup documentation",
          "Draft discounts for review",
          "Create discounts in test mode"
        ],
        "websiteURL": "https://www.aiodapp.com",
        "supportURL": "https://www.aiodapp.com/contact/",
        "privacyPolicyURL": "https://www.aiodapp.com/privacy-policy/",
        "termsOfServiceURL": "https://www.aiodapp.com/dpa/",
        "defaultPrompt": [
          "Why isn't my free gift offer applying at checkout?",
          "How much revenue did my BOGO promotion bring in last month?",
          "Draft a buy 2 get 1 free offer on my summer collection."
        ],
        "brandColor": "#F7545E",
        "brandColorDark": "#F7545E",
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Inspect why an existing promotion may not apply at checkout.",
              "prompt": "Find my summer BOGO and show me its current conditions and rewards so I can understand why it is not applying at checkout.",
              "tools_triggered": "shopify_discount_find, shopify_discount_get",
              "expected_behavior": "Identifies the matching AIOD-managed discount and explains its stored conditions, rewards, and combination settings without changing it."
            },
            {
              "description": "Report aggregate performance for an existing discount.",
              "prompt": "How much revenue did my free gift promotion influence last month, and what was its average order value?",
              "tools_triggered": "shopify_discount_find, shopify_discount_performance",
              "expected_behavior": "Returns aggregate revenue, order count, discount value, average order value, currency, and the requested date range for the matching promotion."
            },
            {
              "description": "Draft a new free-gift promotion for merchant review.",
              "prompt": "Draft a free gift offer for orders over $75, but do not create it in Shopify yet.",
              "tools_triggered": "shopify_discount_config_schema, shopify_discount_draft",
              "expected_behavior": "Builds and validates the supported configuration, then returns a private prefilled editor link for review without creating a Shopify discount."
            },
            {
              "description": "Create a validated promotion restricted to test mode.",
              "prompt": "Create a test-mode 15% discount for the summer collection so I can verify it before activating it for shoppers.",
              "tools_triggered": "shopify_discount_config_schema, shopify_discount_publish",
              "expected_behavior": "Creates the validated discount in test mode, returns its test email and editor link, and explains that a merchant must activate it manually."
            },
            {
              "description": "Answer a product setup question from AIOD documentation.",
              "prompt": "How do AIOD automatic discounts combine with Shopify discount codes?",
              "tools_triggered": "shopify_discount_docs_search",
              "expected_behavior": "Finds and summarizes the relevant AIOD documentation without accessing or changing store data."
            }
          ],
          "negative": [
            {
              "description": "Do not invoke AIOD for a native Shopify discount code outside the app's scope.",
              "prompt": "Edit the WELCOME10 discount code that I created directly in Shopify Admin."
            },
            {
              "description": "Do not invoke AIOD for customer-level order data.",
              "prompt": "Show me every customer who ordered yesterday, including their email addresses and purchased items."
            },
            {
              "description": "Do not invoke unsupported activation or deletion actions.",
              "prompt": "Activate my holiday discount for all shoppers and permanently delete the old one."
            }
          ]
        },
        "commerce": false,
        "demo_recording_url": "https://www.youtube.com/watch?v=BRDAUKfpRyc"
      },
      "publication": {
        "release_notes": "Repackaged for a fresh plugin submission with a portable package name and explicit OAuth dynamic client registration configuration. Discount tool behavior is unchanged."
      },
      "apps": "./.app.json"
    }
  }
}

SHA-256: ece649396d333709888cc15dfc1ba3496268ff5adf652c5f5999ea32503b1169