Skip to main content

Transform data with intents

Every transformation in Flow lives on an edge, written as an intent: a plain-language description of what should happen to the data. Columns turns the intent into a precise, testable execution plan.

Generate → Preview → Approve​

  1. Write the intent on the Selected Edge tab. For example: "Total value by status for males."
  2. Generate. Columns creates a plan of ordered steps. Click View on any step to see its logic.
  3. Preview. Sample Output and Sample Input appear right away. Preview runs the plan on the first 100 records in a full-screen test view.
  4. Approve. The target node is updated with the full result, and anything downstream can now build on it.

Until you approve, the edge shows Unapproved, and the next node keeps its previous data. This lets you experiment without breaking anything downstream.

Auto-approve for small data

If the source node has 1,000 rows or fewer, the next node updates automatically after Generate.

If the intent is ambiguous, Columns may answer with a question, such as "Which date column should be used?". Update the intent and click Generate again.

What a plan can do​

Plans are built from these step types, which always run in this order:

StepWhat it doesExample intent
TransformChange values row by row: clean, convert, split, compute new columns, filter rowsconvert date to yyyy-mm
AggregateGroup rows and compute sum, avg, count, min, max, percentile, or count distincttotal sales by region
PivotTurn the values of one column into columnspivot product categories into columns
Post ProcessingCompute on the aggregated result, such as shares, ratios, or ranksadd each region's share of total
SortOrder the rowssort by total sales descending
CutoffKeep the top or bottom N rows, overall or per groupkeep the top 10 per month

A single intent can use several steps. For example, "total sales by region per month, keep the top 3 regions each month" becomes Aggregate → Sort → Cutoff.

Steps can also look up values from another node in the same flow. Refer to it by name: "keep only customers that appear in the VIP list node".

Intent cookbook​

Cleaning

  • remove the header row where date equals 'date'
  • fill 0 for sales when it is empty
  • remove rows where email is empty or contains 'test'
  • deduplicate by customer id, keeping the latest order date
  • trim spaces and title-case the name column

Reshaping

  • keep only date, region and sales columns
  • split address into street, city, state and zip
  • convert the date field to month only, like yyyy-mm
  • pivot product categories into columns with total sales as values

Summarizing

  • get total sales by region along a monthly timeline
  • count distinct customers per week
  • average order value by channel, rounded to 2 decimals

Ranking and limiting

  • sort by total sales and keep only the top 10 for each month
  • filter to the last 90 days

Write intents that work the first time​

  • Use exact column names, as shown in the node's schema.
  • Describe the output shape: which columns, the grouping, and the time grain.
  • Put filters, sorting, and limits in the same sentence when they belong together.
  • Say how to handle edge cases: empty values, invalid rows, ties.
  • One idea per edge. Several small, named steps are easier to read and fix than one long intent.

Change an existing transformation​

Click the edge, edit the intent, then Generate and Approve again. The target node gets a new version, and downstream nodes are marked out of date. They re-run on the next sync or scheduled run.

To try a variation without losing the original, use Replicate on the edge. It creates a sibling node with the same intent for you to modify.