# Shopify Merchant Feed QA + n8n (`aunggat-shah/shopify-merchant-feed-qa`) Actor

Find price and stock differences between Shopify feed rows and exact-variant static page evidence. Get a results table, HTML report, structured JSON and a corresponding n8n workflow. Start with a one-click synthetic demo.

- **URL**: https://apify.com/aunggat-shah/shopify-merchant-feed-qa.md
- **Developed by:** [Aunggat Shah](https://apify.com/aunggat-shah) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

$10.00 / 1,000 completed comparisons

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

## Shopify Merchant Feed QA + n8n

Find price and stock differences between a Shopify feed and the static evidence for the exact product variant. Get a results table, an HTML evidence report, structured JSON, and a corresponding n8n workflow.

### Try the demo

Leave **Mode = demo** and click **Start**. No storefront or credentials are needed. The synthetic example returns four rows: one match, two mismatches and one unavailable page.

Open **Variant findings** for the results table. **Structured report** contains the summary and evidence. For the formatted report, open or download **HTML evidence report**; if your browser does not display the embedded preview, open its link in a new tab.

### Check your feed

1. Choose **live** and enter your exact storefront hostname and currency.
2. Confirm that you are authorized to inspect the store.
3. Paste feed rows or a CSV/TSV export with `id`, `link`, `price` and `availability`. Each product link must include its numeric variant, for example `https://your-store.example/products/shirt?variant=12345`.
4. Run the check and review coverage alongside the findings.

Optional feed fields include `sku`, `currency`, `sale_price` and `sale_price_effective_date`. Sale dates need explicit timezones. One run accepts **1–50 rows**, one host and one currency. Input is never silently truncated.

For repeatable checks, choose **snapshots** and supply saved HTML in `pages`, keyed by each exact feed URL. A page entry has `status`, `html` and `finalUrl`. Snapshot results describe the supplied evidence; they do not establish when it was captured.

### Understand each result

| Result | Meaning | Next step |
| --- | --- | --- |
| `observed_match` | The supported fields agree for the identified variant | Keep the evidence and monitor your feed |
| `mismatch` | A price or stock difference was observed | Confirm the market and sale timing, then reconcile the source |
| `needs_review` | The evidence is missing, ambiguous or unsupported | Inspect the exact variant and feed row |
| `source_failure` | The page was unavailable or access was refused | Check authorized access before retrying |

Partial coverage is not an all-clear. Currency differences are flagged without comparing numbers across currencies. Exact variant identity, currency, offer conditions and price validity must be resolved before a supported comparison is counted.

### Corresponding n8n workflow included

Every successful run includes **Download corresponding n8n workflow** and **n8n setup instructions** in Output. Import the JSON into n8n, add your own Apify Header Auth and Telegram credentials, then test manually. The public Actor is already selected. The template starts inactive.

The workflow refreshes an authorized CSV/TSV feed, runs the checker and sends a coverage digest. Long reports are split into messages. Configure your timezone and an n8n error workflow before activating the schedule. It does not maintain a change-detection baseline; retries may repeat notifications. Apify usage and n8n hosting have separate costs.

The workflow was exercised in n8n 2.45.7 across seven isolated scenarios, including feed failure, upstream failure and notification failure. External services were mocked; real Telegram delivery was not tested.

### Scope and limits

This release compares static Schema.org Product/Offer JSON-LD, including Products nested in ProductGroup. It does not render JavaScript or verify checkout, tax, shipping or Google Merchant Center approval. Missing or conflicting evidence is reported for review. Real merchant coverage and an actual Shopify development-store import are not yet verified.

The live reader respects robots.txt, checks public IP addresses and TLS, stays on the exact hostname and stops after access refusal. It does not bypass storefront protection. Password-protected development stores require supplied snapshots for this checker.

Limits: 1 MB feed text, 2 MB per page, 6 MB total input, and approximately 100 seconds of retrieval. Use only data and stores you are authorized to inspect. Avoid personal data in feeds and review report retention in your Apify account.

### Pricing

**$0.01 per completed supported comparison ($10 per 1,000).** A row is charged once when its supported price/currency/stock comparison is complete, whether it matches or reveals a mismatch. The synthetic demo, review cases, and unavailable sources have no comparison charge. There is no startup or automatic dataset-row charge. Results and reports are saved before charging.

Set the run's **Max total charge** to cover the supplied rows: 10 rows need a $0.10 limit; 50 rows need $0.50. This is a ceiling, not a flat fee: incomplete rows are not charged. An insufficient limit stops the run before fetching any store data and tells you how to adjust it. All supplied rows are returned; none are silently dropped to fit a budget. Your Apify account usage limits still apply.

The corresponding n8n workflow sets a $0.50 charge ceiling for up to 50 rows. Review pricing and test your feed before enabling a schedule.

# Actor input Schema

## `mode` (type: `string`):

Demo is synthetic. Live checks only stores you are authorized to inspect.

## `storeDomain` (type: `string`):

Exact hostname, without https:// or path. Only this host is retrieved.

## `currency` (type: `string`):

Explicit currency. No inferred or cross-currency price comparison.

## `items` (type: `array`):

1–50 rows with id, link including ?variant=ID, price and availability. Optional sku, currency, sale_price, sale_price_effective_date.

## `feedText` (type: `string`):

At most 50 rows and 1 MB. Required columns: id, link, price, availability. Export current feed data first.

## `feedFormat` (type: `string`):

Used with feedText. Defaults to csv.

## `pages` (type: `object`):

Snapshot mode only. Map exact feed URLs to objects with status, html and finalUrl. At most 2 MB per page; 6 MB total input.

## `authorizedToCheck` (type: `boolean`):

Required true for live mode. Respect store terms and obtain permission where needed.

## `shopifySignatureInput` (type: `string`):

Merchant-issued domain-scoped crawler credential. Supply both signature fields. Never a login cookie.

## `shopifySignature` (type: `string`):

Matching merchant-issued signature; transmitted only to the exact storefront hostname.

## Actor input object example

```json
{
  "mode": "demo"
}
```

# Actor output Schema

## `findings` (type: `string`):

No description

## `report` (type: `string`):

No description

## `json` (type: `string`):

No description

## `n8n` (type: `string`):

No description

## `n8nSetup` (type: `string`):

No description

# 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 = {};

// Run the Actor and wait for it to finish
const run = await client.actor("aunggat-shah/shopify-merchant-feed-qa").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 = {}

# Run the Actor and wait for it to finish
run = client.actor("aunggat-shah/shopify-merchant-feed-qa").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 '{}' |
apify call aunggat-shah/shopify-merchant-feed-qa --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,aunggat-shah/shopify-merchant-feed-qa"
        }
    }
}
```

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/PiL6qX1U501sBupt0/builds/gf1fg9JrcPhy0hLOA/openapi.json
