Skip to main content

Start from a template

A template is a working Unstract Flow workflow for a common job, such as triaging a shared inbox or matching supplier invoices to purchase orders. It arrives with its spec, its connectors and a prepared version. You connect your own systems, change what you need, and run it.

Watch a template run​

Every template has its own page, which walks through its steps. Where a template has a demo, select Watch it run there, then Next or Start as the demo asks. The run pauses at a few points until you select Continue, and at each review until you act as the reviewer. The demo runs in a private world built for that session, holding the mailbox, documents and records that template works with, and your organization's workflows stay untouched.

In the app, See how it works on the card of a template with a demo opens that page. On a template's page, Use this template asks you to sign in if you haven't, then opens the dialog below on your Projects list, with the template picked.

Create a workflow from a template​

  1. Open Projects and select the Templates tab.
  2. Find the template, or search for it by name.
  3. Select Use template. You need a role that can build workflows; a viewer sees the card without it. The Create a new workflow dialog opens with Start from set to A template.
  4. Change the Workflow name and Description if you want to.
  5. Leave Project on New project to put the workflow in a project of its own, named after it, or pick a project you can edit.
  6. Select Create workflow.

The new workflow has the template's spec, its connector instances and a prepared version. The connector instances arrive empty, with no credentials and no settings. Before the editor opens, the dialog lists what the workflow needs under Before the first run, with any files it needs, such as extraction prompts and table SQL, as downloads. Select Open workflow when you have read it. The Tools tab counts the instances that still need setup.

Connect your own systems​

A template's connector instances arrive without your credentials. In the editor, open the Tools tab. Each instance row shows Setup until it's connected, and Ready once a credential is saved on it (for a sign-in credential, once the sign-in has finished), which doesn't mean the connection works; a connector that needs no credential, such as @hitl, arrives Ready. The counter at the top shows how many are ready, for example 2 / 5 ready.

For each row that shows Setup:

  1. Select Configure on the row.
  2. Choose a credential, or add one.
  3. Fill in the settings the connector asks for, such as a mail folder or a bucket name.
  4. Select Test Connection where the dialog offers it, then Save Settings. A connector with a credential and no settings shows Save Configuration instead.

Connect every instance before you run the workflow; Run refuses to start while any row shows Setup. The dialog that creates the workflow lists what the template needs from you, such as your own document-extraction accounts, the tables in your database and the review queues. If the template reads a mailbox, set IMAP Search Filter on its Email (IMAP / SMTP) instance to a start date before the first run, for example SINCE 6-Oct-2026. Otherwise the first run works, and the templates that reply answer, the newest 500 messages already in the folder.

Run it​

Select Run in the editor. Every template writes to your database: run the template's table SQL in your database, then turn on Allow Write Operations in the Database instance's settings. Without it, the run fails at its first write. Most templates call an example API. Before the first run, set Base URL in the REST API instance's credential to your API, change the example API paths in the spec to your own, and select Prepare. Prepare a template that calls no API too: most templates, as shipped, fail a call at the hourly call limit instead of waiting.

To have the workflow run on its own, select Tag next to its name in the editor, then create a deployment for that tag. The deployment keeps the tag's steps. Its runs use the credentials and settings you saved in the Tools tab, such as Base URL and Allow Write Operations, as they are now, and while the deployment is active, the Tools tab says so.