Importing Assessment Data Automatically with Triggers
Set up a trigger so score files that arrive in your Secure Files import into an assessment on their own, and choose which files it picks up.
A trigger watches your district’s Secure Files. When a score file arrives that the trigger is set up to catch, Forefront imports it into the assessment with the trigger’s recipe, the same way it would if you had clicked Import Data and picked the file yourself. Once it’s set up, a vendor or your SIS can drop a file into Secure Files every week and the scores appear without anyone opening Forefront.
Before you begin
- Triggers are on the assessment’s Import tab. If you don’t see the tab, email support@forefront.education to have the importer turned on for your district. You also need a role with the District Write permission.
- Import one file by hand first, and save the recipe it builds. A trigger reuses a recipe, and it can’t make one. Importing Assessment Data into Forefront walks through that.
- Files reach Secure Files by SFTP or by uploading them in Forefront. See Connect to the SFTP Server and Adding or Accessing Files Securely in Forefront Resources.

- Create Trigger
- Enabled Turn a trigger off to stop it importing new files. Its settings are kept.
- Run Trigger Imports the matching files already in Secure Files.
Create a trigger
- Open the assessment and go to its Import tab.
- Under Triggers, click Create Trigger.
- In Select Recipe, choose the recipe the trigger should use, then click Select. Default is for files laid out like the assessment’s Download Template file. If the assessment has no recipes yet, this step is skipped and the trigger uses Default.
- The trigger opens. Give it a name in Trigger Name that says which files it catches, such as “Midyear Vendor Scores”.
- Under File Matchers, click Add Matcher and set up which files the trigger should pick up (see below). Add as many as you need.
- Click Save.
A new trigger is on as soon as you create it, before it has any matchers. Until you add one and save, it picks up every file with the right columns. Add your matchers right away, or turn the trigger off on the Import tab while you work on it.

- Recipe How each matching file’s columns turn into scores.
- Add Matcher
- Edit Matcher
Choose which files a trigger picks up
A trigger only imports a file that passes both of these checks.
The file’s columns match the recipe. The column headers have to be the same ones, in the same order, as the file the recipe was built from. A Default trigger needs the headers from Download Template. If a vendor renames, adds or reorders a column, the trigger stops picking up their files, and no import appears in History. Build a new recipe from one of the new files and switch the trigger to it.
The file passes every matcher. Each matcher checks the file’s name or the folder it’s in:
| Matcher type | Picks up a file when | Example |
|---|---|---|
| Folder | it’s in that folder, or in a folder inside it | scores/ picks up scores/midyear.csv and scores/2026/midyear.csv |
| File Name Prefix | its name starts with the text | midyear picks up midyear-week2.csv, but not MOY-midyear.csv |
| Regular Expression | its name matches the pattern | ^makeup-.*\.csv$ picks up makeup-0312.csv |
The prefix and the pattern are checked against the file’s name only, without its
folder. Both are case sensitive, so midyear doesn’t pick up Midyear.csv.
With more than one matcher, a file has to pass all of them. The trigger above
imports files in scores/ and starting with midyear, so scores/fall.csv
is skipped. To catch two unrelated sets of files, make two triggers.
A trigger with no matchers picks up every file whose columns match its recipe.

Forefront reads .csv, .tsv, .xlsx and .zip files. In a spreadsheet with several sheets, each sheet is checked and imported on its own, so one workbook can feed more than one assessment.
Turn a trigger off, or run it now
The switch in a trigger’s Enabled column turns it on and off. A trigger that’s off ignores new files but keeps its name, recipe and matchers.
Run Trigger ( ) goes through every file already in Secure Files and imports each one the trigger would have picked up. Use it after you create a trigger for files that arrived before it existed, or after you fix a recipe. It works on a trigger that’s off, too.
Running a trigger again imports its files again. Scores a file already brought in are updated in place, not added a second time, but each file gets a new row in History.
Check what a trigger imported
Each file a trigger imports gets a row in History on the Import tab, with the number of new scores, how many students were skipped, and any problems found. Click to download the file with a status column added that explains each skipped row.
If a trigger imported the wrong data, delete that import from History or from the Data tab, fix the recipe or the trigger’s matchers, and click Run Trigger again. If an import went wrong covers removing data.
If the recipe has no date column
When you build a recipe from a file without a date column, you set its Date Column to Not Specified, and Forefront asks for the date each time you import by hand. A trigger has no one to ask, so it can’t import with that kind of recipe. Add a date column to the file, or keep importing those files by hand.