Skip to content

CSV Form Fill

T3 allows you to automatically fill out any Metrc form using just a CSV. It is one of the most powerful T3 tools available.

Demo of Metrc CSV Autofill

Need software for editing CSVs? See the FAQ.

Overview

T3 CSV autofill reads out values from a .t3csv template file and writes these values into any Metrc form. The following fields all can be autofilled:

  • Text fields
  • Dropdown fields
  • Slider fields
  • Checkboxes
  • Autocomplete fields (Packages, Locations, Strains, Items, etc)
  • Photos

Demo of different form field types in T3 csv autofill

The free version autofills up to 5 rows per form. T3+ has unlimited form fills.

Understanding the T3 CSV Form Fill tool

T3 CSV Form Fill menu

The T3 CSV Autofill menu at the top of every Metrc form

The T3 CSV Autofill menu has the following options:

  • Download empty template: T3 will analyze the Metrc form and download an empty .t3csv template that you can fill out with any spreadsheet software like Excel or Google Sheets.
  • Export form data: T3 will read any values you have filled out in the form and download a prefilled .t3csv file. This is useful for figuring out how to fill out a .t3csv template to accomplish autofilling values in a particular way.
  • Preload images: This is used only when you need to upload images. Read on to learn how to autofill images and other files.
  • Reset Metrc form: Removes all added rows from the Metrc form, and clears any inputs.
  • Load T3 CSV: Prompts you to select a filled .t3csv file. Once it is loaded, the button is replaced by:
    • Autofill T3 CSV: Fills the loaded file into the form. Do this once each time a Metrc modal form is opened.
    • Batch: Fills one batch of rows at a time (25 by default, set by CSV Form Fill batch size in the T3 Page Widgets section of T3 Settings).
    • Clear T3 CSV: Unloads the file.

Three checkboxes control how the form is filled:

  • T3 adds new rows before filling: Checked, T3 adds a row to the form for each row in your file, which is how you fill out a new form. Unchecked, T3 fills the rows already in the form, which is how you set specific values in a form you have already started.
  • T3 skips unmatched form fields: Keeps filling when a value in your file can't be matched to a field in the form, instead of stopping.
  • T3 allows reusing the same tag across rows: Lets the same tag appear in more than one row.

Supported field types

The following table describes what values T3 is capable of autofilling:

Field type Example Metrc field How to enter in a .t3csv template
Text Package note Enter the text as you normally would, e.g. Example
Number Package quantity Enter the number as you normally would, e.g. 15
Dropdown Item Category Enter the text exactly as it appears in the dropdown, e.g. Flower
Slider Strain Indica % Enter the percentage as a number, e.g. 50
Checkbox Use same pkg item Leave blank for unchecked, otherwise any entered value is checked
Autocomplete Package item Enter the text that appears in the autocomplete input, e.g. for a package autocomplete, the full package tag 1A4400000001000000001234
Photo Packaging Photo Enter the exact filename of the preloaded photo, e.g. blue_dream_01.png

Tips for using T3 CSV Form Fill

  • CSV Form Fill uses a special .t3csv file format.
    • You will fill out data into a .t3csv and upload it to automatically fill out any Metrc form.
  • Every Metrc form can be filled with CSV Form Fill. You are able to completely fill out a Create Transfer form with multiple transporters, packages, layovers, and destinations with a .t3csv.
  • A .t3csv will be mostly empty. T3 will skip empty cells, so you can use a .t3csv template to autofill as much or as little as you want.
  • Each Metrc form has its own .t3csv template. For example, the "Create Packages" Metrc form uses a different template than "Adjust Packages".
  • If you're not sure how to fill out a .t3csv, fill out the Metrc form and export it. When you export a filled out Metrc form, T3 will generate a pre-filled .t3csv template. Using this pre-filled file to autofill a fresh Metrc form will identically re-create what you had previously entered.
  • CSV Form Fill supports filling out nested Metrc inputs. For example, to create an item with multiple ingredients, stack the ingredient names before starting the next item. T3 will automatically create the additional rows.

    An example is shown below:

line in repeaterData ingredient in line.itemIngredients
itemName ingredientName
Item Name Ingredient Name
ItemA ItemA Ingredient1
ItemA Ingredient2
ItemA Ingredient3
ItemB ItemB Ingredient1
ItemB Ingredient2
ItemC ItemC Ingredient1
ItemC Ingredient2
ItemC Ingredient3
ItemC Ingredient4

Understanding the .t3csv file format

A .t3csv file is essentially the same as a regular .csv file. The only difference is that the top two rows are reserved for form data, and the column headers start in row 3.

NOTE: T3 will generate these files for you

Here's an example of a regular .csv file:

Plant ID Strain Name Growth Phase Planted Date
1A4400000000123400001234 Blue Dream Vegetative 2024-06-01
1A4400000000123400001235 OG Kush Flowering 2024-06-02
1A4400000000123400001236 Sour Diesel Flowering 2024-05-30
1A4400000000123400001237 Green Crack Flowering 2024-06-03

Here's that same data in a .t3csv file:

line in repeaterData line in repeaterData line in repeaterData line in repeaterData
plantTag strainName growthPhaseName plantedDate
Plant ID Strain Name Growth Phase Planted Date
1A4400000000123400001234 Blue Dream Vegetative 2024-06-01
1A4400000000123400001235 OG Kush Flowering 2024-06-02
1A4400000000123400001236 Sour Diesel Flowering 2024-05-30
1A4400000000123400001237 Green Crack Flowering 2024-06-03

Note that from row 3 and below, it's exactly the same as the .csv. The top two rows should never be modified.

Inserting Files and Photos

T3 can automatically insert and upload photos, but it requires an additional step. The process is as follows:

  1. Prepare your photo files. Any photos you wish to upload should be placed inside a single folder.
  2. Fill out your .t3csv. In a photo field (for example, ProductPhoto), enter the filename of the photo you wish to autofill. For example, blue_dream_01.png
  3. Preload your photos. In the T3 CSV Autofill menu, select Preload images, and select the folder that contains all the images.
  4. Load your .t3csv with Load T3 CSV, then click Autofill T3 CSV. T3 will match the filenames to the preloaded photos, and automatically upload and select them in the Metrc form.

Free CSV Form Fill for External Incoming Transfers

When a state transitions to Metrc (either from another provider like Biotrack or when a state newly legalizes), Metrc uses external transfers to allow licenses to add existing inventory into Metrc.

CSV Form Fill has no row limit on the New Incoming Transfer form for all users (Transfer Dropdown → External → Incoming Tab → New Transfer). Any T3 user, free or paid, can onboard their entire inventory into Metrc using the T3 CSV Form Fill tool.

Below shows an example .t3csv template filled out, and the resulting form once it's imported.

CSV Form Fill template, completed with values for a New Incoming Transfer

CSV Form Fill template, completed with values for a New Incoming Transfer

New Incoming Transfer form filled with values after Autofill T3 CSV was used

New Incoming Transfer form filled with values after Autofill T3 CSV was used


Next Steps