Overview
This article walks you through creating a document import where the folder containing the documents has an associated index file. This is a common format seen by our partners using vendors that collect and share student credentials such as transcripts, test scores, diplomas, and more.
Initial Set Up
Check Data Connectors
Before building any import task, you will want to make sure that the proper data connectors are set up and that the incoming folders of documents are received. Depending on the vendor, you will either provide them with the Element451-hosted SFTP or add the vendor-hosted SFTP to the list of Data Connectors.
Create Document Types and Folders
Make sure all the documents you are importing from your vendor have a Document Type in Element451. Document Types can be general, like Transcripts, or specific, like Official Final Transcripts, depending on your institution's processes.
During the document import build, you will have the option to import documents into a Document Folder to add a level of organization to your Documents Bin. Creating new folders can be done on the Documents Bin screen.
Creating the Import Tasks
Create a Data Import for the Index File
Create a Data Import for the Index File
Before building a document import, it is critical to start with data import for the index file first. This step will ensure that the students coming from these vendors have a profile in Element451, which will reduce the number of documents going into the General Bin unassigned. Refer to Creating Imports for a refresher on importing a data file. At a minimum, you will want to map any identifier fields, like email and IDs, but if this is the student's first interaction with your institution, you will probably want more information, like names and addresses, if those fields are available on the index file.
For Scheduled Imports
If this is going to be a scheduled task that runs every day, utilize dynamic path names to pick up the index file from the current date's folder. When selecting the SFTP as your data connector and navigating through the folders in the SFTP, you can edit the path field toward the top of the screen. For example, if you were working on an SCOIR import, you can edit your path name to end in scoir-documents-[date:now,format=Y-m-d]-*.zip; once the folder for the current date loads up, select the index.csv file in there and click save. Now, every time the import is scheduled to run, it will look for the current date folder and pull the index.csv in that folder.
Create a Document Import
Create a Document Import
Create another import task, this time a document import. As you are selecting the correct folder in the SFTP, once inside the desired folder, toggle the Use Index File to On, select the index file in the folder, select Import from Selected Index File, and Save.
For Scheduled Imports
In a similar fashion to the Index File import, you will want to utilize the dynamic path names feature to pick up the current date's folder. When selecting the SFTP as your data connector and navigating through the folders in the SFTP, you can edit the path field toward the top of the screen. For example, if you were working on an SCOIR import, you can edit your path name to end in scoir-documents-[date:now,format=Y-m-d]-*.zip; once the folder for the current date loads up, toggle the Use Index File to On, select the index file in the folder, select Import from Selected Index File, and Save. Now, every time the import is scheduled to run, it will look for the current date folder and pull the index.csv in that folder.
Index File Settings
Index File Settings
After saving your SFTP folder path settings, the tabs of your import will update to the Index File set-up tabs. Under Index File Settings, you will instruct Element451 how to use the contents of the index file to match up documents in the folder to the students listed in the index file. The columns in the index file will be displayed on this screen.
Person Matching
Identify what columns can be used from the index file to use as matching when trying to find the record in Element451. Common ones are the vendor ID, Common App ID, and email. On the person matching columns, change the Mode dropdown from Skip to Person Matching. A warning icon will pop up to notify you that there is an additional setup step. Click that icon and select the Element451 field to match on.
Keep in mind what fields you mapped on the initial index file import; if the vendor ID isn't mapped in the initial index file import, it is useless to use as a matching field for the document import.
Document Type
Identify the column in the index file that provides the document type coming in. These document types may not be the exact naming convention you use in Element451, but that will be addressed in the next tab. On the document type column, change the Mode dropdown from Skip to Document Type.
Filename
Identify the column in the index file that provides the filename. On the filename column, change the Mode dropdown from Skip to Filename.
Document Types
Document Types
On the Document Types tab, you will create a list of rules that maps the incoming files to their correct Element451 document type.
Start by clicking Add Matching Rule to Import. On the Index File Document Type* field, this is where you will insert the document type found in the index file from your vendor. Select the Element451 document type you want to map it to using the Element451 Document Type* dropdown.
If you do not want a vendor document type imported into Element451, do not create a matching rule for that document on this tab.
Additional Set-Up Options
Convert to PDF: Force conversion of the document to PDF.
Tags: Add tags you want to be added to the imported document. This can be helpful to indicate it was not uploaded by the student.
Folder: Select the folder where you want the document to be placed. This can be helpful to store all documents from a vendor in a specified folder.
Filters:
Date Filter (Before date, After date, Date is equal to, Since last run, or Relative)
Size Filter (Equal, Greater than, Less than / B, KB, MB, GB)
Token Filter: Based on the person matching token (Equal, Greater than, Less than)
Notifications
Notifications
Like other import and export tasks, the Notifications tab will let you add emails to receive notifications of the task status.
Run Import
Run Import
Once you are ready to execute your task, click Run Import (if running immediately) or Schedule (if running on schedule). Schedules can mean a one-time run in the future or a repeated run. Read more about Scheduling Imports.