- EmDash
- Guides
Templates
A template saves how an import reads its data and where it writes it, so you can run it again, schedule it or share it with another site.
What a template holds
Section titled “What a template holds”A template is the import’s settings, without the data:
- how to read the source: its format, records path, sheet, header row and row filter;
- the collection and locale it writes to;
- the mapping: the import key, the slug, the fields, taxonomies, bylines and translation link, with each mapping’s settings;
- the publish date, when entries are scheduled;
- the record rules, the owner and what happens to missing entries.
It doesn’t hold the file or feed itself, the choice between Publish and Draft, or the batch size. You choose those each time you run it.
You need a template to schedule an import, to have it handle missing entries, and to run it from an AI agent.
Save a template from the wizard
Section titled “Save a template from the wizard”On the wizard’s Options step, tick Save as template and enter a Template name. Names are 1 to 100 characters with no space at either end, and unique on the site: the wizard tells you if one is taken.
The template is saved when you choose Run import on Preview, and the import then runs from it. The Jobs tab lists the run under the template’s name.
If the wizard started from a template and you changed something, Options shows Changes to the template instead:
- Run with these changes without saving them: the template stays as it is. This is the default.
- Save the changes to the template: saved when you choose Next, as a new revision.
- Save as a new template, under a new name.
Every save checks the template against your site: the collection and its fields, the locales, the taxonomies, and other templates with the same owner. The wizard shows the warnings on Preview, under “Saving the template reported:”, including any schedules still on an older revision. A template whose check finds problems, such as a collection that no longer exists, is still saved, but it can’t be scheduled until they’re fixed.
Use a template
Section titled “Use a template”From the Templates tab, choose Use on a template’s row. The wizard opens with that template picked under Start from a template.
The template needs data to read, so choose the file, URL, text or saved source first, then choose Load template. The wizard reads the data with the template’s own source settings, fills in Target, Map and Options from the template and goes straight to Preview with a dry run. If the template’s settings find no records in the data, the wizard says so and doesn’t load it.
You can also start from any template on the Source step, under Start from a template · optional.
The Templates tab
Section titled “The Templates tab”

The Templates tab of the Imports page lists every saved template: its name and description, its Collection and locale, its Revision and its Last change, in UTC. Each row has Use and a menu with Export, Rename and describe and Delete.
Rename and describe
Section titled “Rename and describe”Changes the template’s Name and Description (up to 2,000 characters; leave it empty for none). The import settings stay as they are, but the save is still a new revision.
If schedules run the template, the dialog lists them, with Also update these schedules ticked. Leave it ticked to move them to the new revision; updated schedules that are enabled run as you from then on. Untick it, and they pause at their next run until they are updated. See Revisions.
To change the settings themselves, use the template in the wizard and choose Save the changes to it on Options.
Export
Section titled “Export”Downloads the template as a JSON file named after it, such as fluximporter-template-products-feed.json. Use it to copy a template to another site, or to keep it in version control.
The file holds the name, the description and the settings. It leaves out the template’s ID, revision, dates and the users who saved it.
Import a template
Section titled “Import a template”Import a template, above the list, creates a template from an exported file:
- Template file (.json): a file exported from Flux Importer, up to 2 MiB.
- New name (optional): replaces the name in the file. Use it when that name is already taken on this site.
- Owner (optional): replaces the template’s owner, the label that tells this import’s entries apart from other imports’. Letters, digits and
. _ : -, up to 100.
An import always creates a new template; it never overwrites one. It’s refused when:
- the name is taken: “That name is already taken. Choose another.”;
- the template handles missing entries, and its owner is already used in the same collection and locale, by another template or by existing entries. Its missing-entries step would treat those entries as its own. Enter an Owner: a new one, or the same one to keep it on purpose;
- the file isn’t a template (“This file is not a template that Flux Importer can read.”), or a newer version of the importer made it.
A template made for another site may name a collection or fields this site doesn’t have. It’s imported anyway, and the site check reports what doesn’t fit.
Templates made on WordPress
Section titled “Templates made on WordPress”From version 0.9.0, you can import a template made by the WordPress version of Flux Importer. Its keys are WordPress’s, so the dialog first shows a Re-map this template step that asks only what this site needs:
- the Collection and Locale, when the template has none or its collection isn’t on this site. The locale starts at the site’s default;
- for each listed mapping, the collection field it should write to, or Drop this mapping. A field another mapping already writes to can’t be picked twice;
- for a
blocksmapping (“Block layouts are WordPress-only.”), Text from a column, with a field and a column, or Drop this mapping; - for each taxonomy name EmDash doesn’t accept, one of the collection’s taxonomies, or Drop this taxonomy;
- Fields to update, only when your answers would leave none of the template’s update fields.
Import stays off until every question has an answer. It sends the same file again with your answers. If the name or owner is then taken, the dialog goes back to the file with your answers kept, so you only change the name or owner. Back keeps them too. See Templates from another platform for what is asked and why.
Delete
Section titled “Delete”Delete asks first. Jobs made from the template keep their own copy of it, so their logs and rollbacks still work.
A template that a schedule runs can’t be deleted: “A schedule runs this template. Delete or change the schedule first.” Delete those schedules, or point them at another template, then try again.
Revisions
Section titled “Revisions”Every template has a revision number, shown on the Templates tab. A new template starts at 1, and every save adds one: new settings, a new name or a new description.
Each change is made to the revision you saw. If someone else saved the template in between, your change is refused with TEMPLATE_CHANGED: “Someone else changed this template. Open it again to see their changes.” Nothing is lost on their side. On the Templates tab, choose Reload to see the template as it is now, then make your change again.
The same applies to imports. The wizard runs a loaded template at the revision it loaded, so if the template changes while you’re in the wizard, the run is refused with TEMPLATE_CHANGED. Load the template again.
Schedules also run one revision of a template. When the template moves on, a schedule that wasn’t updated pauses at its next run rather than run settings nobody checked.
The template file
Section titled “The template file”An exported file is JSON. Its outer object describes the file, and its template holds the settings. For example, shortened:
{ "format": "fluximporter.template", "formatVersion": 1, "exportedAt": "2026-11-27T09:30:00.000Z", "generator": { "plugin": "fluximporter", "version": "0.8.0" }, "name": "Products feed", "description": "Daily product catalogue from the shop", "template": { "version": 1, "source": { "format": "csv" }, "collection": "products", "locale": "en", "key": { "from": "sku" }, "fields": { "title": { "from": "name", "type": "text" }, "price": { "from": "price", "type": "number" } }, "rules": { "owner": "products-feed" } }}formatis alwaysfluximporter.template, andformatVersionis1.generatornames the plugin version that exported it.template.versionis the version of the settings format, also1.
See Template format for every key of template.