# Start from a template

> Use a shipped template to begin with a working flow instead of an empty canvas, find the right one by how it starts, and change it to fit.

Source: https://docs.go-lumen.ai/he/getting-started/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](https://docs.go-lumen.ai/he/api/flows-as-yaml.md) afterwards.

## Open the gallery

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.](https://docs.go-lumen.ai/he/img/getting-started/start-from-a-template-01-gallery.png)

*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".

| Filter | Shows templates that |
| --- | --- |
| **All** | Every template. |
| **Starts from email** | Begin when an email arrives. |
| **Runs on a schedule** | Begin at a set time. |
| **Starts from a file** | Begin 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.](https://docs.go-lumen.ai/he/img/getting-started/start-from-a-template-02-filtered.png)

*Filtered by how a flow starts: three of the templates begin with an email.*

## The shipped templates

| Template | Starts | Steps |
| --- | --- | --- |
| **One file from a pile of invoices** | An email arrives | Keep only the PDFs, merge them into one PDF, rename the file, keep it in Lumen |
| **Invoice inbox** | An email arrives | Keep 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 phone** | A file lands in a folder | Read a scan or photo, rename the file, add a row to a table |
| **Split a bundle into files** | An email arrives | Split 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](https://docs.go-lumen.ai/he/concepts/credits-and-budgets.md).

## 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](https://docs.go-lumen.ai/he/getting-started/first-flow.md) 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.](https://docs.go-lumen.ai/he/img/getting-started/start-from-a-template-03-opened.png)

*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

[Your first flowBuild and run the invoice template from start to finish.](https://docs.go-lumen.ai/he/getting-started/first-flow.md)[TriggersWhat can start a flow, and the settings of each.](https://docs.go-lumen.ai/he/build/triggers.md)[StepsAdd, configure and test the steps of a flow.](https://docs.go-lumen.ai/he/build/steps.md)[Data and placeholdersWhy a step is offered only where it can run, and how steps pass values on.](https://docs.go-lumen.ai/he/concepts/data-and-placeholders.md)
