# Shopify Price Drop Alert for Competitors

**Use case:** 

Get alerted when competitor Shopify stores cut prices. This example watches two stores and reports only price drops of 5% or more, plus products going out of stock or back in stock. The first run saves a baseline; every run after that returns just what changed. Add your own store URLs, schedule it daily, and connect email or Slack to get alerts automatically.

## Input

```json
{
  "shopUrls": [
    "https://www.deathwishcoffee.com",
    "https://allbirds.com"
  ],
  "mode": "changes",
  "watch": [
    "price",
    "availability"
  ],
  "minPriceChangePct": 5,
  "direction": "down",
  "maxProductsPerShop": 0,
  "maxChangesPerShop": 0,
  "stateStoreName": "shopify-price-drop-example",
  "resetState": false,
  "requestDelayMs": 300
}
```

## Output

```json
{
  "shopDomain": {
    "label": "Store",
    "format": "text"
  },
  "changeType": {
    "label": "Change",
    "format": "text"
  },
  "title": {
    "label": "Product",
    "format": "text"
  },
  "variantTitle": {
    "label": "Variant",
    "format": "text"
  },
  "priceBefore": {
    "label": "Price before",
    "format": "text"
  },
  "priceAfter": {
    "label": "Price after",
    "format": "text"
  },
  "priceChangePct": {
    "label": "Change %",
    "format": "number"
  },
  "availableBefore": {
    "label": "In stock before",
    "format": "boolean"
  },
  "availableAfter": {
    "label": "In stock after",
    "format": "boolean"
  },
  "productUrl": {
    "label": "URL",
    "format": "link"
  },
  "imageUrl": {
    "label": "Image",
    "format": "image"
  },
  "detectedAt": {
    "label": "Detected",
    "format": "date"
  },
  "error": {
    "label": "Error",
    "format": "text"
  },
  "message": {
    "label": "Message",
    "format": "text"
  }
}
```

## About this Actor

This example demonstrates how to use [Shopify Price & Stock Change Monitor](https://apify.com/duffy1990/shopify-price-change-monitor.md) with a specific input configuration. Visit the [Actor detail page](https://apify.com/duffy1990/shopify-price-change-monitor.md) to learn more, explore other use cases, and run it yourself.


## How to integrate an Actor?

This Task's input is already configured above. Use it as-is rather than inventing a new one.

Do not guess an integration path. Every one of them is in the agent quickstart at https://apify.com/agents.md: the Apify MCP server, Agent Skills with the Apify CLI, the JavaScript and Python clients, the REST API, and the account-free path for an agent with no human to sign in. It also carries the rule on stating cost before the first paid run.

For full API examples (JavaScript, Python, CLI, MCP, OpenAPI), see this Task's Actor page: https://apify.com/duffy1990/shopify-price-change-monitor.md

Each client library has reference documentation the quickstart does not restate: [JavaScript/TypeScript](https://docs.apify.com/api/client/js/docs.md) (`npm install apify-client`) and [Python](https://docs.apify.com/api/client/python/docs.md) (`pip install apify-client`).
