{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "awin-cashback",
  "version": "0.1.1",
  "description": "Find the cashback rate and the cashback link for an online shop on cashback portals in the Awin network.",
  "author": {
    "name": "Awin",
    "url": "https://www.awin.com"
  },
  "homepage": "https://cashback.shop.awin.com/",
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Shop with Cashback",
        "shortDescription": "Cashback rates and links",
        "longDescription": "Find the cashback rate and the cashback link for an online shop on cashback portals in the Awin network, in the country where you shop. You open the link in your own browser and sign in to the portal yourself.",
        "developerName": "Awin",
        "category": "Other",
        "capabilities": [],
        "websiteURL": "https://cashback.shop.awin.com/",
        "supportURL": "https://www.awin.com/contact",
        "privacyPolicyURL": "https://www.awin.com/privacy",
        "termsOfServiceURL": "https://cashback.shop.awin.com/terms",
        "defaultPrompt": [
          "Where can I get cashback on this purchase?"
        ],
        "composerIcon": "./assets/logo.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "Find cashback for a shop by name",
              "prompt": "Is there cashback at ASOS in the UK?",
              "tools_triggered": "search_merchants",
              "expected_behavior": "Return ASOS on TopCashback UK with its cashback rate shown as 'up to', and the cashback link for the user to open."
            },
            {
              "description": "Find cashback for a shop by domain",
              "prompt": "Can I get cashback on nike.com in the US?",
              "tools_triggered": "search_merchants",
              "expected_behavior": "Return Nike on TopCashback US with its cashback rate as returned and the cashback link."
            },
            {
              "description": "List the portals for a country",
              "prompt": "Which cashback portals can I use in Germany?",
              "tools_triggered": "list_cashback_portals",
              "expected_behavior": "List the participating cashback portal for Germany with its website."
            },
            {
              "description": "Explain how a portal works",
              "prompt": "How does cashback work on TopCashback in France?",
              "tools_triggered": "list_cashback_portals",
              "expected_behavior": "Explain the portal's steps from its howItWorks text and show its commission disclosure."
            },
            {
              "description": "Handle a shop that is not covered",
              "prompt": "Is there cashback at Zzyzx Hardware in the UK?",
              "tools_triggered": "search_merchants",
              "expected_behavior": "Say the shop is not covered by the participating portals, without inventing a rate or a link."
            }
          ],
          "negative": [
            {
              "description": "Price comparison",
              "prompt": "Compare prices for a new phone across online shops."
            },
            {
              "description": "Portal account access",
              "prompt": "Log in to my TopCashback account and show my balance."
            },
            {
              "description": "Unrelated local search",
              "prompt": "Find a restaurant near me for tonight."
            }
          ]
        },
        "demo_recording_url": "https://zanox-my.sharepoint.com/personal/patrick_woessner_awin_com/_layouts/15/stream.aspx?id=%2Fpersonal%2Fpatrick%5Fwoessner%5Fawin%5Fcom%2FDocuments%2FCashback%2DConnector%2DDemo%2Emov&share=cQoDPK2zUnjvRKMdKJ%5FO0z4SEgUCVmgiE3ZX2PBDL%5F2rbFrseA&isSPOFile=1&web=1",
        "commerce": false,
        "commerce_description": "The plugin doesn't sell products, take orders or process payments. It shows cashback rates from participating cashback portals and returns cashback tracking links. A link opens the portal, then the shop's own website (not a checkout page), where the user shops and pays. The portal earns a commission from the shop and passes part of it to the user as cashback; Awin, the affiliate network, may earn a fee paid by the shop."
      },
      "publication": {
        "countries": [
          "US",
          "GB",
          "DE",
          "FR",
          "AU",
          "IT"
        ]
      },
      "apps": "./.app.json"
    }
  }
}
