# RAM, drive and refurbished-server sourcing desk

Create three source-linked offer worksheets for memory, storage and whole systems, preserving configuration, condition, availability and currency.

Review replacement components beside configured-system offers before investigating a purchase. The package keeps RAM price per GB, drive price per TB and complete-server prices separate. It never assumes that a module or drive fits a listed server, and it does not turn a listed retail price into a resale margin.

## Run the historical demo

Requires Node.js 22 or newer. Open a terminal in this unzipped folder. No package installation is needed.

```sh
node run-workflow.mjs
node run-workflow.mjs --demo --out ./demo
```

Preview and demo make no network requests and need no token. The demo writes dated public fixture observations; it does not test current sources or execute the recipe inputs. Read each fixture evidence date and the stated projection limits.

## Run a small live workflow

Read workflow.json, current Store pricing and the three input blocks first. Set your own APIFY_TOKEN securely in your shell environment. Do not paste the token into a file or shared screenshot. The runner sends it only in the Authorization header to api.apify.com.

```sh
node run-workflow.mjs --execute --out ./run-001
```

This command starts three sequential Actor runs when you explicitly execute it. Inputs are independent, not automatically rewritten from earlier outputs. Each run has a $0.01 Actor-charge ceiling, a 120-second platform timeout and a one-row input limit. The summed Actor-charge ceilings are $0.03; other platform/storage charges can be separate. A new start needs a new folder. No schedules, webhooks, accounts, messages or third-party uploads are created.

The starter verifies current public status, notice, default build input schema and start-plus-one-row PPE pricing before each launch. A changed schema or a price that no longer fits stops the package; it never silently raises the cap. The selected default build number is recorded and requested explicitly.

If interrupted after a run ID was saved, resume the same folder:

```sh
node run-workflow.mjs --resume --out ./run-001
```

A launch intent with no saved run ID is ambiguous. Inspect Apify Console before taking action; the script will not repeat that launch. Resuming reuses accepted run IDs and continues only unstarted steps. An existing lock requires checking that the old process is stopped before removing that lock file.

## Three source roles

1. [Cloud Ninjas RAM Price & Stock Monitor](https://apify.com/maydit/ram-price-stock-monitor) — Inspect one Cloud Ninjas RAM offer with generation, module type, ECC and per-GB context.
2. [Enterprise HDD & SSD Price, Stock & Condition Monitor](https://apify.com/maydit/storage-drive-price-monitor) — Inspect one ServerPartDeals drive offer, preserving capacity, model and condition.
3. [Refurbished Server Offers - Configurations, Prices & Stock](https://apify.com/maydit/refurbished-server-offer-monitor) — Inspect one TechMikeNY configured server offer; RAM and installed storage are configuration evidence, not guaranteed upgrade compatibility.

## Work with the delivery

1. Run the offline demonstration first. Inspect the dated RAM row: its inStock value is false and priceChange is null. Neither should be converted to available stock or a zero price change.
2. Use each source CSV to shortlist offers within one product category and currency. Review generation, ECC and RDIMM/LRDIMM/UDIMM/SODIMM distinctions before comparing memory prices.
3. Verify server model, socket/platform, supported memory generation, DIMM limits, disk form factor and controller/interface requirements against manufacturer specifications. No compatibility link is generated from a similar title.
4. Add shipping, tax, warranty, condition and an independently supported resale assumption in your own worksheet. Keep these buyer assumptions separate from scraped observations.
5. Retain original source URLs and timestamps with the CSVs. Recheck the merchant before buying: availability flags are observations, not reservations.

The delivery folder contains one source table per Actor in JSON and CSV, review-queue.csv, a blank manual-crosswalk.csv and delivery.json. SEC adds issuer-evidence.csv and an exact-CIK grouping report. Original raw rows and run receipts stay in the parent folder. Nothing is sent elsewhere.

CSV distinguishes __MISSING__ from __NULL__, retains zero/false, quotes text and protects potential spreadsheet formula strings. JSON keeps original values. Import IDs as text to preserve leading zeros. Missing values are not converted to zero.

## Coverage and limits

- These are three distinct source catalogs and product categories, not a matched price comparison of one SKU. No cross-category join, cheapest-item ranking or resale-margin estimate is made.
- The RAM fixture is DDR5; the illustrated server is an older configured system. The package explicitly does not assert that they are compatible.
- A one-product source window can contain several variants. The one-row starter may stop within that window; review SUMMARY for partial coverage. History is disabled.
- RAM GB, drive TB and a complete server are different units. Condition, currency, configuration, shipping, taxes and warranty must be checked separately.
- The retained RAM projection omits its URL and observation timestamp. Delivery leaves these missing instead of fabricating a link or timestamp.

Every live bundle retains SUMMARY when available. SUCCEEDED describes process completion; it does not establish complete source coverage, commercial usefulness, product compatibility or regulatory applicability. Do not ignore partial/capped/empty outcomes.

## Continue with related guides

- [Related workflow plan](https://mayd-it.com/data-tools/workflows/hardware-buy-or-rent-research/)
- [Worked tutorial](https://mayd-it.com/data-tools/tutorials/ram-sourcing-worksheet/)
- [Cloud Ninjas RAM Price & Stock Monitor input and output guide](https://mayd-it.com/data-tools/actors/ram-price-stock-monitor/)
- [Enterprise HDD & SSD Price, Stock & Condition Monitor input and output guide](https://mayd-it.com/data-tools/actors/storage-drive-price-monitor/)
- [Refurbished Server Offers - Configurations, Prices & Stock input and output guide](https://mayd-it.com/data-tools/actors/refurbished-server-offer-monitor/)

## Refresh settled storage without starting runs

Apify dataset metadata can lag behind a terminal run. The runner reads the items endpoint even when metadata says zero, then compares downloaded rows with dataset itemCount and SUMMARY.rowsSaved or SUMMARY.datasetItemsSaved. All nine supported Actors write SUMMARY; if that record is absent, the runner first retries its GET at most 12 times, two seconds apart, and fails closed if it is still unavailable. It makes at most 12 dataset reconciliation passes, two seconds apart, and refuses to call mismatched empty storage a successful download.

After all three accepted run IDs exist, use `node run-workflow.mjs --refresh-results --out ./run-001` to reread those exact runs and storage using GET requests only. It cannot start a missing run. The prior journal, bundles and delivery are archived under refresh-history before refreshed files are written. Original Actor input, run IDs and build IDs remain unchanged. A reconciliation failure is a reason to inspect or refresh later, not rerun an Actor.
