Guide The jobs it is for
“I do this by hand every month”
What you are trying to do#
Every month you repeat the same forty steps on a new export: trim, fix types, remove test orders, look up product names, total by month, save as Excel. You want to do it once, and next month press one button.
The short version#
You have already done most of it. Every change you make in the app is a step in a pipeline, and the pipeline is saved as you go. What is left is to make the pipeline find next month’s file by itself, and, if you like, to run it on a schedule.
Steps#
- Do the work once on this month’s file, the way you would by hand: fix issues, exclude values, add formula columns, look up, summarise. Each change is a step card in the recipe. Click the pipeline’s name in the recipe header to rename it (“Monthly sales”).
- Add a parameter for what changes. Open the Parameters tab with ⌥9 / Alt+9 and choose Add parameter. Give it a name (
month), a type, and a default. Defaults can follow the calendar or the files: A period (last month…), Today, or days from today, The newest file in a folder, The values of a column, An environment variable, A formula, A fixed value, or None: ask when run. The tab shows each parameter’s value for previews and where it is Used in. - Use the parameter where the month appears.
- In a formula, write
PARAM("month"); the function reference has examples. - In an output’s file name, click Insert a variable into the name in the output editor, so the file is called
Sales_2026-10.xlsx. - In the source’s path: right-click the source in the Library and choose Use a pattern… (or Change file… in the reading strip). Choose A pattern, type
exports/sales_, click the{month}chip and type.csv. The live line shows the file it finds (“Matches: sales_2026-10.csv”); Save. See Files that change name.
- In a formula, write
- Run it. Press Run in the top bar (⇧⌘↵ / Ctrl+Shift+Enter, or F5). If every parameter has a default, the run starts at once; otherwise the Run dialog asks only for the values without one. Run options (the arrow beside Run) has Run with values… to choose other values, Dry run to do everything except deliver, and Run to here for the steps up to the selected one.
- Save sets of values you use often. In the Parameters tab, fill in the values and choose Save values as a set (“EU run”). The Run dialog’s Saved values fills every field from a set.
- Read the run. When the run ends, the toast has Open run: the Runs view shows the run record, with the inputs it read, the rows each step kept, the checks and the outputs it wrote.
- Make it run by itself (optional): Run options › Schedule…, or “Schedule this pipeline in a workflow” in the command palette. See Run on a schedule and hear when it fails.
What you will see#
- Next month, the pipeline reads the new file, re-applies every step, including corrections you made by hand to single cells (they are tied to the row’s key, not its position), and writes the outputs.
- Steps whose inputs did not change are not computed again: editing step 12 does not recompute steps 1 to 11.
- Each run leaves a record that cannot be edited: what started it, the pipeline version, the parameter values, each input’s path, size, modified time and fingerprint, and every message.
Making it hold up#
- Add checks so a bad month stops before anything is written: Check before anything is delivered.
- Add a test with a small input and the output you expect: New test of this pipeline… in the command palette, then Run options › Test. A change that breaks something that used to work shows as a difference.
- Name versions with ⌘S / Ctrl+S before a big change, so you can compare and go back.
- Reuse steps in other pipelines: select steps, then Save steps as a block…; use it elsewhere with Use a block….
- Start from a template for a common job, such as combining monthly files: New pipeline from a template….
When it goes wrong#
| You see | What it means and what to do |
|---|---|
| “Could not read exports/sales_2026-13.csv. There is no file at that path.” | The parameter resolved to a file that is not there. Check the parameter’s value in the Parameters tab, or choose another in Run with values…. Use a pattern… on the source shows what the pattern matches now |
| “Monthly sales stopped before step 1. The source is missing the column “Amount”.” | The new file’s columns changed and the source’s drift policy is Stop. Open What changed since last time on the source, then map the renamed column, or change the policy. See Sources that change |
| A step card turns red: “Cannot run: the column “Order Month” no longer exists” | An earlier edit renamed or removed a column a later step uses. The card offers the repair, such as Use “Month” instead, and Edit step |
| A correction warns that its row was not found | The row key it was tied to is not in this month’s file, so the correction was not applied rather than applied to the wrong row |
| The Run dialog will not start | It says which value is wrong: “There is no file at exports/sales_2026-13.csv. The newest match is sales_2026-10.csv.” |