- fill the values in when the instance starts, from the start form, the API, or a webhook
- change the values later, by hand or with an Update metadata step
- reuse the values as data references, in step conditions, and in the instance name
- show the values as columns in the workflow’s instance table
Metadata fields are different from public form URL parameters. URL parameters pass extra values to an instance through a public form link. Metadata fields are part of the workflow itself.
Add metadata fields to a workflow
- In your left-hand navigation, click the Workflows icon.
- Hover over the workflow, click the menu icon, and click Edit workflow.
- Click the start step in the left-hand panel.
- Under Workflow start options, click Metadata fields.
- Click + Add metadata field and select the type of field.
- Enter a name and adjust the settings, then click Save.

Dropdown metadata fields can use a dataset as a source of options, but only with fixed filter values. Options that depend on other data in the instance aren’t available. Date rules can’t refer to other fields either.
Mapping key
Each field has a Mapping key, for exampleclientName. The API and webhooks use this key to refer to the field. Next Matter fills it in from the field name, and you can edit it until you publish the workflow. After that, the key can’t change. If you need a different key, add a new field.
Don’t ask at start
Select Don’t ask at start if the person starting the instance shouldn’t fill the field in. The field then isn’t on the start form, and the API and webhooks can’t set it. The instance starts with the field’s default value, or empty if there isn’t one. You can fill the field in later.
Fill in metadata when an instance starts
Start form
When you start an instance manually, the start form shows every metadata field that’s asked at start. Fill them in and click Start instance.
API
When you start an instance through the API, send ametadata object with the values, keyed by each field’s mapping key. Send a value for every field that must be filled in at start. Fields without a value get their default. Keys that don’t exist, and fields that aren’t asked at start, are rejected.
YYYY-MM-DD), numbers as numbers, and a choice as the text of the option. For multiple choices, send a list. For an address, send street, city, and zipCode.
To see which fields a workflow expects, get the workflow through the API and check its start details. For details on the start call, see API reference.
Webhook
When a webhook starts an instance, you tell Next Matter where in the incoming message each value is. For details on setting up the webhook, see Webhook triggers.Other ways to start
Recurring starts, public forms, and file imports can’t send metadata values. Instances started this way get each field’s default value. Because of that, you can’t publish a workflow that has a recurring start or a public form if it has a field that can’t be left empty and has no default. File imports are blocked for the same reason.The first step of a workflow with a public form can’t use metadata fields, in its references or in its conditions.
View and change metadata on an instance
Open an instance. In the left-hand panel, the Metadata card shows how many fields the instance has. Click it to see the values.
If you can see only some of an instance’s steps, you don’t see its metadata.
Reuse metadata in a workflow
Data references
In any step where you can add a data reference, click the braces icon and select a field from the Metadata group. For details, see Data references.Step conditions
You can use a metadata field when you set a condition on a step.Instance name
Add metadata references to the instance name when you let Next Matter name instances automatically. For example, name each instance after the Client name.Show metadata in the instance table
As an admin, you can add metadata fields as columns to the table of a workflow. For details on customizing the table, see Instance overview table.- Click the workflow to open its instance table.
- Click Customize and select Select columns.
- Find the field in the Metadata group and add it to the active columns.
- Click Apply changes.


