# ImportReady - Supplier CSV to WooCommerce Drafts (`balasar.ai/balasar-importready`) Actor

Validate and convert supplier CSV data into WooCommerce simple-product draft CSV. Free beta; does not modify stores or handle private customer credentials.

- **URL**: https://apify.com/balasar.ai/balasar-importready.md
- **Developed by:** [Harun Balasar](https://apify.com/balasar.ai) (community)
- **Features:** Limited permissions
- **Stats:** 2 total users, 1 monthly users, 100.0% runs succeeded, 0 bookmarks
- **User rating**: No ratings yet

## Pricing

Pay per usage

This Actor is paid per platform usage. The Actor is free to use, and you only pay for the Apify platform usage, which gets cheaper the higher subscription plan you have.

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

## 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

## ImportReady — Supplier CSV to WooCommerce Drafts

**Free public beta · no paid billing activated.** ImportReady validates and converts one explicitly mapped supplier CSV into a downloadable CSV containing **simple WooCommerce products with draft publication status**. It does not connect to your shop, import products, guess prices, or publish anything.

ImportReady is an independent tool. It is not endorsed by or affiliated with WooCommerce or Automattic.

### What it does

- You paste a UTF-8 CSV (semicolon, comma, or tab separated) with SKU, product name, price and stock.
- You specify the exact column names and decimal separator.
- The tool validates the whole file: duplicate SKUs, empty or unsafe cells, price precision, stock limits, CSV quoting, column count and file size.
- Only if **every** row passes, it outputs a converted CSV with **Published = -1** (draft) and a change/validation report. Otherwise it reports row-level errors without delivering a partial import.
- It handles at most **10,000 product rows and 5 MiB per run**.

### Try the sample first

Keep **Demo** enabled to inspect synthetic output. For a real conversion, disable Demo, paste your own authorized CSV, supply column names, and confirm permitted use. Example:

```csv
Artikel;Naam;Prijs;Voorraad
0001;Wooden blocks;12,95;8
0002;Notebook;2,50;0
```

Select semicolon and comma as the respective separators; column mapping is SKU=Artikel, Name=Naam, Price=Prijs, Stock=Voorraad.

### Your results

After a successful run, open **Output → WooCommerce draft import CSV** (the `IMPORT.csv` record). The `OUTPUT` JSON provides validation status, row counts, documented limitations and error codes.

**Important:** Validate the result in a WooCommerce staging shop before any production import. This tool handles simple products only: not variable products, categories, image imports, tax treatment, price currency conversion or store synchronization. Compatibility with every WooCommerce importer/version has not been established.

**Check your currency before importing.** Source prices must already use your shop's currency.
ImportReady cannot read your shop settings and does not convert amounts. Its report marks currency
as `NOT_VERIFIED`. For example, a price supplied in TRY must not be imported into an EUR shop as-is.

The native importer was tested with fictional draft products on WooCommerce 11.2.1,
WordPress 7.1.3 and PHP 8.3.33 in an isolated WordPress Playground using SQLite. SKU, price,
stock, UTF-8 names, repeated import and an explicit update were checked. This is a limited
compatibility result, not a guarantee for other shop configurations or the importer browser UI.

### Privacy and limits

Do **not** submit personal data, confidential supplier agreements, passwords, access tokens or other sensitive data. Your submitted input is processed on Apify and stored as part of an Actor run subject to Apify's access and retention settings. The Actor restricts its default result store to authorized access and does not send data to external services, use an AI provider, or reuse your input to train itself. You can manage/delete your runs and storage from your Apify account. No customer-specific cross-run learning is enabled.

The tool accepts a maximum of 5 MiB and 10,000 rows, with a bounded runtime and no automatic restarts. For a reproducible problem, use the Actor Issues tab **without sharing the actual file or any confidential values**. Include only the error code and a fictional minimum reproduction.

### Billing and availability

This version is a **free beta** (pay per usage of the Apify platform only, subject to the user's plan). It cannot yet collect creator fees: an event-price / payout setup and a production payment reconciliation have not been activated. Do not interpret a `billable` field in the technical output as an actual charge. No conversion or income guarantees are made.

Next commercial release will be proposed only after real staging-import checks, independent security review, and verified payment onboarding. A future paid version will clearly disclose its price before users run it.

# Actor input Schema

## `sample` (type: `boolean`):

Standaard staat de synthetische demo aan. Zet uit om jouw eigen, toegestane CSV te verwerken.

## `csv` (type: `string`):

Plak je leverancier-CSV als tekst. Maximaal 5 MiB en 10.000 productregels. Gebruik geen persoonsgegevens of vertrouwelijke inhoud.

## `delimiter` (type: `string`):

Kies de scheiding tussen kolommen.

## `decimalSeparator` (type: `string`):

Prijs: bijvoorbeeld 12,50 bij komma of 12.50 bij punt. Geen duizendtallen.

## `skuColumn` (type: `string`):

Exact CSV heading for the SKU field.

## `nameColumn` (type: `string`):

Exact CSV heading for product names.

## `priceColumn` (type: `string`):

Exact CSV heading for prices.

## `stockColumn` (type: `string`):

Exact CSV heading for numeric inventory counts.

## `allowedUseConfirmed` (type: `boolean`):

Ik bevestig dat ik de gegevens mag verwerken en geen persoons-, toegangs- of vertrouwelijke gegevens toevoeg.

## Actor input object example

```json
{
  "sample": true,
  "delimiter": ";",
  "decimalSeparator": ",",
  "skuColumn": "Artikel",
  "nameColumn": "Naam",
  "priceColumn": "Prijs",
  "stockColumn": "Voorraad",
  "allowedUseConfirmed": false
}
```

# Actor output Schema

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

No description

## `csv` (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("balasar.ai/balasar-importready").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("balasar.ai/balasar-importready").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 balasar.ai/balasar-importready --silent --output-dataset

```

## MCP server setup

```json
{
    "mcpServers": {
        "apify": {
            "type": "http",
            "url": "https://mcp.apify.com/?tools=fetch-actor-details,balasar.ai/balasar-importready"
        }
    }
}
```

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/lxVS5RnvmdkezQNV0/builds/2tMWAIHisioGOFWQy/openapi.json
