AI Agents & MCP · Verified-Row Billing ($0 on Empty)

Conditional Chained Column Enrichment — Run Column C Only When Column B Verifies Non-Empty

Multi-column enrichment costs spiral out of control when every row blindly executes columns A, B, and C even after Column A fails. Batch-Anything's chained_mcp_http workflow evaluates deterministic depends_on and when_non_empty conditions row-by-row, cutting downstream spend to $0 on every dead row.

Try Live in 5 Seconds (No Signup) Connect AI Agent via /mcp Browse All 24 Guides
1,535.28 rows/s
Measured 10,000-row streaming throughput (Gauntlet)
8.03 MB
Peak Python heap at 10k rows (tracemalloc constant RAM)
$0.00
Billed on empty, invalid, 404 & fake-200 rows (30% dirty test)
10% / 100.0%
Same-tenant repeat fee / Cross-tenant cache gross margin

Why Unconditional Waterfalls Multiply Wasted Spend

Suppose Column A checks if a domain is live and has a pricing page, Column B extracts structured metadata from that live page, and Column C calls a paid third-party API or custom MCP tool. If 35% of rows fail at Column A, an unconditional pipeline still fires Column B and Column C across all 35% dead rows — multiplying wasted API spend by 3x.

Visual drag-and-drop flowcharts try to patch this with sprawling conditional branches that break whenever schemas shift and cannot be version-controlled cleanly in Git or generated dynamically by AI agents.

Declarative Row-Level Dependency Chains Without Flowchart Bloat

Explicit depends_on & when_non_empty Guards

Declare Column A -> Column B -> Column C directly in your JSON request payload. If Column B resolves empty, fake-200, or null, Column C is skipped automatically with $0 downstream execution.

Mix Public Enrichers, Custom HTTP Templates & MCP Tools

Combine built-in enrichers (DNS, OpenFoodFacts, PyPI/npm/GitHub, URL patrol) with custom HTTP URL templates or deterministic transforms inside one flat API call.

Zero-Waste Row Economics

In Loop 3 Gauntlet verification, chained conditional execution prevented 100% of unnecessary downstream calls on empty upstream rows while preserving full per-step audit traces.

Git-Friendly & Agent-Composable

No drag-and-drop canvas lock-in: store waterfall specs as plain JSON in version control or let coding agents compose chained schemas dynamically over POST /mcp.

Conditional Multi-Step Enrichment Comparison

Competitor pricing figures reflect documented public tiers; Batch-Anything performance metrics reflect real measured Gauntlet telemetry (16/16 checks passing).

CapabilityBatch-Anything (chained_mcp_http)Clay Formula Run Conditionsn8n / Coze Visual Graphs
Definition FormatDeclarative JSON (depends_on / when_non_empty)UI column formulas per sheetFragile visual node wiring
Downstream Spend on Dead Rows$0.00 (automatically short-circuited)Requires manual JS run-condition per columnMust manually wire IF branches
Anti-Fake-200 Short-CircuitBuilt-in before Column C triggersNot nativeCustom regex nodes required
AI Agent ProgrammabilitySingle POST /mcp or REST callManual UI configurationStatic graph breaks agent autonomy
Budget Cap Across Full ChainUnified max_budget_usd + resume_tokenPer-workspace creditsNo native dollar ledger

Working REST & Streamable /mcp Code Examples

REST API (POST /v1/batch/run & /v1/batch/submit)

# Conditional multi-step waterfall (Col C skipped at $0 when Col B is empty)
curl -fsSL -X POST "https://batch.fastmesh.dev/v1/batch/run" \
  -H "Content-Type: application/json" \
  -d '{"workflow": "chained_mcp_http", "tenant_id": "acme_revops", "rows": [{"package_name": "requests", "ecosystem": "pypi"}, {"package_name": "nonexistent-pkg-999999", "ecosystem": "pypi"}], "max_budget_usd": 2.0, "chain_steps": [{"column": "col_b_repo", "enricher": "oss_package_enrich"}, {"column": "col_c_downstream", "enricher": "url_health_patrol", "depends_on": "col_b_repo", "when_non_empty": true}]}'

Native AI Agent Call (POST /mcp · JSON-RPC 2.0)

# Streamable HTTP MCP JSON-RPC 2.0 call (https://batch.fastmesh.dev/mcp)
curl -fsSL -X POST "https://batch.fastmesh.dev/mcp" \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": {"name": "batch_enrich_run", "arguments": {"workflow": "chained_mcp_http", "tenant_id": "coding_agent_01", "rows": [{"package_name": "requests", "ecosystem": "pypi"}, {"package_name": "nonexistent-pkg-999999", "ecosystem": "pypi"}], "max_budget_usd": 1.0}}}'

Full schema: /openapi.json · Agent onboarding: /skill.md · Machine directory: /llms.txt · Treg Hub: batch-anything-waterfall (0% commission) · Causal Bazaar: batch_anything_waterfall_v1

Zero-Empty Guarantee, Privacy & Never-Expiring Packs

Zero-Empty $0 Billing Guarantee: Every empty cell, invalid key, DNS failure, HTTP 4xx/5xx error, soft-404, login wall, and challenge page is billed strictly $0.00 and isolated in dead_letter_rows with a verifiable receipt_sha256.
Zero Customer Table Resale Pledge: Your uploaded CSVs, SQLite tables, prompts, BYOK keys, and batch traces are NEVER resold, licensed, or used to train external models.
ZERO SUBSCRIPTION

Starter Pack

$19

$19 credit (19M micros · 6,333 B2B domains / 12,666 URL checks) · Never expires · 0 seat fees

Get Starter Pack
MOST POPULAR · +13.9% BONUS

Growth Pack

$79

$90 credit (90M micros · 30,000 B2B domains / 60,000 URL checks) · Never expires · 0 seat fees

Get Growth Pack
BEST VOLUME · +30.5% BONUS

Scale Pack

$249

$325 credit (325M micros · 108,333 B2B domains / 216,666 URL checks) · Never expires · 0 seat fees

Get Scale Pack

Frequently Asked Questions

How do conditional columns work in Batch-Anything?

In the chained_mcp_http workflow, each derived column can declare depends_on and when_non_empty referencing an earlier column. The executor evaluates dependencies per row and skips downstream steps whenever the prerequisite is empty or failed.

Do skipped downstream columns incur any fee?

No. Skipped columns execute zero upstream calls and incur $0.00 charges.

Can I chain a built-in domain health check before calling my own custom HTTP endpoint?

Yes. Run URL health or B2B domain verification as Column A, and gate your custom HTTP or BYOK webhook template on Column A returning a verified non-empty result.

Does mid-batch max_budget_usd capping work with multi-step chained columns?

Yes. Budget accounting tracks cumulative verified micro-dollars across chained steps and pauses cleanly with a deterministic resume_token if the cap is reached.

Related Enrichment Guides