# Agent Wake-Up: Smart Website Change, Price & Diff Trigger (`signalpipe/agent-wakeup-website-change-webhook-trigger`) Actor

Save 99% of background AI agent token costs. Monitors URLs for real pricing, stock, heading & semantic text changes with dynamic noise stripping, A/B test flip-flop suppression & cooldown circuit breakers. Fires compact JSON diff webhooks to n8n, Make, LangGraph & MCP agents.

- **URL**: https://apify.com/signalpipe/agent-wakeup-website-change-webhook-trigger.md
- **Developed by:** [SignalPipe API](https://apify.com/signalpipe) (community)
- **Categories:** AI, Developer tools, Automation
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$2.00 / 1,000 extracted career board jobs

This Actor is paid per event. You are not charged for the Apify platform usage, but only a fixed price for specific events.

Learn more: https://docs.apify.com/actors/running/actors-in-store.md#pay-per-event

## What's an Apify Actor?

An Actor is a serverless cloud program that runs on the Apify platform. It has two run modes.
In Batch mode, an Actor accepts a well-defined JSON input, performs an action which can take anything from a few seconds to a few hours,
and optionally produces a well-defined JSON output, datasets with results, or files in key-value store.
In Standby mode, an Actor provides a web server which can be used as a website, API, or an MCP server.

Apify vocabulary and the platform model are defined once, in the agent quickstart at https://apify.com/agents.md.

## How to integrate an Actor?

If asked about integration, you help developers integrate Actors into their projects.
You adapt to their stack and deliver integrations that are safe, well-documented, and production-ready.

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 examples already wired to this Actor's own input schema, see the [API](#api) section below.

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`).

# README

## Agent Wake-Up: Smart Website Change, Price & State-Diff Webhook Trigger ($0.75 / 1k)

Stop burning thousands of dollars in LLM tokens running continuous background AI agents just to check if a webpage changed. **Agent Wake-Up** deterministically monitors competitor pricing pages, product availability, documentation, terms of service, and career boards—waking up your AI agent (**n8n, Make.com, LangGraph, CrewAI, Clay, or MCP**) **only when a verified, noise-filtered state change occurs**.

***

### Why AI Agents Need a Dedicated Wake-Up Engine (Not Visualping)

Traditional website change tools were built for humans: they email screenshots whenever a pixel shifts or a dynamic timestamp updates. When wired to an autonomous AI agent, false alarms trigger runaway LLM loops and drain API budgets.

**Agent Wake-Up** includes a **5-Layer Runaway-Cost Circuit Breaker**:

1. **Dynamic Noise Stripping:** Automatically removes `<script>`, `<style>`, SVG icons, CSRF tokens, session IDs, UTM tracking params, relative timestamps (*"Updated 4 mins ago"*), and rotating cache hashes before computing the semantic SHA-256 fingerprint.
2. **A/B Test Flip-Flop Suppression (`seenHashes` Ring Buffer):** Websites frequently serve 50/50 A/B test headlines. Agent Wake-Up remembers a rolling ring buffer of the last 5 state hashes per URL in your persistent Apify Key-Value Store (`agent-wakeup-state`) so recurring A/B variants never false-wake your agent.
3. **Structured Fact Extraction (`wakeOn` Filters):** Filter wake-up events strictly to `price_change` (`$49/mo` $\rightarrow$ `$79/mo`, JSON-LD `offers.price`), `stock_change` (`IN_STOCK` $\leftrightarrow$ `OUT_OF_STOCK`), `heading_change` (`h1`–`h3` tier names), or `keyword_match` (`Enterprise`, `SOC2`, `Deprecated`).
4. **Per-URL Cooldown Timer (`cooldownMinutes`):** Guarantees that even if a target page is edited 20 times in an hour, your agent is woken up at most once per cooldown window (default: 60 minutes).
5. **Hard Cap Per Run (`maxWakeupsPerRun`) & Minimum Change Threshold (`minChangePercent`):** Ignores micro-typos below your change threshold and enforces a strict ceiling on webhook dispatches per run.

***

### Token-Optimized Output for LLMs & Webhooks

Instead of dumping 100,000 tokens of raw HTML into your agent's context window, every item (and webhook POST payload) delivers a compact, 150-token structured diff:

```json
{
  "url": "https://linear.app/pricing",
  "status": "CHANGED_WAKEUP_FIRED",
  "wakeAgent": true,
  "changeSeverity": "HIGH",
  "changeScorePercent": 8.4,
  "agentBrief": "WAKE-UP [HIGH]: https://linear.app/pricing changed (8.4% semantic delta). Price changes: +[$14/user/mo], -[$10/user/mo]. Watch keywords matched: [Enterprise].",
  "extractedPrices": ["$0", "$10", "$14", "$16"],
  "priceDiff": {
    "added": ["$14"],
    "removed": ["$12"]
  },
  "stockStatus": "UNKNOWN",
  "keywordHits": ["Enterprise"],
  "addedLines": ["Business Plan $14 per user/month billed annually"],
  "removedLines": ["Business Plan $12 per user/month billed annually"]
}
```

***

### ⚡ 30-Second Quick Start (Clay.com, n8n, Make.com & Claude/Cursor MCP)

![Zero Proxies](https://img.shields.io/badge/Proxies-None_Required_\(0%25_Cost\)-10b981) ![Latency](https://img.shields.io/badge/Latency-%3C3s_JSON_API-3b82f6) ![Pricing](https://img.shields.io/badge/Pricing-Pay_Per_Event_\(Free_Tier_Ready\)-8b5cf6)

#### 1. Clay.com & n8n Synchronous HTTP API Call (Returns JSON Immediately)

Call this Actor synchronously in a single **Clay HTTP API** column or **n8n HTTP Request** node:

- **Method:** `POST`
- **Endpoint URL:**
  ```text
  https://api.apify.com/v2/acts/signalpipe~agent-wakeup-website-change-webhook-trigger/run-sync-get-dataset-items?token=YOUR_APIFY_TOKEN
  ```
- **Headers:** `Content-Type: application/json`
- **JSON Body:**
  ```json
  ```

{
"urls": \[
"https://apify.com/pricing"
],
"wakeOn": \[
"price_change",
"heading_change"
]
}

````

#### 2. Claude Desktop, Cursor & Windsurf MCP Server Config (`mcp.json`)
Expose this Actor as a native tool to your AI agent via `@apify/actors-mcp-server`:

```json
{
"mcpServers": {
  "signalpipe-agent-wakeup-websi": {
    "command": "npx",
    "args": [
      "-y",
      "@apify/actors-mcp-server",
      "--actors",
      "signalpipe/agent-wakeup-website-change-webhook-trigger"
    ],
    "env": {
      "APIFY_TOKEN": "YOUR_APIFY_API_TOKEN"
    }
  }
}
}
````

***

### 🔗 Explore the Complete `@signalpipe` Zero-Proxy B2B & AI Agent API Suite

All 12 `@signalpipe` Actors use direct public JSON APIs, protobuf RPC endpoints, and live DNS records (`0.0%` proxy overhead, `<3s` execution, compatible with Apify's free `$5/mo` credit tier):

| B2B / AI Agent API Actor | Pay-Per-Event Pricing | Store Link |
| :--- | :--- | :--- |
| [Greenhouse, Ashby, Lever & SmartRecruiters ATS Jobs API](https://apify.com/signalpipe/multi-ats-jobs-hiring-signals-api) | `$2.50 / 1k` | [Try Free →](https://apify.com/signalpipe/multi-ats-jobs-hiring-signals-api) |
| [Shopify, Impressum, Legal Imprint & MX Email Verifier](https://apify.com/signalpipe/b2b-ecom-imprint-email-verifier) | `$2.00 / 1k` | [Try Free →](https://apify.com/signalpipe/b2b-ecom-imprint-email-verifier) |
| [Google Ads Transparency Center Scraper & Ad Spy API](https://apify.com/signalpipe/google-ads-transparency-competitor-spy-api) | `$0.95 / 1k` | [Try Free →](https://apify.com/signalpipe/google-ads-transparency-competitor-spy-api) |
| [German Impressum & EU Legal Imprint Contact Scraper](https://apify.com/signalpipe/german-impressum-imprint-contact-scraper) | `$2.50 / 1k` | [Try Free →](https://apify.com/signalpipe/german-impressum-imprint-contact-scraper) |
| [Shopify Store Leads, Contacts & Product Catalog Scraper](https://apify.com/signalpipe/shopify-store-leads-product-price-scraper) | `$2.00 / 1k` | [Try Free →](https://apify.com/signalpipe/shopify-store-leads-product-price-scraper) |
| [Ashby, Greenhouse & Lever Jobs Scraper (Direct Career API)](https://apify.com/signalpipe/ashby-greenhouse-lever-jobs-scraper) | `$2.00 / 1k` | [Try Free →](https://apify.com/signalpipe/ashby-greenhouse-lever-jobs-scraper) |
| [Bulk Email Verifier & Validator (Live DNS MX, SPF & DMARC)](https://apify.com/signalpipe/bulk-email-verifier-mx-dmarc-validator) | `$0.45 / 1k` | [Try Free →](https://apify.com/signalpipe/bulk-email-verifier-mx-dmarc-validator) |
| [Workday Jobs API & Career Site Scraper (No Proxies)](https://apify.com/signalpipe/workday-jobs-career-site-scraper) | `$1.50 / 1k` | [Try Free →](https://apify.com/signalpipe/workday-jobs-career-site-scraper) |
| [Mobile & iOS App Store Reviews & Metadata Extractor API](https://apify.com/signalpipe/apple-app-store-reviews-apps-scraper) | `$0.35 / 1k` | [Try Free →](https://apify.com/signalpipe/apple-app-store-reviews-apps-scraper) |
| [Website Tech Stack & B2B Technographics Detector API](https://apify.com/signalpipe/builtwith-website-tech-stack-detector-api) | `$0.95 / 1k` | [Try Free →](https://apify.com/signalpipe/builtwith-website-tech-stack-detector-api) |
| [Google Keyword Autocomplete, Long-Tail & Buyer Intent SEO API](https://apify.com/signalpipe/google-keyword-autocomplete-buyer-intent-api) | `$0.50 / 1k` | [Try Free →](https://apify.com/signalpipe/google-keyword-autocomplete-buyer-intent-api) |
| [Agent Wake-Up: Smart Website Change & State-Diff Trigger](https://apify.com/signalpipe/agent-wakeup-website-change-webhook-trigger) | `$0.75 / 1k` | **(Current Actor)** |

***

### ⚖️ Legal & Trademark Disclaimer

This Actor is an independent data integration tool developed by `@signalpipe` that queries publicly accessible web endpoints, syndication feeds, and DNS records. It is **not affiliated with, endorsed by, or sponsored by** Apple Inc., BuiltWith Pty Ltd, Workday Inc., Shopify Inc., Alphabet Inc. (Google), Greenhouse Software, Ashby Inc., Lever, or any other third-party trademark owner mentioned for descriptive compatibility purposes. All product names, trademarks, and registered trademarks are the property of their respective owners.

# Actor input Schema

## `urls` (type: `array`):

List of competitor pricing pages, product URLs, docs, terms of service, or career pages to watch for meaningful state changes.

## `wakeOn` (type: `array`):

Choose which change types are allowed to wake up your AI agent. Filtering to 'price_change' or 'stock_change' prevents minor copy edits from burning agent tokens.

## `watchKeywords` (type: `array`):

Optional keywords (e.g. 'Enterprise', 'SOC2', 'Out of stock', 'Deprecated', 'AI Agent') that trigger an immediate HIGH-severity wake-up when added or removed.

## `minChangePercent` (type: `number`):

Minimum percentage of semantic lines that must change to trigger a wake-up (unless a direct price, stock, or watch-keyword change occurs). Prevents typos and minor counters from waking agents.

## `cooldownMinutes` (type: `integer`):

Minimum minutes between wake-up alerts for the same URL. Protects your AI agent budget if a website is being edited repeatedly.

## `maxWakeupsPerRun` (type: `integer`):

Hard cap on how many webhook wake-ups can fire in a single scheduled run to guarantee predictable downstream LLM spend.

## `webhookUrl` (type: `string`):

Optional HTTP POST webhook URL. Receive a token-optimized JSON diff payload ONLY when a verified wake-up event occurs.

## `stateStoreName` (type: `string`):

Name of the persistent Apify Key-Value Store used to remember historical snapshots, cooldown timestamps, and A/B test hash rings across scheduled runs.

## Actor input object example

```json
{
  "urls": [
    "https://apify.com/pricing",
    "https://linear.app/pricing"
  ],
  "wakeOn": [
    "price_change",
    "stock_change",
    "heading_change",
    "keyword_match",
    "meaningful_text_change"
  ],
  "watchKeywords": [
    "Enterprise",
    "Free",
    "Pro",
    "Discount"
  ],
  "minChangePercent": 1.5,
  "cooldownMinutes": 60,
  "maxWakeupsPerRun": 10,
  "webhookUrl": "",
  "stateStoreName": "agent-wakeup-state"
}
```

# Actor output Schema

## `dataset` (type: `string`):

Dataset containing all extracted and enriched records

# API

You can run this Actor programmatically using our API. Below are code examples in JavaScript, Python, and CLI, as well as the OpenAPI specification and MCP server setup.

## JavaScript example

```javascript
import { ApifyClient } from 'apify-client';

// Initialize the ApifyClient with your Apify API token
// Replace the '<YOUR_API_TOKEN>' with your token
const client = new ApifyClient({
    token: '<YOUR_API_TOKEN>',
});

// Prepare Actor input
const input = {
    "urls": [
        "https://apify.com/pricing",
        "https://linear.app/pricing"
    ]
};

// Run the Actor and wait for it to finish
const run = await client.actor("signalpipe/agent-wakeup-website-change-webhook-trigger").call(input);

// Fetch and print Actor results from the run's dataset (if any)
console.log('Results from dataset');
console.log(`💾 Check your data here: https://console.apify.com/storage/datasets/${run.defaultDatasetId}`);
const { items } = await client.dataset(run.defaultDatasetId).listItems();
items.forEach((item) => {
    console.dir(item);
});

// 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/js/docs

```

## Python example

```python
from apify_client import ApifyClient

# Initialize the ApifyClient with your Apify API token
# Replace '<YOUR_API_TOKEN>' with your token.
client = ApifyClient("<YOUR_API_TOKEN>")

# Prepare the Actor input
run_input = { "urls": [
        "https://apify.com/pricing",
        "https://linear.app/pricing",
    ] }

# Run the Actor and wait for it to finish
run = client.actor("signalpipe/agent-wakeup-website-change-webhook-trigger").call(run_input=run_input)

# Fetch and print Actor results from the run's dataset (if there are any)
print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
for item in client.dataset(run.default_dataset_id).iterate_items():
    print(item)

# 📚 Want to learn more 📖? Go to → https://docs.apify.com/api/client/python/docs/quick-start

```

## CLI example

```bash
echo '{
  "urls": [
    "https://apify.com/pricing",
    "https://linear.app/pricing"
  ]
}' |
apify call signalpipe/agent-wakeup-website-change-webhook-trigger --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,signalpipe/agent-wakeup-website-change-webhook-trigger"
        }
    }
}
```

The hosted server signs you in with OAuth on first connect, so no API token belongs in this config. Clients without OAuth support can send an `Authorization: Bearer <APIFY_API_TOKEN>` header instead, using a token from API & Integrations in Apify Console (https://console.apify.com/settings/integrations).

## OpenAPI specification

Download the OpenAPI definition: https://api.apify.com/v2/actors/6Op4sEXN25esn8XJN/builds/8yTAKtXrC7Y6UGM6j/openapi.json
