Data Flow Generator · cwprep

Describe your data pipeline. Get a Tableau Prep file.

cwprep generates .tfl and .tflx files from natural language. No drag-and-drop in the Tableau Prep GUI required — describe your data cleaning steps, and get a working flow you can open and run directly.

cwprep interface

Core Capabilities

SQL Output
See the SQL for every step
Every operation in your flow is translated to standard SQL. Share it with your DBA, use it for compliance audits, or run it independently of Tableau.
Database Support
Your databases, supported
Native support for SQL Server (Windows authentication) and Alibaba Cloud MySQL. Connect directly without extra middleware.
No GUI Required
No Tableau Prep GUI needed
Generate complete .tflx packages — data included — without opening Tableau Prep. Run from scripts or automate in batch pipelines.
All Operations
All standard operations supported
Pivot, unpivot, join, union, filter, calculate — describe the operation in plain text. Get the correct Tableau Prep nodes every time.

Files that work, every time

cwprep builds Tableau Prep flows using the exact same file format Tableau Prep uses internally. Files open correctly every time — there's no translation layer, no compatibility risk.

  • Translates 30+ Tableau Prep functions: DATEPART, ZN, IFNULL, and others become portable SQL that works across databases.

  • Safe to use in pipelines: Automatic backups prevent file corruption if a job fails mid-run.

Describe the result, not the steps

Describe the end state of your data — cwprep figures out the node order and connections automatically.

Runs in your build pipeline

Plug cwprep into your build scripts. Generate new data flows on every deploy, or batch-build pipelines for multiple clients.

Capability Matrix

Transparency

Datacooper

Full SQL output at every step

Official AI

GUI blackbox — no SQL view

Share the SQL with your DBA or compliance team. No guessing what Tableau Prep did under the hood.

Runs without GUI

Datacooper

Yes (code and prompt driven)

Official AI

No (requires visual interface)

Build dozens of pipelines in parallel from a script. No waiting for GUI renders.

Your choice of AI

Datacooper

Any MCP-compatible model (Claude, ChatGPT, DeepSeek)

Official AI

Official cloud only

Use your company's private model if needed. No data leaves your network unless you choose it.

Product Roadmap

1

Phase 1: Foundation

Core node generation & full ANSI SQL translation.

2

Phase 2: Collaboration

Launch MCP shared server mode for team templating.

3

Phase 3: Governance

Integrate data quality gateways to stop skewed processes.

Pricing Options

Community (Open Source)
Ideal for sole engineers and exploratory dev tasks.
Free
  • - Core TFL Builder Engine
  • - Unlimited MCP Generation
  • - Community Github Support
Enterprise Solutions
Optimized and deep integrated deployment for scale deliveries.
Contact Sales
Book Consultation

Frequently Asked Questions

Q: Is cwprep bound to a specific LLM?

A: No. cwprep is model-agnostic and supports Claude, ChatGPT, Gemini, and DeepSeek, as long as they support standard reasoning.

Q: Can the generated .tfl files be opened directly in Tableau Prep?

A: Yes. cwprep generates official .tfl and .tflx files that can be opened and run natively without plugins.

Q: Does it support complex row/column transformations (Pivot)?

A: Absolutely. cwprep is specifically optimized for Pivot and Unpivot node generation.

# 1) Installation
pip install cwprep

# 2) MCP Server Config Example
{
  "mcpServers": {
    "cwprep": {
      "command": "uvx",
      "args": ["--from", "cwprep[mcp]", "cwprep-mcp"]
    }
  }
}

# 3) Prompt Example
"Connect to intranet SQL Server (SSPI) to build a multi-database cleaning flow"
"Remove invalid columns, then execute Unpivot on month data"
"Finally output ANSI SQL with standard comments for audit review"
cwprep — Generate Tableau Prep Flows with AI | Datacooper