Skip to the content
Gridkiln
Menu
Guide contents

Guide Reference Generated from the app’s code

Steps by family

Every step the app offers: 95 of them, grouped the way the Add step menu groups them. The example in each row is the sentence the step card shows in the recipe for one set of settings, so you can recognise a step in someone else’s pipeline. How steps behave (the preview, the impact line, Apply, the SQL and Note tabs) is in Working with steps.

Where to find a step#

  • Add step is the button under the step cards in the recipe (⇧⌘A / Ctrl+Shift+A opens it from anywhere). Type in “Find a step” to find one by its name or by the words people use for it, such as “vlookup”, “dedupe” or “unpivot”.
  • palette is the command palette, ⌘K / Ctrl+K, where every step is listed as “Add step: …”, such as “Add step: Trim spaces”.
  • column menu is the right-click menu of a column header; cell menu the right-click menu of a cell or a selection, with the value quoted in the item; row-number menu the right-click menu of a row number.
  • block editor means the step is offered only while you edit a reusable block.

Families#

  • Input: Where a table enters the pipeline.
  • Clean: Tidy values: spaces, case, placeholders, encoding and standard formats.
  • Columns: Rename, keep, split, merge, add and retype columns.
  • Rows: Filter, sort, sample and de-duplicate rows.
  • Calculate: Formulas, rules, dates, ranks and running figures.
  • Reshape: Pivot, unpivot, transpose and expand tables.
  • Summarise: Group and aggregate, with subtotals and totals.
  • Combine: Join, look up and append tables.
  • Compare: Compare and reconcile two tables, or find near-duplicates.
  • Validate: Route failing rows and assert the expected columns.
  • Protect: Find, mask, hash or drop personal data.
  • Custom: SQL, scripts, blocks, AI and web lookups.

Input#

Where a table enters the pipeline.

Step What it does Example, as the recipe shows it Where to find it
Read a source Read a project source: a file, a folder of files, a sheet, a database table or a web address. Read Sales Add step, palette
Use another pipeline’s result Start from the table another pipeline in this project produces; that pipeline runs first. Read the result of Monthly sales Add step, palette
Read a snapshot Start from a table kept by an earlier run or a pinned source, exactly as it was then. Read the snapshot October close Add step, palette
Type or paste a table Keep a small table in the pipeline itself: a mapping, a list of values or pasted cells. Use a typed-in table of 3 rows with the columns Code and Name Add step, palette
Block input A named input of a reusable block, connected to a table wherever the block is used. Take the block input Orders block editor

Clean#

Tidy values: spaces, case, placeholders, encoding and standard formats.

Step What it does Example, as the recipe shows it Where to find it
Trim spaces Remove spaces at the start and end of values, and collapse doubled spaces inside them. Trim spaces in Customer Add step, palette, column menu › Clean
Change case Write text in upper, lower, title or sentence case, keeping chosen words as written. Change Region to upper case Add step, palette, column menu › Clean
Find and replace Replace text, a pattern (regular expression with $1 groups) or whole cells with something else. Replace “Ltd.” with “Ltd” in Customer Add step, palette, column menu › Clean, cell menu
Map values Turn each old value into a new one with a mapping table, typed in or read from another table. Map “NY” to “New York” in Region Add step, palette, column menu › Clean, cell menu
Fill empty cells Fill empty cells with a value, the row above or below, an average or another column. Fill empty cells in Region with “Unknown” Add step, palette, column menu › Clean, cell menu
Make placeholders empty Make stand-ins for missing values, such as “N/A”, “-” or 9999, truly empty. Empty the placeholders “N/A”, “-” and “NULL” in Region Add step, palette, column menu › Clean, cell menu
Remove characters Remove non-printing characters, punctuation, digits, letters, spaces, symbols, emoji or accents. Remove non-printing characters from Notes Add step, palette, column menu › Clean
Repair encoding Repair text read with the wrong encoding, such as “Café” for “Café”. Repair the encoding of Customer Add step, palette, column menu › Clean
Standardise dates Read dates written several ways into one date column, or one written format. Standardise dates in Order date, reading “YYYY-MM-DD” or “DD/MM/YYYY” Add step, palette, column menu › Clean
Standardise phone numbers Write phone numbers one way (+44 20 7946 0101) and mark the ones that are not valid. Write phone numbers in Phone in E.164 form (+442079460101), reading numbers without a country code as United Kingdom numbers, marking validity in Phone valid Add step, palette, column menu › Clean
Standardise postcodes Write postcodes the standard way for their country and mark the ones that do not fit. Standardise postcodes in Postcode as United Kingdom postcodes, marking validity in Postcode valid Add step, palette, column menu › Clean
Standardise countries Write countries one way: two- or three-letter ISO codes, ISO numbers or names. Write countries in Country as two-letter codes Add step, palette, column menu › Clean
Standardise currencies Write currencies as ISO codes, symbols or names, or split amounts like “€1,234.56” into amount and currency. Write currencies in Currency as ISO codes Add step, palette, column menu › Clean
Correct cells by hand Corrections typed into cells, tied to each row’s key and made again on every run. Correct 1 cell by hand, matching rows on Order ID palette, cell menu

Columns#

Rename, keep, split, merge, add and retype columns.

Step What it does Example, as the recipe shows it Where to find it
Rename columns Give one or more columns new names; later steps that use the old names can be repaired. Rename Amount to Net amount Add step, palette, column menu
Rename columns by pattern Change many column names at once: replace text, add a prefix or suffix, change case or trim. Rename every column by replacing “\_” with “ ”, then changing them to title case Add step, palette, column menu
Rename columns from a mapping Rename columns from a list of old and new names, typed in or read from another table. Rename columns from the mapping Cust to Customer and Amt to Amount Add step, palette
Reorder columns Move columns to the start or the end of the table, in the order given. Move Customer and Region to the start Add step, palette, column menu
Keep or remove columns Keep only the columns you need, or remove some, by name, type or pattern. Keep only Customer and Amount Add step, palette, column menu
Duplicate a column Add a copy of a column under another name. Copy Amount as Amount copy Add step, palette, column menu
Split a column Split text at a delimiter, at positions or by a pattern, into several columns or into rows. Split Address at each “,” into Street, City and Postcode, trimming spaces from each part Add step, palette, column menu
Merge columns Join the values of several columns into one, with a separator between them. Merge First name and Last name into Full name with “ ” between Add step, palette, column menu
Extract part of a column Take part of a text into new columns: a pattern, text between markers, characters or an email. Extract the text matching “[A-Z]{3}-\\d+” in Notes as Order, keeping Notes Add step, palette, column menu
Add a column by example Type the result you want for two or three rows and the app works out the rule. Add Order number from Notes by example: the digits after “#” Add step, palette, column menu, cell menu
Change type Convert columns to another type, reading numbers and dates by locale; failing values are shown first. Change Amount to decimal with 2 places Add step, palette, column menu › Change type
Add a row number Number the rows 1, 2, 3, optionally within groups and in a chosen order. Add a row number as Row Add step, palette
Add a constant column Add a column with the same value in every row. Add Source with the value “CRM” Add step, palette
Add the file name Add the name, path or modified time of the file each row was read from. Add the file name as File Add step, palette
Add the run date Add the date, or date and time, the pipeline ran. Add the run date as Run date Add step, palette
Add a parameter value Add a column holding a parameter’s value for this run, such as the month being reported. Add the parameter {Month} as Month Add step, palette

Rows#

Filter, sort, sample and de-duplicate rows.

Step What it does Example, as the recipe shows it Where to find it
Filter rows Keep or remove the rows that meet conditions. Remove rows where Customer is “TEST” Add step, palette, column menu, cell menu
Keep the top or bottom rows Keep the N largest or smallest rows by one or more columns, overall or within each group. Keep the top 10 rows by Amount (largest first) Add step, palette, column menu
Sample rows Keep a repeatable random sample, every nth row, or a sample from every group. Keep 1,000 random rows with seed 42 Add step, palette
Filter by a list Keep or remove the rows whose key appears in a list held in another table. Keep rows whose Customer is in Key accounts Add step, palette, column menu
Remove duplicates Remove rows that repeat on chosen columns, choosing which survives and merging values across them. Remove duplicate rows by Email, keeping the first Add step, palette, column menu
Sort rows Put the rows in order by one or more columns. Sort by Region (A to Z), then Amount (largest first) Add step, palette, column menu
Remove empty rows Remove the rows whose cells are all empty, or that have an empty cell in chosen columns. Remove empty rows Add step, palette, column menu
Keep or skip rows at the top or bottom Keep or skip the first or last N rows of the table. Keep the first 10 rows Add step, palette, row-number menu
Use a row as the header Take the column names from a row of the table, joining several header rows when there are. Use row 1 as the header Add step, palette, row-number menu
Fill down or up Fill empty cells from the nearest value above or below, within groups if needed. Fill down Region Add step, palette, column menu
Flag rows Keep every row and add a column saying which rows meet conditions, instead of removing them. Flag rows where Customer is “TEST” in Test account Add step, palette, column menu, cell menu

Calculate#

Formulas, rules, dates, ranks and running figures.

Step What it does Example, as the recipe shows it Where to find it
Add a formula column Compute a column with a formula, like a spreadsheet, shown as SQL too. Calculate Band as IF([Amount] > 1000, “Large”, “Small”) Add step, palette, column menu
Add a rule table Set a column from rules checked top to bottom: the first condition that holds gives the value. Set Tier to “Gold” where Amount is at least 1,000, then “Silver” where Amount is at least 100, otherwise “Bronze” Add step, palette, column menu
Date arithmetic Add or subtract days, months or working days, count the time between dates, take parts, fiscal periods and ages. Add 5 working days to Order date as Due date, by the calendar UK bank holidays Add step, palette, column menu › Calculate
Text function Length, first or last characters, padding, prefixes, word counts, positions, patterns and more. Count the characters in Name as Length Add step, palette, column menu › Calculate
Round numbers Round to decimal places, a multiple, significant digits or a currency’s minor units, exactly. Round Amount to 2 decimal places Add step, palette, column menu › Calculate
Bands and bins Put values into bands: by edges with labels, equal widths, equal counts (quantiles) or date periods. Band Age at 18 and 65 as Age group Add step, palette, column menu › Calculate
Rank rows Rank each row by one or more columns, overall or within each group, with ties, row numbers or buckets. Rank rows by Amount (largest first) within each Region as Rank Add step, palette, column menu › Calculate
Running total Add up (or count, average, keep the smallest or largest) down the rows of each group, in an order. Add up Amount within each Customer ordered by Date (oldest first) as Running total Add step, palette, column menu › Calculate
Previous or next value Take the value from the row before or after within each group, in an order. Take the previous Amount within each Customer ordered by Date (oldest first) as Previous amount Add step, palette, column menu › Calculate
Share of total Each value as a share (or percent) of its group’s total, or the cumulative share in an order. Work out each Amount as a share of the total within each Region as Share, as a percent Add step, palette, column menu › Calculate
Moving average A moving mean, sum, minimum, maximum, median or count over the rows or days around each row. Average Sales over this row and the 2 rows before within each Store ordered by Month (oldest first) as 3-month average Add step, palette, column menu › Calculate
Percentage change The change from the previous row, a number of rows back, the first row or the same date last year. Work out the change in Sales from the previous row within each Store ordered by Month (oldest first) as Change Add step, palette, column menu › Calculate
Flag outliers Flag values far from the rest of their group, by the interquartile range, z-score or percentiles. Flag Amount values outside 1.5 times the interquartile range within each Region as Outlier Add step, palette, column menu › Calculate

Reshape#

Pivot, unpivot, transpose and expand tables.

Step What it does Example, as the recipe shows it Where to find it
Pivot long to wide Turn the values of a column into columns, each cell adding up its rows: months across the top. Pivot Month into columns of sum of Amount for each Region Add step, palette, column menu
Unpivot wide to long Turn columns into rows of name and value, as a cross-tab with months across the top needs. Unpivot Jan, Feb and Mar into Month and Amount Add step, palette, column menu
Transpose Swap rows and columns: each row becomes a column and each column a row. Transpose the table Add step, palette
Expand a list to rows Give each item of a list column a row of its own, the other columns repeated. Expand the lists in Tags into rows Add step, palette, column menu
Expand a record to columns Bring the fields of a record column out as columns of their own. Expand the fields of Address into columns Add step, palette, column menu
Nest columns into a record or list Pack columns into one record or list column, or collect each group’s values into a list. Nest Street and City into the record Address Add step, palette, column menu
Fill in missing dates or numbers Add a row for every missing day, month or number in a sequence, so no period is left out. Fill in missing days of Date within each Region Add step, palette, column menu
Build a calendar table Make a table of every day, week or month between two dates, with years, weekdays and working days. Build a calendar of days from 2026-01-01 to 2026-12-31 with Year, Month, Weekday name and Is working day Add step, palette

Summarise#

Group and aggregate, with subtotals and totals.

Step What it does Example, as the recipe shows it Where to find it
Group and summarise One row per group with sums, counts, averages, medians, percentiles, first or last values, the most common value or joined text. Group rows by Region with sum of Amount as Total Add step, palette, column menu
Add subtotals and a grand total Group rows with a labelled subtotal row for each group and a grand total, marked so outputs can style them. Group rows by quarter of Ordered with sum of Amount as Total, adding a grand total Add step, palette, column menu

Combine#

Join, look up and append tables.

Step What it does Example, as the recipe shows it Where to find it
Join tables Combine rows of two tables that share key values, choosing which rows to keep and which columns to bring. Keep every row from Orders and add matching Customers, matching Customer ID to ID Add step, palette
Look up values Add columns from another table by matching a key. A lookup never adds or removes rows. Look up Name and Price from Products, matching Product code to Code, taking the first match, marking matches in Found Add step, palette, column menu
Join on similar text Match rows whose text is similar, such as “ACME Ltd” and “ACME Limited”, with borderline pairs for review. Keep every row from Invoices and add similar matches from Suppliers, comparing Company with Name (Jaro-Winkler), matching at 92% or more, reviewing pairs from 85%, reusing saved decisions Add step, palette
Match to a band Find the band a value falls in, such as the commission tier for an amount. Keep every row from Sales and add the band from Commission tiers where Amount is at least From and below To Add step, palette
Match the latest earlier row Add the row in force at a date, such as the price on the order date. Keep every row from Orders and add the latest row of Prices whose Effective from is on or before Order date, matching Product Add step, palette
Append tables Stack the rows of several tables, lining columns up by name. Stack January, February and March by column name Add step, palette
Rows in one table or both Keep the rows found in one table and not the other, or the rows found in both. Keep rows of This month that are not in Last month, comparing Order ID Add step, palette

Compare#

Compare and reconcile two tables, or find near-duplicates.

Step What it does Example, as the recipe shows it Where to find it
Compare two tables See what changed between two tables: rows added, removed and changed, each changed cell with its old and new value. Compare Last month with This month, matching SKU Add step, palette
Reconcile two sources Match two sources that should agree, such as a bank statement and a ledger, into matched, different and unmatched rows. Reconcile Bank with Ledger, matching Reference to Ref, comparing Amount within 0.01, with Date and Posted within 3 days, suggesting groups of up to 3 rows that add up, reusing saved decisions Add step, palette
Group similar rows Find records that are probably the same, such as one person with two spellings, for review. Group similar rows by Name (Jaro-Winkler, weight 2) and Postcode (exact), matching at 92% or more, reviewing pairs from 85%, reusing saved decisions, keeping every row, marking each row’s group in Group Add step, palette

Validate#

Route failing rows and assert the expected columns.

Step What it does Example, as the recipe shows it Where to find it
Route failing rows Send the rows that break rules to the rejects, or hold them back in quarantine, each with the reason. Send rows where Amount is less than 0 to the rejects, with the reason “Negative amount” Add step, palette, column menu
Require columns Stop when expected columns are missing or have another type, optionally converting when nothing is lost. Require Order ID and Amount Add step, palette, column menu

Protect#

Find, mask, hash or drop personal data.

Step What it does Example, as the recipe shows it Where to find it
Tag personal data Mark columns that hold personal data, so previews can mask them and AI requests leave them out. Tag Email as email addresses Add step, palette, column menu › Protect
Mask values Hide all or part of each value, such as all but the last four digits of a card number. Mask Card, keeping the last 4 characters Add step, palette, column menu › Protect
Hash values Replace each value with a keyed hash, so equal values still match but none can be read. Hash Email with SHA-256 using the key “protect/hash-key” Add step, palette, column menu › Protect
Tokenise values Replace each value with a stable token kept in a vault on this computer, never in the project. Replace Customer with numbers from the vault “customers” Add step, palette, column menu › Protect
Turn tokens back into values Put back the values a tokenise step replaced, on the computer that holds the token vault. Turn the tokens in Customer back into values with the vault “customers” Add step, palette
Generalise values Make values less precise: a date to its month, a postcode to its district, an age to a band. Keep only the month of Date of birth Add step, palette, column menu › Protect
Remove personal data Remove columns that hold personal data, labelled as protection in the recipe and lineage. Remove Email and Phone as personal data Add step, palette, column menu › Protect
Make a safe sample Make realistic made-up rows with the same shape, for sharing a pipeline without sharing the data. Make 1,000 made-up rows with the same shape, seed 42 Add step, palette

Custom#

SQL, scripts, blocks, AI and web lookups.

Step What it does Example, as the recipe shows it Where to find it
Write SQL Query the table above, other steps and the project’s sources with SQL; the result continues down the pipeline. Run SQL: “SELECT region, sum(amount) AS total FROM input GROUP BY 1” Add step, palette
Run a script Hand the table to a Python, R or JavaScript function that runs on its own and returns a table. Run a Python script Add step, palette
Use a block Insert a saved, reusable set of steps with its own inputs and parameters. Use the block Monthly clean-up (version 3) Add step, palette
Classify or extract with AI Ask a model to classify, extract, standardise or translate each distinct value; answers are stored and reused. Classify Description with AI into Category (“Food”, “Travel” or “Office”), using claude-x Add step, palette, column menu
Look up values on the web Call a web service once per distinct key and add fields from its answers, with rate limits and stored results. Look up each Postcode at “https://api.postcodes.example/{[Postcode]}”, adding Latitude and Longitude, at most 5 calls a second Add step, palette, column menu
Plugin step A step an installed plugin provides, with the settings the plugin asks for. Run Geocode from the plugin Acme geocoder Add step, palette