דלג לתוכן הראשי

Start from a template

A template is a flow someone already builds often, with its trigger, steps and sensible settings in place. You pick one, change what differs for you, and save. It is a seed, not a lock: nothing about a template stays fixed once it is yours.

  • 2 minutes
  • Any workspace

You need permission to edit flows in the workspace. Templates live in the console under Flows; they are not a separate resource, so there is nothing to apply from the CLI. A flow you create from a template is an ordinary flow like any other, and you can read it as YAML afterwards.

  1. In the console, open Flows.
  2. Choose the Templates tab. The cards show every template your workspace can run.
The Templates tab of the Flows page, filtered to All. A search box labelled Search templates and four filter buttons: All, Starts from email, Runs on a schedule, Starts from a file. Four template cards in a grid: One file from a pile of invoices (marked Runs today), Invoice inbox, Delivery notes from the phone and Split a bundle into files, each with a one-line description and a row of step icons.The Templates tab of the Flows page, filtered to All. A search box labelled Search templates and four filter buttons: All, Starts from email, Runs on a schedule, Starts from a file. Four template cards in a grid: One file from a pile of invoices (marked Runs today), Invoice inbox, Delivery notes from the phone and Split a bundle into files, each with a one-line description and a row of step icons.
The gallery. Each card names the chore it removes, then shows its steps as icons, in order.

A card shows three things: the template's name, a line about the chore it removes, and a row of icons, one per step, starting with the trigger. Hover an icon to read the step's name. A gold Uses AI tag marks a template with an AI step, and +1 (or more) means the row is longer than five steps.

Find the right one​

Templates are grouped by what sets the flow off, because that is how people describe a chore: "when an email comes in", "every month", "when a file appears".

FilterShows templates that
AllEvery template.
Starts from emailBegin when an email arrives.
Runs on a scheduleBegin at a set time.
Starts from a fileBegin when a file lands in a folder.
  1. Choose a filter, or type in Search templates. Search looks at the name, the description and the names of the steps.
  2. If nothing fits, the gallery says No template matches that. Clear the filter, or choose New flow and start from an empty canvas.
The Templates tab with the Starts from email filter selected. Three cards remain: One file from a pile of invoices, Invoice inbox and Split a bundle into files.The Templates tab with the Starts from email filter selected. Three cards remain: One file from a pile of invoices, Invoice inbox and Split a bundle into files.
Filtered by how a flow starts: three of the templates begin with an email.

The shipped templates​

TemplateStartsSteps
One file from a pile of invoicesAn email arrivesKeep only the PDFs, merge them into one PDF, rename the file, keep it in Lumen
Invoice inboxAn email arrivesKeep only the PDFs, read the text, find the details, add a row to a table, save the file to a folder
Delivery notes from the phoneA file lands in a folderRead a scan or photo, rename the file, add a row to a table
Split a bundle into filesAn email arrivesSplit the PDF, rename the file, save the file to a folder

A template is offered only when your workspace's catalog has every step it uses and the steps connect: each one needs data an earlier step produces. A template that does not pass that check does not appear, so the gallery can show fewer cards than this table.

Each card also carries a badge:

  • Runs today means the template runs end to end the moment you turn it on. One file from a pile of invoices is the one that does.
  • We build this one for you means the template shows the shape of a flow Lumen builds with you on request. You can still open it and edit it, but treat it as a starting sketch.
Photos use more credits

Delivery notes from the phone reads photos, and a photo has no text inside, so its read step costs more than a text step on every run. Credits are explained in Credits and budgets.

Use a template​

  1. Click the card, or focus it and press Enter. The editor opens with the template's trigger and steps already connected.
  2. A red dot on a tile means a required setting is still empty. An email trigger, for example, needs the address that starts it. Click the tile and fill it in. Your first flow does this step by step for the invoice template.
  3. Change anything you like: click a step to edit its settings, drag in a new step with the + between two tiles, or remove one. The editor only offers steps that can run at that point.
  4. Click Save and enable when every red dot is gone.
The flow editor opened from the invoice template. The title is One file from a pile of invoices, with a Save and enable button at the top right. The canvas shows the trigger When an email arrives with a red dot and a note that it needs an address, then four connected steps: 1. Keep only the PDFs, 2. Merge them into one PDF, 3. Rename the file, 4. Keep it in Lumen, each with its estimated credits.The flow editor opened from the invoice template. The title is One file from a pile of invoices, with a Save and enable button at the top right. The canvas shows the trigger When an email arrives with a red dot and a note that it needs an address, then four connected steps: 1. Keep only the PDFs, 2. Merge them into one PDF, 3. Rename the file, 4. Keep it in Lumen, each with its estimated credits.
The template on the canvas. The trigger still needs its address; the steps are ready.

Nothing exists until you save. Choosing a card only opens the editor, and leaving without saving creates no flow. After you save, the flow is yours: editing it never changes the template, and there is no link back to it.

Next steps​