Prompt examples
Each prompt on this page was sent to the Ciaren Flow assistant on the sample data of a tutorial. The proposal was applied, run and exported to Python, and every flow ran without errors. Use the prompts as a starting point, or compare a result with the tutorial that builds the same flow by hand.
How these results were measured
Measured on 2026-11-28 with a source build of main, DeepSeek deepseek-flash and column names not shared with the provider (the default). Each prompt started on an empty canvas with the tutorial's sample data. The median prompt took 5.5 provider calls and 11 seconds; the slowest took 30 seconds. Results depend on the provider and model, and the same prompt can produce a slightly different flow on another run.
Write prompts that work
- Name the columns. Column names stay private unless you share them, so "total
valueper month ofoccurred_at" works better than "total the value per month". Names you type in the request are matched to the dataset's columns. - Turn a rule into a condition. "Drop refunds (amount of 0 or less)" builds a filter; "drop refunds" leaves the assistant to guess which rows are refunds.
- Choose the features for a model. "Predict
churnfromtenure,monthly_chargesandsupport_calls" keeps an ID column out of the features. - Ask for one result at a time. Build the flow, then ask for the next change on the same canvas, or edit a setting by hand.
- Answer its question. When a request is ambiguous, the assistant offers choices instead of guessing, for example which numeric column to total.
- Review before you apply. The assistant checks types and wiring on placeholder rows, not on your values. Read every setting in the proposal, then choose Apply and save and Run.
Join two files and chart the result
Join the orders to the customers, total the amount per country, sort the countries from highest to lowest and show it as a bar chart
- InputFile Inputorders.csv
- InputFile Inputcustomers.csv
- JoinJoinon: customer_id · how: inner
- TransformGroup By Aggregatecountry →
sum(amount) - TransformSort Rowsamount, descending
- OutputBar Chartx: country · y: amount
The assistant picked customer_id as the join key from the two files and built six nodes in 7 provider calls. The exported pandas code is one readable chain:
df_orders = pd.read_csv('orders.csv')
df_customers = pd.read_csv('customers.csv')
df_1 = (
df_orders.merge(df_customers, on='customer_id')
.groupby('country', dropna=False)
.agg({'amount': 'sum'})
.reset_index()
.sort_values('amount', ascending=False)
)The chart renders in the Ciaren run view; the export keeps the table it draws. Data: Customer segmentation.
Clean a sales file and total it per region
Drop internal_note, remove rows with no amount and refunds (amount of 0 or less), lowercase region and fill a missing region with Unknown, then total amount and count order_id per region, largest total first
- 1InputFile Inputsales.csv
- 2CleanDrop Columnsinternal_note
- 3CleanFilter by Expressionamount > 0
- 4CleanString Transformregion →
lowercase - 5CleanFill Nullsregion →
Unknown - 6TransformGroup By Aggregateregion →
sum(amount), count(order_id) - 7TransformSort Rowsamount, descending
- 8OutputFile OutputCSV
The run returns north 330.5 from 2 orders, south 89.0 and Unknown 42.25. The missing amount and the refund drop out because a comparison with a missing value keeps no row. Compare it with the hand-built flow in Sales analysis.
Monthly totals with a rolling average
Parse occurred_at as a date, total value and count event_id per month, then add a 2-month rolling average of the monthly totals
- 1InputFile Inputevents.csv
- 2CleanParse Datesoccurred_at
- 3TransformExtract Date Partsyear, month
- 4TransformGroup By Aggregatesum(value), count(event_id)
- 5TransformRolling Aggregatemean, window 2
- 6OutputFile OutputCSV
Three months come out: totals 24, 30 and 30 with rolling averages 24, 27 and 30. The same request in Spanish, "suma value por mes según occurred_at, agrega un promedio móvil de 2 meses y muéstralo en un gráfico de líneas", built the same steps plus a sort, a year-month label and a Line Chart. Data: Time-series aggregation.
Train and evaluate a regression model from two files
Join orders with customers on customer_id and train a regression model that predicts shipping_cost from distance_km and tenure_months, evaluated on a 20% test split
- InputFile Inputorders.csv
- InputFile Inputcustomers.csv
- JoinJoinon: customer_id · how: inner
- MLTrain /
Test Split 20% test, seed 42 - MLTrain Regressorrandom forest · shipping_cost
- MLPredicttest rows
- MLEvaluateRMSE, MAE, R², MAPE
The export is a plain scikit-learn script: a train_test_split, a Pipeline with imputation and scaling, a RandomForestRegressor and the four metrics. It ran with only pandas and scikit-learn installed. The data is the shipping cost example; machine-learning nodes need the ML extension.
Cross-validate a classifier and rank its features
Predict churn from tenure, monthly_charges and support_calls with a random forest, use 5-fold cross validation and show which features matter most
- 1InputFile Inputcustomers.csv
- 2MLClassifier Modelrandom forest · churn
- 3MLCross-Validate5-fold
- 4MLTrain Classifier3 features
- 5MLFeature Importancetop 3
Classifier Model defines the random forest for Cross-Validate, and Train Classifier fits the same settings on all rows for Feature Importance. A Cross-Validate export rebuilds the model with Ciaren's estimator helper, so run that script where Ciaren is installed; see Cross-validate. Data: ML classification.
Every prompt we tested
Rows marked refined use a prompt that names its columns. The shorter prompt on the tutorial page ran too, but guessed some columns; see Write prompts that work.
| Prompt | Nodes the assistant built | Calls | Tutorial |
|---|---|---|---|
| Join the orders to the customers, total the amount per country, sort the countries from highest to lowest and show it as a bar chart | File Input ×2, Join, Group By Aggregate, Sort Rows, Bar Chart | 7 | Customer segmentation |
| Total the amount per region and month of ordered_at and show it as a line chart | File Input, Parse Dates, Extract Date Parts, Group By Aggregate, Line Chart | 8 | Sales analysis |
| Drop internal_note, remove rows with no amount and refunds (amount of 0 or less), lowercase region and fill a missing region with Unknown, then total amount and count order_id per region, largest total first (refined) | File Input, Drop Columns, Filter by Expression, String Transform, Fill Nulls, Group By Aggregate, Sort Rows, File Output | 8 | Sales analysis |
| total each customer's orders, join them to the customers file and bin the totals into tiers | File Input ×2, Group By Aggregate, Join, Bin Column, File Output | 9 | Customer segmentation |
| strip and lowercase the text columns, turn age into an integer, drop rows with no name or age, remove duplicate emails and keep ages from 0 to 120 | File Input, String Transform ×4, Change Types, Drop Nulls, Remove Duplicates, Filter by Expression, File Output | 5 | Data quality |
| Fill missing income with the median, one-hot encode region, scale age, income and score, and reduce age and score to one component (refined) | File Input, Fill Nulls, Encode Categories, Scale Features, Reduce Dimensions, File Output | 4 | Feature engineering |
| Parse occurred_at as a date, total value and count event_id per month, then add a 2-month rolling average of the monthly totals (refined) | File Input, Parse Dates, Extract Date Parts, Group By Aggregate, Rolling Aggregate, File Output | 7 | Time-series aggregation |
| suma value por mes según occurred_at, agrega un promedio móvil de 2 meses y muéstralo en un gráfico de líneas | File Input, Parse Dates, Extract Date Parts ×2, Group By Aggregate, Sort Rows, Rolling Aggregate, Combine Columns, Line Chart | 12 | Time-series aggregation |
| train a classifier on the churn column with a train/test split and evaluate it on the test rows | File Input, Train / Test Split, Train Classifier, Predict, Evaluate | 7 | ML classification |
| Predict churn from tenure, monthly_charges and support_calls with a random forest, use 5-fold cross validation and show which features matter most | File Input, Classifier Model, Cross-Validate, Train Classifier, Feature Importance | 6 | ML classification |
| Join orders with customers on customer_id and train a regression model that predicts shipping_cost from distance_km and tenure_months, evaluated on a 20% test split | File Input ×2, Join, Train / Test Split, Train Regressor, Predict, Evaluate | 8 | Shipping cost example |
| trim the spaces in the email column and lowercase it, then write a CSV | File Input, String Transform ×2, File Output | 4 | Clean messy text |
| create an email column from primary_email, falling back to backup_email | File Input, Coalesce Columns, File Output | 4 | Coalesce fallback values |
| write this dataset as a Parquet file | File Input (Excel), File Output (Parquet) | 5 | Convert Excel to Parquet |
| fill missing numbers with the column median and missing text with Unknown | File Input, Fill Nulls ×2, File Output | 4 | Fill missing values |
| keep orders where amount is at least 100 and status is paid | File Input, Filter by Expression, File Output | 4 | Filter paid orders |
| split the tags column on semicolons into one row per tag | File Input, Split to Rows, File Output | 4 | One row per tag |
| pivot the sales so each region is a row and each month is a column | File Input, Pivot Table, File Output | 4 | Pivot a table |
| keep one row per email, the one with the latest updated_at | File Input, Sort Rows, Remove Duplicates, File Output | 5 | Remove duplicate rows |
| split the location column on | into region and city | File Input, Split Column, File Output | 6 | Split a column |
Two prompts asked a question first. The customer segmentation prompt asked which order measure to total per customer, and the data quality prompt asked which column holds the email addresses.
Next steps
- AI quick start: add a key and build your first flow from a prompt.
- What the assistant can build: the full list of nodes and limits.
- What the assistant sends to the provider: what leaves your server.
- Manual quick start: build the same kind of flow node by node.